Comment 4 for bug 1253052

Revision history for this message
Cedric Le Brouster(OpenFire) (cedric-lebrouster) wrote :

Hello,

Thanks for your answer.
Maybe I got a little too far with use of duplicating in my example, actually the problem results of the modification of the field used for parents sorting.

I join an example.
In the upper part, I have the tree view of account_account with filter on 512* accounts.
Then I decide to change code of 'Liquidités' FROM 512101 to 512103.
When I refresh tree view, I would expect 512103 to be under 512102, but it isn't the case.
If I want 'Liquidités' to get in its right place, I have to give it a fake parent account, and then put the good parent account back for OpenERP to recompute parent_left and parent_right fields.