Try to make a tree editable gone wrong

I want to make my list, can be editable, so I asked Gwen AI, and suggest me to make my tree editable as below

<tree editable="bottom">
   <field name="timesheet"/>
   <field name="date"/>
   <field name="project"/>
   <field name="so_no"/>
   <field name="task"/>
   <field name="detail"/>
   <field name="time_in"/>
   <field name="time_out"/>
   <field name="total"/>
</tree>

and it also suggest me to execute:

trytond-admin -u module_name --activate-dependencies

Now I got error:

invalid literal for int() with base 10: 'bottom'

And I asked Gwen AI again.. and it suggests me to check the trytond version.. and it is 7.4.9

According to Gwen AI .. its a bug… can you guys confirm this?
How to revert back to before after I activate dependecies? I really need to present this tomorrow morning

Thank you in advance

Regards
Bromo

Dear bromoapp,
the editable attribute is a boolean, so set it as 1.
It used to work as editable top and bottom, but has since been removed.

<tree editable="1">

I beleive this is since version 5.6

3 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.