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.
When selecting a product it is possible for a user to click 'Print'->'Product cost structure'. Is this something which is defined in an xml file? I cannot find anything about it in product.normal.form.
I would like to alter it so that this feature is no longer available.
Thank you for the help!
An easy way to do this from within the UI: either create security settings on the report or the window action.
Go to Settings->Technical->Actions->Window actions. Then search for "Product Cost Structure" and add a group to the security tab.
Go to Settings->Technical->Actions->Reports. Then search for "Cost Structure" and add a group to the security tab.
If you are creating custom module then you can delete the action from Product form Print option.
<delete model="ir.actions.act_window" id="mrp.action_view_mrp_product_price_wizard"/>
Add this code in your xml file and update your custom module.
If you are not creating custom module and want to change in core addons then go to mrp/wizard/mrp_price_view.xml for view and mrp_price.py for object. If you only want to remove action comment
<act_window name="Product Cost Structure" window and then update mrp module.
Have a look at Product Cost Structure.
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 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: 5/11/13, 8:30 PM|
|Seen: 1500 times|
|Last updated: 3/16/15, 8:10 AM|