Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3904 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
нояб. 24
1164
1
авг. 24
1907
1
авг. 24
3541
2
мая 23
2265
2
мая 20
36