diff --git a/addons/l10n_ae_pos/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml b/addons/l10n_ae_pos/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml index c9b25b4b5f2..8b01e246d78 100644 --- a/addons/l10n_ae_pos/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml +++ b/addons/l10n_ae_pos/static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml @@ -3,7 +3,7 @@
- VAT + VAT Total Taxes
diff --git a/addons/l10n_co_pos/static/src/js/pos.js b/addons/l10n_co_pos/static/src/js/pos.js index baff30f355b..018be37fb42 100644 --- a/addons/l10n_co_pos/static/src/js/pos.js +++ b/addons/l10n_co_pos/static/src/js/pos.js @@ -6,7 +6,7 @@ import { patch } from "@web/core/utils/patch"; patch(PosStore.prototype, "l10n_co_pos.PosStore", { is_colombian_country() { - return this.company.country.code === "CO"; + return this.company.country?.code === "CO"; }, }); diff --git a/addons/l10n_fr_pos_cert/static/src/js/pos.js b/addons/l10n_fr_pos_cert/static/src/js/pos.js index 06e0490f11b..16e0854b0c2 100644 --- a/addons/l10n_fr_pos_cert/static/src/js/pos.js +++ b/addons/l10n_fr_pos_cert/static/src/js/pos.js @@ -17,7 +17,7 @@ patch(PosStore.prototype, "l10n_fr_pos_cert.PosStore", { }); return false; } - return french_countries.includes(this.company.country.code); + return french_countries.includes(this.company.country?.code); }, disallowLineQuantityChange() { const result = this._super(...arguments);