How do I go about allowing Margin in Sales order to be displayed only to select group of users? I don't want every single person with access to the sales module to be able to see the margin in a sales.
I am not sure, but you might need to add access to: product.pricelist.type, product.pricelist.item, product.pricelist.version and product.price.type
It is a matter of figuring out which access rights are needed and adding those to a new custom group. I am just going based on analysis between the Sales / User and Sales / Manager access rights. To know what is required for sure, look at the source for the sale_margin module.
The module installer indicates you might need to grant access to these views:
* INHERIT sale.order.line.margin.view.form (form)
* INHERIT sale.order.line.tree.margin.view.form (form)
* INHERIT sale.order.margin.view.form (form)
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
|Asked: 5/26/14, 8:21 PM|
|Seen: 1728 times|
|Last updated: 1/3/16, 11:59 AM|