odoo/odoo#204910

Created by fw-bot
Merged at 26f343ca4f148c8016ceb13574429468c0f0d7e4

Statuses:

label
odoo-dev:saas-18.2-17.0-l10n_tr-uom-code-malb-426498-fw
head
02599d04b90804765898bb662594f2a60e2accf6
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: #204054
Forward-Port-Of: #193030