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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Реєстрація| Related Posts | Відповіді | Переглядів | Дія | |
|---|---|---|---|---|
|
0
серп. 23
|
1950 | |||
|
1
лип. 24
|
2974 | |||
|
1
лип. 23
|
5342 | |||
|
0
бер. 24
|
4198 | |||
|
1
вер. 22
|
7092 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.