odoo/odoo#204054

Created by fw-bot
Merged at f9a702a240914dd651267c477cd936fb98f41ba4

Statuses:

label
odoo-dev:saas-18.1-17.0-l10n_tr-uom-code-malb-426472-fw
head
f5e9ae71e87e0a062d25f8fb4779f14fdaf3987a
merged
7 months ago by Accounting, Maximilien La Barre (malb)
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