Thursday, June 20, 2024
1 change · saas-17.1
Resolved issues and error corrections
POS receipts now show the company VAT label in the user's selected language instead of always displaying it in English. This makes receipts more consistent and understandable for customers and staff using localized point-of-sale settings.
Original PR description
Currently, when the VAT number of a company is displayed on the POS receipt, its label `vat_label` on `res.country` is always displayed in English, despite the rest of the receipt being in the user's language. We want to display the VAT label also in the user's language. The reason is that the retrieval of the `res.country` records is done with an empty context (removing the current lang). Passing in the current context solves that.