Skip to Content
मेन्यू
This question has been flagged
2 Replies
5023 Views

Hello i tryed to use widget handler to my custom module. Everything seems ok i can drag things around but then i click save all the order goes back to normal. Any ideas?

Regards Darius

Avatar
Discard
Best Answer

In your XML, you would have enabled the handle widget on a certain field. In your .py file, mention that field in _order , (usually included after _columns) :

_order='your_field_name'

You might also want to specify a default value for it:

_defaults={'your_field_name':2}

Let me know if it doesn't work.
 

Avatar
Discard
Author Best Answer

Thanks! it worked :)

Avatar
Discard
Related Posts Replies Views Activity
0
अग॰ 23
1451
1
जुल॰ 24
2306
1
जुल॰ 23
4699
0
मार्च 24
3442
1
सित॰ 22
6387