Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
10561 Переглядів

I can i show product name or list of the products to the customer.

Hide all other information like quantity,cost price etc from the customer.

How can i configure this in sale.order.line?

Аватар
Відмінити

You could just hide the fields in the view you don't want the customer to see. But you should write an extra module to do that.

Автор

Thanks Hartmut. But i'm not confident to create a new module with python code.

Автор

Can you help me solve the issue?

Well, you could just edit the sale.order.form view, search for the sale order lines and hide the fields. (e.g. <field name="price_unit" invisible="1"/>) However it's really not the way you should do it.

Автор

Thanks Hartmut...Let me check this.

Найкраща відповідь

If you want to hide information(quantity,cost price) from list view to the customer. You have to put groups on that fields.

for eg: sale.order <field name="quantity" groups="base.group_sale_manager"/> <field name="cost" groups="base.group_sale_manager"/> <field name="price" groups="base.group_sale_manager"/>

This fields are only display on tree view when manager or admin are login.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
лют. 23
2285
2
груд. 24
21289
0
вер. 24
1101
3
серп. 24
2238
0
лют. 24
1526