[MIG] product_library: Migration to 16.0

This commit is contained in:
santi 2024-08-28 18:14:13 +00:00
parent 3d189d87a1
commit 3b0d37a0ac
3 changed files with 3 additions and 6 deletions

View file

@ -2,7 +2,7 @@
'name': 'Product Library',
'category': 'Product',
'summary': 'Add library related fields to product',
'version': '13.0.0.1',
'version': "16.0.1.0.0",
'description': """
Addon mejora de Odoo para librerías y tiendas de discos

View file

@ -10,7 +10,6 @@ from odoo import models, fields, api
class ProductProduct(models.Model):
_inherit = 'product.product'
@api.multi
@api.depends('image')
def _compute_has_image(self):
for product in self:

View file

@ -1,6 +1,5 @@
<?xml version="1.0"?>
<openerp>
<data>
<odoo>
<record model="ir.ui.view" id="product_library_form_config">
<field name="name">product.template.library.form</field>
<field name="model">product.template</field>
@ -27,5 +26,4 @@
</field>
</field>
</record>
</data>
</openerp>
</odoo>