[MIG] partner tree and product tree modules

This commit is contained in:
Alexis de Lattre
2022-12-13 10:49:22 +01:00
parent 03d045be1c
commit a63c35fcbf
13 changed files with 32 additions and 24 deletions

View File

@@ -4,7 +4,7 @@
{ {
'name': 'MRP Product Tree Default', 'name': 'MRP Product Tree Default',
'version': '12.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Product', 'category': 'Product',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for Products', 'summary': 'Tree view by default instead of kanban for Products',
@@ -18,5 +18,5 @@
'data': [ 'data': [
'views/product_template.xml' 'views/product_template.xml'
], ],
'installable': False, 'installable': True,
} }

View File

@@ -3,7 +3,11 @@
<odoo> <odoo>
<record id="mrp.product_template_action" model="ir.actions.act_window"> <record id="mrp.product_template_action" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field> <field name="view_mode">tree,form,kanban,activity</field>
</record>
<record id="mrp.mrp_product_variant_action" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban,activity</field>
</record> </record>
</odoo> </odoo>

View File

@@ -1,11 +1,11 @@
# Copyright 2016-2020 Akretion (http://www.akretion.com) # Copyright 2016-2022 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).
{ {
'name': 'Partner Tree Default - Account', 'name': 'Partner Tree Default - Account',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Partner', 'category': 'Partner',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for partners', 'summary': 'Tree view by default instead of kanban for partners',
@@ -21,5 +21,5 @@ This module has been written by Alexis de Lattre <alexis.delattre@akretion.com>
'website': 'http://www.akretion.com', 'website': 'http://www.akretion.com',
'depends': ['account'], 'depends': ['account'],
'data': ['views/res_partner.xml'], 'data': ['views/res_partner.xml'],
'installable': False, 'installable': True,
} }

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright 2016-2020 Akretion (http://www.akretion.com/) Copyright 2016-2022 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).
--> -->

View File

@@ -1,11 +1,11 @@
# Copyright 2016-2020 Akretion (http://www.akretion.com) # Copyright 2016-2022 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).
{ {
'name': 'Partner Tree Default - Base', 'name': 'Partner Tree Default - Base',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Partner', 'category': 'Partner',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for partners', 'summary': 'Tree view by default instead of kanban for partners',
@@ -21,5 +21,5 @@ This module has been written by Alexis de Lattre <alexis.delattre@akretion.com>
'website': 'http://www.akretion.com', 'website': 'http://www.akretion.com',
'depends': ['base'], 'depends': ['base'],
'data': ['views/res_partner.xml'], 'data': ['views/res_partner.xml'],
'installable': False, 'installable': True,
} }

View File

@@ -1,11 +1,11 @@
# Copyright 2016-2020 Akretion (http://www.akretion.com) # Copyright 2016-2022 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).
{ {
'name': 'Partner Tree Default - Contacts', 'name': 'Partner Tree Default - Contacts',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Partner', 'category': 'Partner',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for partners', 'summary': 'Tree view by default instead of kanban for partners',
@@ -21,5 +21,5 @@ This module has been written by Alexis de Lattre <alexis.delattre@akretion.com>
'website': 'http://www.akretion.com', 'website': 'http://www.akretion.com',
'depends': ['contacts'], 'depends': ['contacts'],
'data': ['views/res_partner.xml'], 'data': ['views/res_partner.xml'],
'installable': False, 'installable': True,
} }

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright 2016-2020 Akretion (http://www.akretion.com/) Copyright 2016-2022 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).
--> -->

View File

@@ -4,7 +4,7 @@
{ {
'name': 'POS Product Tree Default', 'name': 'POS Product Tree Default',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Product', 'category': 'Product',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for Products', 'summary': 'Tree view by default instead of kanban for Products',
@@ -18,5 +18,5 @@
'data': [ 'data': [
'views/product_template.xml' 'views/product_template.xml'
], ],
'installable': False, 'installable': True,
} }

View File

@@ -6,4 +6,9 @@
<field name="view_mode">tree,form,kanban,activity</field> <field name="view_mode">tree,form,kanban,activity</field>
</record> </record>
<record id="point_of_sale.product_product_action" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban,activity</field>
</record>
</odoo> </odoo>

View File

@@ -1,10 +1,10 @@
# © 2019 Akretion (http://www.akretion.com) # Copyright 2019-2022 Akretion (http://www.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).
{ {
'name': 'Purchase Product Tree Default', 'name': 'Purchase Product Tree Default',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Product', 'category': 'Product',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for Products', 'summary': 'Tree view by default instead of kanban for Products',
@@ -18,5 +18,5 @@
'data': [ 'data': [
'views/product_template.xml' 'views/product_template.xml'
], ],
'installable': False, 'installable': True,
} }

View File

@@ -4,7 +4,7 @@
{ {
'name': 'Sale Product Tree Default', 'name': 'Sale Product Tree Default',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Product', 'category': 'Product',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for Products', 'summary': 'Tree view by default instead of kanban for Products',
@@ -18,5 +18,5 @@
'data': [ 'data': [
'views/product_template.xml' 'views/product_template.xml'
], ],
'installable': False, 'installable': True,
} }

View File

@@ -4,7 +4,7 @@
{ {
'name': 'Stock Product Tree Default', 'name': 'Stock Product Tree Default',
'version': '14.0.1.0.0', 'version': '16.0.1.0.0',
'category': 'Product', 'category': 'Product',
'license': 'AGPL-3', 'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for Products', 'summary': 'Tree view by default instead of kanban for Products',
@@ -18,5 +18,5 @@
'data': [ 'data': [
'views/product_template.xml' 'views/product_template.xml'
], ],
'installable': False, 'installable': True,
} }

View File

@@ -4,7 +4,6 @@
<record id="stock.product_template_action_product" model="ir.actions.act_window"> <record id="stock.product_template_action_product" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban,activity</field> <field name="view_mode">tree,form,kanban,activity</field>
<field name="view_id" eval="False"/>
</record> </record>
</odoo> </odoo>