Sven Fuehr b7fd44bee1 [FIX] account: respect modified invoice tax amount in EDI XML
There is the following problem when editing the tax amounts on an
invoice (in quick-edit mode or via the journal item):
The changed amounts are displayed correctly on the PDF but not in the
EDI XMLs (e.g. the embedded factur-x).

This commit corrects this.

Reproduce
  1. Create a new invoice
  2. In tab "Invoice Lines" add 2 lines with taxes from different tax group
  3. Go to tab "Journal Items" and change the tax amounts
     (or use quick-edit mode; needs to be enabled in the settings)
  4. Go back to tab "Invoice Lines" and notice the tax amounts of the groups
     were changed.
  5. Generate a PDF: Here the tax amounts are correct (the changed amounts)
  6. Look at the embedded XML: Here the tax amounts are
     wrong (initial / unchanged amounts).
The same issue applies to multiple other EDI exports.
To activate the EDIs go to:
Accounting > Configuration > Journals > Customer Invoices
> Advanced Settings tab > Electronic Data Interchange
The EDIs can then be found as attachment in the chatter after confirming
and/or printing an invoice.

task-3535411

closes odoo/odoo#151090

X-original-commit: 5d456ce13970980efa8b1efab92323e995eaa848
Signed-off-by: Laurent Smet (las) <las@odoo.com>
Signed-off-by: Sven Führ (svfu) <svfu@odoo.com>
2024-01-25 16:59:02 +00:00
2023-11-02 21:02:44 +00:00
2024-01-25 07:19:07 +00:00
2024-01-25 15:25:00 +00:00
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%