summaryrefslogtreecommitdiff
path: root/setup/package.dfsrc
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-10-16 09:19:02 +0000
committerNicolas Martinelli <nim@odoo.com>2020-10-21 08:49:07 +0000
commit018b594506bc15ab462911f8bdf64e4d8dcf20a8 (patch)
tree686ed1e5e5955827ef45f6e1cbe8935d37fdb98f /setup/package.dfsrc
parent27b755a3dfe1e2a580fd436038a60df19e9d83ab (diff)
[FIX] l10n_it_edi: customer outside EU
- Create a partner outside Europe - Set a VAT number - Create an invoice for the partner - Post the invoice The `IdPaese` and `IdCodice` is obtained from the VAT number, but it is not correct for partners outside Europe: the VAT number should always be `OO99999999999`. A workaround is to set the VAT number of the partner to `XXOO99999999999`, where `XX` is the country code. However, in case of multi-company with shared partners, another company might need the proper VAT number. In case of a customer outside EU, we: - get the `IdPaese` from the country of the partner - set the `IdCodice` to `OO99999999999` We also add the `IdPaese` to customers without VAT. opw-2355842 closes odoo/odoo#60410 X-original-commit: 35267c59c32f747351e8741cfe6011749914e809 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'setup/package.dfsrc')
0 files changed, 0 insertions, 0 deletions