Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
3785 Tampilan

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
Buang
Jawaban Terbai

  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
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Nov 24
1085
1
Agu 24
1823
1
Agu 24
3313
2
Mei 23
2171
2
Mei 20
36