[FIX]: point_of_sale: this is undefined in a non-arrow function
closes odoo/odoo#63331 X-original-commit: 3c374465b27a562c313dc65697741d7536b686ef Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
This commit is contained in:
@@ -3238,7 +3238,7 @@ exports.Order = Backbone.Model.extend({
|
||||
tax_set[tax_id[i]] = true;
|
||||
}
|
||||
|
||||
this.orderlines.each(function(line){
|
||||
this.orderlines.each(line => {
|
||||
var taxes_ids = this.tax_ids || line.get_product().taxes_id;
|
||||
for (var i = 0; i < taxes_ids.length; i++) {
|
||||
if (tax_set[taxes_ids[i]]) {
|
||||
|
||||
Reference in New Issue
Block a user