Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
82b0280d by Cédric Krier at 2024-06-30T01:49:42+02:00
Do not allow to mutate dict value

A copy of the value is always returned so if it is modified it does not modify
the internal value of the record.
So to update Dict value, a new dictionary must be set on the field.

Closes #13374
- - - - -
d938889e by Cédric Krier at 2024-06-30T01:53:24+02:00
Do not iterate over MultiSelection value of Dict key if it is null

Closes #13375
- - - - -
15a76a9d by Cédric Krier at 2024-06-30T01:55:55+02:00
Do not store empty list for MultiSelection key of Dict

Closes #13376
- - - - -
acd802dd by Cédric Krier at 2024-06-30T01:57:44+02:00
Return null for empty MultiSelection key of Dict widget

This is more consistent with the other widgets.
- - - - -


5 changed files:

- sao/src/model.js
- sao/src/view/form.js
- tryton/tryton/gui/window/view_form/model/field.py
- tryton/tryton/gui/window/view_form/view/form_gtk/dictionary.py
- trytond/trytond/model/fields/dict.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/334362437241f177eb216305de3697a3d9e15fd5...acd802ddc8fcee6890cd44a97f4da4926ccd62bc

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/334362437241f177eb216305de3697a3d9e15fd5...acd802ddc8fcee6890cd44a97f4da4926ccd62bc
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to