Commit Graph

11 Commits (5217da79395a94cb35364e8a1cd85f1dddb9b450)

Author SHA1 Message Date
Florian da Costa c536dd77f0 [FIX] Keep computed editable field value when playing onchanges 2022-11-30 04:47:55 +02:00
laurent.corron 1f6904694a [IMP] onchange_helper: black, isort 2022-11-30 04:47:55 +02:00
Benoit 1aaf9158d9 [FIX] don't remove computed fields with inverse method of the onchange values 2022-11-30 04:47:55 +02:00
sbejaoui 59aa3e02bb [UPD] - Update documentation 2022-11-30 04:47:55 +02:00
sbejaoui afbb98f5af [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)
2022-11-30 04:47:55 +02:00
sbejaoui 4d1e920a2b [IMP] - read may be harmful to performance 2022-11-30 04:47:55 +02:00
sebastienbeau e491b7e38b [FWP] - Forward porting changes from #1253 2022-11-30 04:47:55 +02:00
Andrea fe77c12ac3 [11.0][MIG] onchange_helper + add tests 2022-11-30 04:47:55 +02:00
Alexis de Lattre 11b51136ab [FIX] avoid a crash when value is False for a M2O field 2022-11-30 04:47:55 +02:00
Alexis de Lattre e069d02355 [MIG] module onchange_helper to v10.0 2022-11-30 04:47:55 +02:00
Florian da Costa f51be88bcb Add onchange_helper module 2022-11-30 04:47:55 +02:00