This question has been flagged
1 Reply
3829 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.

Avatar
Discard
Best Answer

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.

Avatar
Discard
Author

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

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

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

Author

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.

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