ab30b2221072dfdb1ef8e8364ab731a411a62db8
Steps to reproduce: 1- create a company in saudi arabia 2- install l10n_sa and l10n_gcc_invoice 3- enable LN/SN on invoice from settings 4- configure a product with lot number 5- make a SO with that product 6- create an invoice and post it 7- print the invoice 8- Lot number information is missing on the invoice Bug: the implementation in https://github.com/odoo/odoo/blob/15.0/addons/l10n_gcc_invoice/views/report_invoice.xml#L11-L16 is ignoring the inheritance in https://github.com/odoo/odoo/blob/15.0/addons/stock_account/views/report_invoice.xml so any view inheriting "account.report_invoice_document" will not be called. For stable, it can be solved with a bridge module. For Master or for future versions, I think the implementation in https://github.com/odoo/odoo/blob/15.0/addons/l10n_gcc_invoice/views/report_invoice.xml#L18 should be inheriting "account_report_invoice_document" instead of overriding it. this will help eliminate the need for such bridge modules in the future and reduce redundancy Fix: Create a bridge module between `l10n_gcc_invoice` and `stock_account` OPW-2893130 closes odoo/odoo#96933 X-original-commit: 0d781b636f5fd19408e858323e83c223451adad6 Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Mohamed Megahed Abbas Megahed SALLAM (mome) <mome@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%