odoo/odoo#191719

Created by fw-bot
Merged at ddf44bb9de92b3eacd89889ae20feb7e7abbc138

Statuses:

label
odoo-dev:saas-17.4-16.0-in_edi_ewaybill-fix-einvoicing-break-hamo-wi09-fw
head
7149d44b0a366dc7f5c16bb9922556d059d6ae73
merged
10 months ago by Accounting, Harsh Modi (hamo)
odoo/odoo
16.0 #191578
17.0 #191687
saas-17.2 #191703
saas-17.4 #191719
18.0 #191726
saas-18.1 #191734
saas-18.2
saas-18.3
saas-18.4
19.0
master #191741

[FW][FIX] l10n_in_edi_ewaybill: fix e-invoicing of credit note

Issue introduced at ce92dedea0fd3cdc73da6366c20b8052bb04f7e9 ,

While doing the fix for ewaybill, now it's causing issue for E-Invoice, because the partner buyer details were changed from Purchase Document to Move type being a Outbound

In this fix we only change Buyer-Seller Details only if it's for e-waybill

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


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

Forward-Port-Of: #191578