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
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
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.
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
0
aug. 23
|
2803 | |||
|
1
jul. 24
|
4250 | |||
|
1
jul. 23
|
6540 | |||
|
0
mrt. 24
|
5473 | |||
|
2
nov. 22
|
5823 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.