Regret a product.template, borra los datos de los productos sin script de migración.

This commit is contained in:
snt 2021-08-14 21:00:45 +02:00
parent b48b7df70a
commit f93bc37942
2 changed files with 4 additions and 4 deletions

View file

@ -8,8 +8,8 @@ from odoo import tools, models, fields, api, _
_logger = logging.getLogger(__name__)
class ProductProduct(models.Model):
_inherit = "product.product"
class ProductTemplate(models.Model):
_inherit = "product.template"
subtitle = fields.Char('Subtítulo')
editorial = fields.Char('Editorial')