MIG *_product_tree_default to v14

Add module pos_product_tree_default
Improve orderpoint views
This commit is contained in:
Alexis de Lattre
2021-02-02 18:33:03 +01:00
parent 183bba3752
commit b2ce8f0aca
10 changed files with 84 additions and 9 deletions

View File

View File

@@ -0,0 +1,22 @@
# Copyright 2021 Akretion (http://www.akretion.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'POS Product Tree Default',
'version': '14.0.1.0.0',
'category': 'Product',
'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for Products',
'description': """
Replace default kanban view by tree view for product menu in Point of Sale
main menu
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['point_of_sale'],
'data': [
'views/product_template.xml'
],
'installable': True,
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="point_of_sale.product_template_action_pos_product" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban,activity</field>
</record>
</odoo>