odoo/odoo#204041

Created by fw-bot
Merged at fc737a147b9aefbd6ae5d111835ce3f4f7b4240a

Statuses:

label
odoo-dev:18.0-17.0-l10n_tr-uom-code-malb-426438-fw
head
0555f1fa272583f4464541379a08205a748d606a
merged
7 months ago by Accounting, Wala Gauthier (gawa)
odoo/odoo
17.0 #193030
saas-17.4 #204024
18.0 #204041
saas-18.1 #204054
saas-18.2 #204910
saas-18.3
saas-18.4
19.0
master #204911

[FW][IMP] l10n_tr_nilvera{_einvoice}: unit codes legal requirement

In the xml we sent, we have to specify the unit code, there is mapping for that on the documentation: https://developer.nilvera.com/en/code-lists#birim-kodlari

This commit will extend what has been done in the base edi module with the UOM_TO_UNECE_CODE dictionary. We added some new unit of measure and each unit of measure will be linked to a code.
The default value is C62.

task-4457115


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

Forward-Port-Of: #193030