[MIG] product_usability: Migration to 12.0
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from . import product
|
from . import product
|
||||||
from . import pricelist
|
from . import pricelist
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# © 2015-2016 Akretion (http://www.akretion.com)
|
# © 2015-2016 Akretion (http://www.akretion.com)
|
||||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
@@ -6,7 +5,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Product Usability',
|
'name': 'Product Usability',
|
||||||
'version': '10.0.1.0.0',
|
'version': '12.0.1.0.0',
|
||||||
'category': 'Product',
|
'category': 'Product',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'summary': 'Small usability enhancements to the product module',
|
'summary': 'Small usability enhancements to the product module',
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
# © 2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
# © 2017 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
|||||||
@@ -78,13 +78,6 @@
|
|||||||
<div class="oe_title" position="attributes">
|
<div class="oe_title" position="attributes">
|
||||||
<attribute name="style">width: 650px;</attribute>
|
<attribute name="style">width: 650px;</attribute>
|
||||||
</div>
|
</div>
|
||||||
<!-- the 'description' field is defined in the native product modules
|
|
||||||
but never displayed in the view -->
|
|
||||||
<group name="description" position="inside">
|
|
||||||
<separator string="Internal notes" name="internal_description" colspan="4"/>
|
|
||||||
<field name="description" colspan="4" nolabel="1"
|
|
||||||
placeholder="Notes for internal use."/>
|
|
||||||
</group>
|
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
@@ -139,34 +132,6 @@
|
|||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
<!-- product.category -->
|
|
||||||
<record id="product_category_list_view" model="ir.ui.view">
|
|
||||||
<field name="name">usability.product.category.tree</field>
|
|
||||||
<field name="model">product.category</field>
|
|
||||||
<field name="inherit_id" ref="product.product_category_list_view"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="display_name" position="after">
|
|
||||||
<field name="type"/>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<record id="product_category_search_view" model="ir.ui.view">
|
|
||||||
<field name="name">usability.product.category.search</field>
|
|
||||||
<field name="model">product.category</field>
|
|
||||||
<field name="inherit_id" ref="product.product_category_search_view"/>
|
|
||||||
<field name="arch" type="xml">
|
|
||||||
<field name="parent_id" position="after">
|
|
||||||
<filter name="view" string="View" domain="[('type', '=', 'view')]"/>
|
|
||||||
<filter name="normal" string="Normal" domain="[('type', '=', 'normal')]"/>
|
|
||||||
<group name="group_by" string="Group By">
|
|
||||||
<filter name="type_groupby" string="Type" context="{'group_by': 'type'}"/>
|
|
||||||
</group>
|
|
||||||
</field>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
<!-- product.pricelist -->
|
<!-- product.pricelist -->
|
||||||
<record id="product_pricelist_view_tree" model="ir.ui.view">
|
<record id="product_pricelist_view_tree" model="ir.ui.view">
|
||||||
<field name="name">usability.product.pricelist.tree</field>
|
<field name="name">usability.product.pricelist.tree</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user