[MIG] product_library: Migration to 16.0
This commit is contained in:
parent
3d189d87a1
commit
3b0d37a0ac
3 changed files with 3 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
||||||
'name': 'Product Library',
|
'name': 'Product Library',
|
||||||
'category': 'Product',
|
'category': 'Product',
|
||||||
'summary': 'Add library related fields to product',
|
'summary': 'Add library related fields to product',
|
||||||
'version': '13.0.0.1',
|
'version': "16.0.1.0.0",
|
||||||
'description': """
|
'description': """
|
||||||
|
|
||||||
Addon mejora de Odoo para librerías y tiendas de discos
|
Addon mejora de Odoo para librerías y tiendas de discos
|
||||||
|
|
|
@ -10,7 +10,6 @@ from odoo import models, fields, api
|
||||||
class ProductProduct(models.Model):
|
class ProductProduct(models.Model):
|
||||||
_inherit = 'product.product'
|
_inherit = 'product.product'
|
||||||
|
|
||||||
@api.multi
|
|
||||||
@api.depends('image')
|
@api.depends('image')
|
||||||
def _compute_has_image(self):
|
def _compute_has_image(self):
|
||||||
for product in self:
|
for product in self:
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<openerp>
|
<odoo>
|
||||||
<data>
|
|
||||||
<record model="ir.ui.view" id="product_library_form_config">
|
<record model="ir.ui.view" id="product_library_form_config">
|
||||||
<field name="name">product.template.library.form</field>
|
<field name="name">product.template.library.form</field>
|
||||||
<field name="model">product.template</field>
|
<field name="model">product.template</field>
|
||||||
|
@ -27,5 +26,4 @@
|
||||||
</field>
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
</data>
|
</odoo>
|
||||||
</openerp>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue