i'm trying to hide product-->Notes tab in my inherited module, tab is getting hide but the problem is it getting hidden in main product module tab also.
It should not getting hidden in main product module. Am using odoo9
Code used in xml is:
<record id="partner_primary_vehicle_product_view" model="ir.ui.view">
<field name="name">Vehicle Product</field>
<field name="inherit_id" ref="product.product_template_form_view"/>
<field name="arch" type="xml">
<xpath expr="//notebook/page" position="attributes">
Can we make tab should be visible in base product and the tab should hide in inherited product?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/13/16, 1:55 AM|
|Seen: 198 times|
|Last updated: 7/13/16, 6:03 AM|