Browse Source

Merge pull request #87 from coopiteasy/12.0-remove-duplicate-act-window-override

[IMP] remove duplicate act window overriding
pull/92/head
Houssine BAKKALI 5 years ago
committed by GitHub
parent
commit
3705aa4f50
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      easy_my_coop/views/product_view.xml

15
easy_my_coop/views/product_view.xml

@ -123,21 +123,6 @@
</p>
</field>
</record>
<record id="product.product_template_action" model="ir.actions.act_window">
<field name="name">Products</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.template</field>
<field name="view_mode">tree,form,kanban</field>
<field name="view_type">form</field>
<field name="context">{"search_default_products": 1, 'default_type': 'product'}</field>
<field name="domain">[('is_share','=',False)]</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to define a new product.
</p>
</field>
</record>
<!-- move this action to another module cause the original action has been
moved to purchase module. So we want to avoid make purchase module installed

Loading…
Cancel
Save