summaryrefslogtreecommitdiff
path: root/addons/purchase_requisition
diff options
context:
space:
mode:
authorAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-22 11:12:00 +0000
committerAndrea Grazioso (agr-odoo) <agr@odoo.com>2020-04-22 11:12:00 +0000
commit51d36ca373350245f32133b7d4ea0a592c9fdcf2 (patch)
tree72138726b8468e05badda20a0ada3ec76806c65f /addons/purchase_requisition
parenteadcfaeb57cf30ba976bec9f0048881b2f08c2d4 (diff)
[FIX] l10n_it_edi: fix bank info when credit note
Import an italian E-invoice of type TD04 (Nota di Credito). The invoice type is marked as 'in_refund', but the bank information will still be parsed from the contact info instead of taking the currenct company info. This will fail the check 'validate_partner_bank_id' and the user will see the error 'The account selected for payment does not belong to the same company as this invoice.' Skipping the bank info when we have a credit note opw-2239652 closes odoo/odoo#49949 X-original-commit: 6b5400b Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/purchase_requisition')
0 files changed, 0 insertions, 0 deletions