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.
Can anybody tell me how to restrict the user from confirming the purchase requisition? In my case when a user is creating a purchase requisition than the user after saving it is able to send it to the supplier rather I want the user to just generate the purchase requisition and let the manager do the remaining works like sending the purchase requisition to the supplier and than receiving the goods. Please help me out. Thanks in advance.
Default Purchase Order Module purchase_view file form view header button the below code shows:
<button name="purchase_confirm" states="draft" string="Confirm Order"/> <button name="purchase_confirm" states="sent" string="Confirm Order" class="oe_highlight"/>
Based on your requirement the below code modify in custom module
<button name="purchase_confirm" states="draft" string="Confirm Order" groups="purchase.group_purchase_manager"/> <button name="purchase_confirm" states="sent" string="Confirm Order" class="oe_highlight" groups="purchase.group_purchase_manager"/>
The above code Confirm Order can view only Admin and Manger Group
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: 2/21/14, 4:49 AM|
|Seen: 1269 times|
|Last updated: 3/16/15, 8:10 AM|