Debian Codegraph @

addons/l10n_hu_edi/models/product.py

raw
1 # Part of Odoo. See LICENSE file for full copyright and licensing details.
2
3 from odoo import fields, models
4
5
6 class ProductTemplate(models.Model):
7 _inherit = 'product.template'
8
9 l10n_hu_product_code_type = fields.Selection(
10 selection=[
11 ('VTSZ', 'VTSZ - Customs Code'),
12 ('SZJ', 'SZJ - Service Registry Code'),
13 ('TESZOR', 'TESZOR - CPA 2.1 Code'),
14 ('KN', 'KN - Combined Nomenclature Code'),
15 ('AHK', 'AHK - e-TKO Excise Duty Code'),
16 ('KT', 'KT - Environmental Product Code'),
17 ('CSK', 'CSK - Packaging Catalogue Code'),
18 ('EJ', 'EJ - Building Registry Number'),
19 ('OTHER', 'Other'),
20 ],
21 string='Product Code Type',
22 help='If your product has a code in a standard nomenclature, you can indicate which nomenclature here.',
23 )
24 l10n_hu_product_code = fields.Char(
25 string='Product Code Value',
26 help='If your product has a code in a standard nomenclature, you can indicate its code here.',
27 )