mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
27 lines
944 B
Python
27 lines
944 B
Python
# Copyright 2011-2022 Akretion (http://www.akretion.com)
|
|
# Copyright 2009-2022 Noviat (http://www.noviat.com)
|
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
|
# @author Luc de Meyer <info@noviat.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ProductTemplate(models.Model):
|
|
_inherit = "product.template"
|
|
|
|
hs_code_id = fields.Many2one(
|
|
"hs.code",
|
|
string="H.S. Code",
|
|
ondelete="restrict",
|
|
help="Harmonised System Code. Nomenclature is "
|
|
"available from the World Customs Organisation, see "
|
|
"http://www.wcoomd.org/. You can leave this field empty "
|
|
"and configure the H.S. code on the product category.",
|
|
)
|
|
origin_country_id = fields.Many2one(
|
|
comodel_name="res.country",
|
|
string="Country of Origin",
|
|
help="Country of origin of the product i.e. product " "'made in ____'.",
|
|
)
|