Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

How to Show product list & hide product information from the customer?(Sale order)

By
Remya
on 5/15/13, 2:26 AM 1,971 views

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.

TestUser
on 5/15/13, 3:32 AM

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

Remya
on 5/15/13, 3:34 AM

Can you help me solve the issue?

Remya
on 5/15/13, 3:34 AM

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.

TestUser
on 5/15/13, 3:43 AM

Thanks Hartmut...Let me check this.

Remya
on 5/15/13, 4:30 AM
0

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/15/13, 2:26 AM
Seen: 1971 times
Last updated: 3/16/15, 8:10 AM