Commit Graph

11 Commits (28f335d706bce6539bb1755d93baf38cc0c00ed8)

Author SHA1 Message Date
Florian da Costa b02a84fad5 [FIX] Keep computed editable field value when playing onchanges 2022-07-19 11:38:22 +02:00
laurent.corron 70da5fc226 [IMP] onchange_helper: black, isort 2021-12-14 12:51:58 +01:00
Benoit cdd16e9f8b [FIX] don't remove computed fields with inverse method of the onchange values 2021-12-14 12:51:58 +01:00
sbejaoui 9a86c4542a [UPD] - Update documentation 2021-12-14 12:51:58 +01:00
sbejaoui 12ae856aeb [IMP] - get default values for non record onchange call
other improvement:

set onchange_specs to all fields as _onchange_spec()
retrun onchange fields for default view
return field value if it's set in onchange_fields (usuful to get default value for a field)
2021-12-14 12:51:58 +01:00
sbejaoui 652dccf46d [IMP] - read may be harmful to performance 2021-12-14 12:51:58 +01:00
sebastienbeau b0ecf7c74f [FWP] - Forward porting changes from #1253 2021-12-14 12:51:58 +01:00
Andrea 9d7bd5219e [11.0][MIG] onchange_helper + add tests 2021-12-14 12:51:58 +01:00
Alexis de Lattre 2b56285b59 [FIX] avoid a crash when value is False for a M2O field 2021-12-14 12:51:58 +01:00
Alexis de Lattre a0e0dd8f45 [MIG] module onchange_helper to v10.0 2021-12-14 12:51:58 +01:00
Florian da Costa a2b21c8bd5 Add onchange_helper module 2021-12-14 12:51:58 +01:00