ImprovedHighlight of Weekly #003

UBL invoices respect sections that hide composition

When a section hides its composition, the XML export now groups it by tax into one line under the section name. Hidden prices are not handled yet.

Versions20.0
AppAccounting

Pull requests and commits

BranchPull requestCommit
20.0odoo/odoo#291358 ↗026d93f767 ↗

Commit message

[IMP] account_edi_ubl_cii: Support section in UBL.

Before this commit, hiding composition or hiding price in sections
wasn't taken into account while exporting the XML.

This commit introduces this behaviour for the XML invoices :
- when we export section that hides the composition, we first
group the sections by tax, the we create an invoice line with the
section's name, with the right tax and amounts calculations.

NOTE : This commit does not introduce price hiding in XML exports.

Part of the task : 6101592

My stack

Pick the versions and apps you run. Weekly digests, this week's table and All changes then show only what concerns you. Saved in this browser.

Versions
Apps
Modules