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.
Hi, Is it possible to hide recipe that we use in the production in OpenERP? I don't want my staff to know the recipe I use to produce my products, but I want to track the inventory levels of the ingredients to use the recipe
eg. Product A requires 100 Kg of flour and 1 unit of recipe 1 Recipe requires 20 Kg of Ingredient A, 10 Kg of Ingredient B
I was thinking.. what if we make the ingredients with not useful name like..
Ingredient A instead of Sugar Ingredient B instead of Salt Ingredient C instead of Pepper
Then create the BoM of Recipe with Ingredient A x 10 Kg, Ingredient B x 5 Kg, Ingredient C x 1 Kg? That way no one really knows what Ingredient A, B, or C is other than me who knows what A B C means.
It's easier than editing Record Rules, etc (which I have no idea how!)
If you are the only one that make use of the manufacturing module then you can simply only allow the administrator (you) have access to the module. But is other people help, then how are they suppose to know how to prepare what they are making. You can also make the line part of the BoM only viewable by the administrator. In both cases, look for the string that is displaying the views in their xml and add base.group_system. and this will simply hide the view from anyone that is not logged in as an administrator with full access
The best way to hide your recipes is to manage mrp by yourself. Anyway, manufacturing manager must know recipes and also machine operators and manufacturing workers must know recipes. Salesman don't need to know recipes if you encode correct bill of materials, routing and procurement rules. When they encode a SO, the procurement rule generate MO who is viewed only by mrp manager or you. Purchasing and requisition users also don't need to know recipes to encode purchasing of raw materials if procurement (MTO, MTS and suppliers) is well configured. For this include in mrp managers and mrp users groups only your user, mrp manager user and mrp users that you want. Exclude from that groups other users (sales man, accountant etc.).
Generally speaking YES, you can use Record Rules for this (probably you're talking about BoMs).
But the specific solution may vary, depending on which users do what, and what impact does not beeing able to quey the BoM will impact on your processes.
A solution might involve some things being run by the scheduler, using the Admin user, or in the worst case modify some Python source code to use uid=1 instead of the current user for some key function calls.
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: 10/10/13, 7:19 AM|
|Seen: 2388 times|
|Last updated: 3/16/15, 8:10 AM|