Merge pull request #140 from akretion/14.0-mig-product_no_translation
[14.0][MIG] product_no_translation: Migrate to 14.0
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Product no Translation',
|
'name': 'Product no Translation',
|
||||||
'version': '12.0.0.0.1',
|
'version': '14.0.1.0.0',
|
||||||
'category': 'Sales Management',
|
'category': 'Sales Management',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'summary': 'For companies that work with only one language',
|
'summary': 'For companies that work with only one language',
|
||||||
@@ -37,5 +37,5 @@ And it reduces the start time of the Point of Sale !
|
|||||||
'author': 'Akretion',
|
'author': 'Akretion',
|
||||||
'website': 'http://www.akretion.com',
|
'website': 'http://www.akretion.com',
|
||||||
'depends': ['product'],
|
'depends': ['product'],
|
||||||
'installable': False,
|
'installable': True,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,13 +31,6 @@ class ProductTemplate(models.Model):
|
|||||||
description = fields.Text(translate=False)
|
description = fields.Text(translate=False)
|
||||||
name = fields.Char(translate=False)
|
name = fields.Char(translate=False)
|
||||||
|
|
||||||
|
|
||||||
class ProductCategory(models.Model):
|
|
||||||
_inherit = "product.category"
|
|
||||||
|
|
||||||
name = fields.Char(translate=False)
|
|
||||||
|
|
||||||
|
|
||||||
class ProductAttribute(models.Model):
|
class ProductAttribute(models.Model):
|
||||||
_inherit = "product.attribute"
|
_inherit = "product.attribute"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user