This question has been flagged
1 Reply
2623 Views

Hello All,

I want to hide a one2many tab "Inventory" for a group "promoters". But i don't want to do it by backend. Can i do it by userinterface?

Thanks Richa Soni soniricha22@hotmail.com

Avatar
Discard
Best Answer

Hi, You can achieve by doing following as an example:

<page string="Inventory" groups="base.group_stock_manager">
    <group>
        <field name="inventory_lines" nolabel="1"/>
    </group>
</page>

where inventory_lines is one2many field. You need to hide page that contains one2many field.

Hope this may help you.

Avatar
Discard