Hi,

i am trying to make a editable tree view for quick edition (not use the 
mouse when add lines). I want that when i create a new line the first not 
readonly field has the focus (not be necesary click to edit).
My code:

<tree string="Sale Lines" sequence="sequence" editable="bottom" cursor=
"product">
    <field name="type" readonly="1"/>
    <field name="product"/>
    <field name="description" readonly="1"/>
    <field name="quantity"/>
    <field name="unit"/>
    <field name="unit_price"/>
    <field name="taxes"/>
    <field name="amount" expand="1"/>
    <field name="unit_digits" tree_invisible="1"/>
</tree>

But not works and cursor is not available for tree view. what is the right 
way to do this?

Reply via email to