2659e98a3650e106ceaf7ccfcc0c6170f937ec01
Prior to this commit, attempting to print a receipt for a paid order in the PoS restaurant resulted in an error. This issue was due to the 'getReceiptHeaderData' method in the PoS restaurant using 'this.get_order()' to retrieve the order, which is not applicable for paid orders. Additionally, this problem exists in other modules that override 'getReceiptHeaderData'. To resolve this, the order is now passed as an argument to the 'getReceiptHeaderData' function. opw-3616997 closes odoo/odoo#145252 Related: odoo/enterprise#52249 Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%