Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

hide one2many tab for a user group

By
richa soni
on 4/16/14, 6:57 AM 662 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

0

Nehal

--Nehal--
2090
| 5 2 8
Ahmadabad, India
--Nehal--
Nehal
On 4/16/14, 8:16 AM

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.

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 4/16/14, 6:57 AM
Seen: 662 times
Last updated: 3/16/15, 8:10 AM