Merge pull request #92 from akretion/12-purchase-product-tree-default
[12.0]Add purchase_product_tree_default module
This commit is contained in:
0
purchase_product_tree_default/__init__.py
Normal file
0
purchase_product_tree_default/__init__.py
Normal file
22
purchase_product_tree_default/__manifest__.py
Normal file
22
purchase_product_tree_default/__manifest__.py
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# © 2019 Akretion (http://www.akretion.com)
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'Purchase Product Tree Default',
|
||||||
|
'version': '12.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 Purchase
|
||||||
|
main menu
|
||||||
|
""",
|
||||||
|
'author': 'Akretion',
|
||||||
|
'website': 'http://www.akretion.com',
|
||||||
|
'depends': ['purchase'],
|
||||||
|
'data': [
|
||||||
|
'views/product_template.xml'
|
||||||
|
],
|
||||||
|
'installable': True,
|
||||||
|
}
|
||||||
9
purchase_product_tree_default/views/product_template.xml
Normal file
9
purchase_product_tree_default/views/product_template.xml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<record id="purchase.product_normal_action_puchased" model="ir.actions.act_window">
|
||||||
|
<field name="view_mode">tree,form,kanban,activity</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user