Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm new to openerp and using OpenERP v7
I'm creating a module with a workflow concerning 2 departments. I want to display the approve and reject buttons only to the managers and they should be able to see it only when it reaches for their approval or rejection stage.
How can i do this?
You only have to add a tag to your buttons in the xml view:
<button name="%(stock.action_view_stock_inventory_line_split)d" string="Split inventory lines" groups="stock.group_inventory_valuation" type="action" icon="gtk-justify-fill"/>
for example this only gives access to that group to see that button. Just add the group tag, you can see examples on the code.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/1/13, 8:48 AM|
|Seen: 1525 times|
|Last updated: 3/16/15, 8:10 AM|