Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When you have the Properties on Lines option set you can edit the sales order lines in form view rather than in the tree view.
In Odoo V9 the Product field is only half the length it is in Odoo V8, and there is plenty of white space after field name. Is there a straightforward way to make this a more sensible size?
I think that this is a problem in Odoo V9. I have just recreated it on Runbot.
When the User has Properties on Lines checked the form view is used when editing sales order lines.
If the user creates a new sale order either from the Sales Orders menu, or via a customer record and clicking the $Sales button then the Product field size is a sensible size, as it was in V8.
The problem occurs when the user creates a new sale from the Quotations Menu, or opens an existing quotation from the Quotations menu, on editing the sale order line the form view gives a tiny field for the Product. Once the Quotation becomes a Confirmed Sale and is accessed from the Sales Orders menu the field becomes a sensible size again.
Does anyone know of a reason why this happens? or how to overrule it?
UPDATE - 29/2/2016
See github link above.
The easiest way to handle this is to change
<tree string="Sales Order Lines" editable="bottom" decoration-info="invoice_status=='to invoice'">
<tree string="Sales Order Lines" decoration-info="invoice_status=='to invoice'">
You can either write a custom module that overrides this or just activate developer mode and go to a sales form, choose "view-edit form" from the developer tools menu on the bottom of the window and find the line above, delete "editable ="bottom" and save. If you do it this way you will need to do again every time you update the sale module or the database as a whole.
This will create a pop up window. The layout of this window is on that same form you edited. It is above the tree section in the form section. This is where you edit the xml to create a wider product selection.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/12/16, 4:44 AM|
|Seen: 1089 times|
|Last updated: 3/1/16, 10:21 AM|