odoo/odoo#206208

Created by fw-bot
Merged at 3ef683d41cce1b70c383bddc499c255fd98ed978

Statuses:

label
odoo-dev:master-17.0-add-cius-ro-b2c-endpoint-aboo-429469-fw
head
69928f341aab880f301984f342b91e1d71928b00
merged
2 months ago by Accounting, Antoine Boonen (aboo)
odoo/odoo
17.0 #203743
saas-17.4 #205720
18.0 #205867
saas-18.1 #205974
saas-18.2 #205981
saas-18.3
master #206208

[FW][IMP] l10n_ro_efactura: add B2C endpoint for CIUS-RO

There has been a recent change to the specs where they changed the endpoint to send B2C invoices: uploadb2c. So now,
- if an invoice is made to a commercial partner that is of type company, we keep sending it to the old endpoint (no change);
- if it is made to a non-company customer, then we send to the new endpoint.

task-4645442


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #205867
Forward-Port-Of: #203743