Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
10551 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

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.

Tác giả

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

Tác giả

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.

Tác giả

Thanks Hartmut...Let me check this.

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 2 23
2282
2
thg 12 24
21289
0
thg 9 24
1100
3
thg 8 24
2236
0
thg 2 24
1526