title:_t('Cannot return change without a cash payment method'),
body:_t('There is no cash payment method available in this point of sale to handle the change.\n\n Please pay the exact amount or add a cash payment method in the point of sale configuration'),
});
returnfalse;
}
}
// if the change is too large, it's probably an input error, make the user confirm.
* configures your Account journals, mentioning the type of Meal Voucher:
* configures your Account journals, mentioning the type of Meal Voucher:
- Paper : the journal will be used when scanning meal voucher barcodes
- Paper : the journal will be used when scanning meal voucher barcodes
- Dematerialized: the journal will be used for dematerialized meal vouchers
- Dematerialized: the journal will be used for dematerialized meal vouchers
- Mixed: Specific configuration if your accountant want to use a single journal for Credit card AND dematerialized meal vouchers. In that case, the button of this journal will be duplicated, and an extra text can be set to display an alternative label.
- Mixed: Specific configuration if your accountant want to use a single journal for Credit card AND dematerialized meal vouchers. In that case, the button of this journal will be duplicated, and an extra text can be set to display an alternative label.
'body':_t("Le paramètre des émetteurs de CB déj est mal formatté dans la configuration d'Odoo. Veuillez demander à un.e salarié.e de régler ce problème (Configuration > Paramètres systèmes > pos_meal_voucher.meal_voucher_issuers). Vous pouvez continuer à utiliser la caisse.")
});
}
});
},
},
payment_input:function(input){
payment_input:function(input){
...
@@ -262,7 +275,6 @@ odoo.define("pos_meal_voucher.screens", function (require) {
...
@@ -262,7 +275,6 @@ odoo.define("pos_meal_voucher.screens", function (require) {
this.reset_input();
this.reset_input();
this.render_paymentlines();
this.render_paymentlines();
},
},
render_paymentmethods:function(){
render_paymentmethods:function(){
varself=this;
varself=this;
varmethods=this._super.apply(this,arguments);
varmethods=this._super.apply(this,arguments);
...
@@ -271,6 +283,12 @@ odoo.define("pos_meal_voucher.screens", function (require) {
...
@@ -271,6 +283,12 @@ odoo.define("pos_meal_voucher.screens", function (require) {