Skip to Content
Menu
This question has been flagged
1 Reply
2337 Views

Hi all,

I need to hide the cost, in the form in product sales, only for the sales staff.

Thanks in advance for your suggestions.

Avatar
Discard
Best Answer

  By customizing the code of the view. Assign a group to that field so only the users in your group can see it.

<field name="standard_price" attrs="{'readonly':[('cost_method','=','average')]}" groups="your_group_id"/>

Or if you prefer buy this app.


https://www.odoo.com/apps/modules/8.0/dusal_product/ 

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
66
1
Aug 24
262
1
Aug 24
1001
2
May 23
879
2
May 20
36