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.

0

How to hide a column (description) in the sales order in v7?

By
Sean Samborski
on 6/10/14, 1:59 AM 638 views

The description field in our products are large and when a product is added to the sales order, the description is not trimmed very much and the table grows too large with only a single product. This field is not really necessary on the sales order and it's even mandatory when filling out the form. Since it's mandatory, is there a way to at least hide this field from the view? I can't find it anywhere when looking at the views.

1

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/10/14, 2:22 AM

Sean,

You may set the column to be invisible=1, the value will take the effect upon onchange, so even its not displayed, the web will send the value of the field to server and hence mandatory field will get its value!

Thanks.

Oh, excellent. Do you know the view this field is in? The sales order table where you add products description?

Elephante, Sean Samborski
on 6/10/14, 8:38 PM
On Wednesday 11 June 2014 06:08 AM, Sean Samborski wrote:
<blockquote cite="mid:1402447128.659868955612183.727926255700057-openerp-53892-forum.post@openerp.v7.openerp.com" type="cite">

Oh, excellent. Do you know the view this field is in? The sales order table where you add products description?

--
Sean Samborski Sent by OpenERP Inc. using OpenERP. Access your messages and documents in Odoo Sean,

Sorry, did not get you!

Is this email sent by mistake?

Thanks.

--

Thanks,
Regards,
<img src="cid:part4.08070809.06030106@gmail.com">
Serpent Consulting Services.
Web : http://www.serpentcs.com
Twitter: jaynvora, husendaudi
Skype: jaynvora, husen.daudi
Blog : http://www.serpentcs.com/blog
Serpent Consulting Services Pvt. Ltd.
on 6/11/14, 9:43 AM

Sean, Yes, this is sale.order.form! sale/sale_view.xml line 219. Thanks.

Serpent Consulting Services Pvt. Ltd.
on 6/11/14, 11:01 AM

Thank you very much for your help. To add more detail, I have edited the view sale.order.form. For anyone who is here wondering how to do the same, if you edit the section under Order Lines, you are editing the popup box where you add the products. If you edit the section under Sales Order Lines, you are editing the table on the form. Required fields you should leave alone in the Order Lines section so the user can add them if needed but you can edit the Sales Order Lines section. Thanks again for your help.

Elephante, Sean Samborski
on 6/12/14, 12:34 AM

Thanks for the feedback and detailed explanation, this will help many!

Serpent Consulting Services Pvt. Ltd.
on 6/12/14, 10:30 AM

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

1 follower(s)

Stats

Asked: 6/10/14, 1:59 AM
Seen: 638 times
Last updated: 3/16/15, 8:10 AM