Odoo Help


Can i make a field editable in a tree view ?

on 7/10/14, 5:55 AM 5,889 views

By clicking on it the same way in the invoice lines ?




| 5 2 8
Ahmadabad, India
On 7/10/14, 6:32 AM


You can do the same by adding editable="bottom". 
<field name="invoice_line">
    <tree string="Invoice lines" editable="bottom">
        <field name="sequence" widget="handle" />
        <field name="name"/>

On 7/10/14, 11:31 AM

Great Nehal, i had been trying to find that answer before. I have tried your suggestion on the "stock.move.tree" for the Delivery Orders product trew view, it works and accomplishes what I wanted somehow, but now I get an error when I try to add a new item to the Delivery Order: 

Error: Could not get field with name 'product_id' for onchange 'onchange_quantity(product_id, product_qty, product_uom, product_uos)'

Any idea why I get that?

Also, with the solution you provided the Stock Move Form is not availible anymore for the move lines (same as with Invoice lines)....do you know if it's possible to have a "hybrid" solution, making the lines in tree view editable and at the same time be able to open the move line form?


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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/10/14, 5:55 AM
Seen: 5889 times
Last updated: 3/16/15, 8:10 AM