mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[MIG] product_harmonized_system: Migration to 11.0
This commit is contained in:
@@ -31,7 +31,7 @@ Then you will be able to set the H.S. code on an product (under the *Information
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/227/10.0
|
||||
:target: https://runbot.odoo-community.org/runbot/227/11.0
|
||||
|
||||
|
||||
Bug Tracker
|
||||
@@ -51,6 +51,7 @@ Contributors
|
||||
|
||||
* Alexis de Lattre, Akretion <alexis.delattre@akretion.com>
|
||||
* Luc De Meyer, Noviat <info@noviat.com>
|
||||
* Kumar Aberer, brain-tec AG <kumar.aberer@braintec-group.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
@@ -1,17 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# © 2018 brain-tec AG (http://www.braintec-group.com)
|
||||
# © 2011-2016 Akretion (http://www.akretion.com)
|
||||
# © 2009-2016 Noviat (http://www.noviat.com)
|
||||
# @author Kumar Aberer <kumar.aberer@braintec-group.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).
|
||||
|
||||
{
|
||||
'name': 'Product Harmonized System Codes',
|
||||
'version': '10.0.1.0.0',
|
||||
'version': '11.0.1.0.0',
|
||||
'category': 'Reporting',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Base module for Product Import/Export reports',
|
||||
'author': 'Akretion, Noviat, Odoo Community Association (OCA)',
|
||||
'author': 'brain-tec AG, Akretion, Noviat, '
|
||||
'Odoo Community Association (OCA)',
|
||||
'depends': ['product'],
|
||||
'conflicts': ['report_intrastat'],
|
||||
'data': [
|
||||
|
||||
@@ -60,7 +60,7 @@ class HSCode(models.Model):
|
||||
_sql_constraints = [
|
||||
('local_code_company_uniq', 'unique(local_code, company_id)',
|
||||
'This code already exists for this company !'),
|
||||
]
|
||||
]
|
||||
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
|
||||
Reference in New Issue
Block a user