odoo/odoo#88991
Created by Daniel Kosky (dako)
Merged
at b2b27a07837e3496c8a06d3da3178c86fe538a89
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team for help in case of failure.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:13.0-l10n-it-edi-dati-pagamento-bank-required-dako
- head
- 2bb7195672b199b50ee2e006845f9655bd78c8a1
- merged
- 3 years ago by Accounting, Josse Colpaert (jco)
odoo/odoo | |
---|---|
13.0 | #88991 |
[FIX] l10n_it_edi: bank required for DatiPagamento
Due to changes in the previous commit ceeae85 the DatiPagamento section
is no longer mandatory. However if it is present two fields are
mandatory. 'ImportoPagamento' specifies the amounts, and
'ModalitaPagamento' specifies the type of transaction.
Currently there is a t-if on the ModalitaPagamento field, which is
required by the edi (if the DatiPagamento exists). Since we aren't
adapting the logic much, the type will be fixed at MP05 (bank
transaction), and we will require the invoice to have a partner_bank_id
in order for the DatiPagamento to appear in the xml.