Files
odoo_source/addons
Antoine Boonen e353da27d4 [FIX] account_edi_*: Fix EDI addresses
* = facturx, ubl, ubl_bis3, ubl_cii

Problem
---------
Currently, the EDI use the commercial partner to craft the XML document.
However, this causes issues when users add, for example, an invoice
address to a partner. Indeed, the address of the main partner will be
used and not the invoice address. This caused issue; see the relevant
OPW-3624205.

Objective
---------
Make sure that the correct address is used when generating the XML.

Solution
---------
Make sure the commercial partner // partner value is used at the correct
spot.
- `partner` should be used for addresses
- `commercial_partner` for everything else.

OPW-3624205
task-3636315

closes odoo/odoo#158219

X-original-commit: 95d3a5ac16c341acc4b680f19e404a9f2334b582
Signed-off-by: Habib Ayob (ayh) <ayh@odoo.com>
Signed-off-by: Antoine Boonen (aboo) <aboo@odoo.com>
2024-03-20 17:11:44 +00:00
..
2024-03-20 13:52:28 +00:00
2024-03-08 11:17:48 +00:00
2024-03-08 11:17:47 +00:00
2024-02-22 09:06:12 +00:00
2024-01-15 09:30:53 +00:00
2024-01-26 09:13:03 +00:00
2024-03-15 17:30:00 +00:00