Browse Source

Merge pull request #72 from coopiteasy/bees-product-list

[IMP] beesdoo_custom: product as list rather than kanban
pull/74/head
Robin Keunen 6 years ago
committed by GitHub
parent
commit
6590cbe87e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beesdoo_custom/__openerp__.py
  2. 13
      beesdoo_custom/views/beesdoo_product.xml

2
beesdoo_custom/__openerp__.py

@ -18,6 +18,8 @@
# any module necessary for this one to work correctly # any module necessary for this one to work correctly
'depends': [ 'depends': [
'beesdoo_product', 'beesdoo_product',
'purchase',
'easy_my_coop', # for product views
], ],
# always loaded # always loaded

13
beesdoo_custom/views/beesdoo_product.xml

@ -24,4 +24,17 @@
</field> </field>
</record> </record>
<record id="purchase.product_normal_action_puchased" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
<record id="product.product_template_action" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
<record id="product.product_template_action_product" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
</odoo> </odoo>
Loading…
Cancel
Save