コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
10540 ビュー

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.

アバター
破棄
関連投稿 返信 ビュー 活動
2
2月 23
2276
2
12月 24
21279
0
9月 24
1097
3
8月 24
2233
0
2月 24
1524