eb72686c8f9b9fe8978fd18ef82b378fd8264856
The problem happens when the company is Angelo Saxon, and `l10n_eg_edi_eta` is installed. Also, the product should have a cost and automatic inventory valuation. https://github.com/odoo/odoo/commit/4b430f8e30efb15f06982e4673cd73531a2119b3 The problem is that with this commit, after calling the `_set_next_sequence` function, it calls `flush_recordset`. It would cause a write to be triggered and add an Automatic Balancing Line. While in `_create_account_move` of PoS the stock output line will add later to it, and make it unbalanced. The first Automatic Balancing Line is incorrect as it will call `_create_stock_output_lines` later and it adds a line which makes it balance. But with that Automatic Balancing Line as it's unbalanced at the end it will call `_close_session_action` in PoS and shows a pop-up to add another line to make it balance. The solution is skip synchronize of journal entries. opw-3137723 closes odoo/odoo#112238 X-original-commit: 890b685e94383491579258093f934b7143612b80 Signed-off-by: Trinh Jacky (trj) <trj@odoo.com> Signed-off-by: Pedram Bi Ria (pebr) <pebr@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%