跳至內容
選單
此問題已被標幟
2 回覆
3894 瀏覽次數

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.

頭像
捨棄
最佳答案

  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/ 

頭像
捨棄
最佳答案

Hi,

Please refer to the following link:

 https://apps.odoo.com/apps/modules/10.0/hide_cost_price

You can find all the latest versions from v10 to v18.


Hope it helps

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
11月 24
1153
1
8月 24
1900
1
8月 24
3519
2
5月 23
2252
2
5月 20
36