Friday, February 21, 2025
1 change · master
Resolved issues and error corrections
This fix allows businesses using Chilean or Peruvian electronic invoicing with Point of Sale to combine multiple POS orders into a single global invoice. It prevents invoicing errors when restaurants or shops consolidate several orders, improving reliability for daily closing and compliance workflows.
Original PR description
*: [cl, pe] Steps to reproduce: -------------------------- - Install pos_restaurant and any of above localization. - Create multiple orders. - Try to create global invoice of those orders. Issue: -------- - For global invoice feature we allowed multiple orders to be consolidated and can be generated a single invoice which was not handled in l10n modules. Cause: --------- - We were using directly self.field_name to access some values which now can't be supported due to multiple orders in self. Fix: ----- - We adapted the code to have consolidated invoices based on the mapped values. Runbot Error Task: ------------------------- https://runbot.odoo.com/odoo/action-573/134660 https://runbot.odoo.com/odoo/action-573/134661 Related PR: https://github.com/odoo/odoo/pull/198256