Skip to Content
Menu
This question has been flagged
1 Reply
4510 Views

Hello everybody,

I'am on Odoo 10, I have a field position on one2many (purchase order line for example) that store the number of the row.

Now i'd like to change manually the position of the row. For example when I change the postion from 1 to 3 the first line will be moved to the third postion.

What sould I do to acheive it.

Thank you

Avatar
Discard
Best Answer

Add the field sequence in the tree view, so you can easily drag and change the positions

<field name="sequence"/>
Avatar
Discard
Author

Thanks for your reply. Yes I have already the field sequence with handle widget, my position field is related on it, so I can drag and change the positions. However I need a new feature to change automatically the positions when I edit the position field.

Thanks