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


Commits:
fcfd89b6 by Cédric Krier at 2024-08-23T17:28:43+02:00
Display cache name on unique instance assertion
- - - - -
ae9e858f by Cédric Krier at 2024-08-23T17:29:52+02:00
Add __slots__ to ValueMixin
- - - - -
b9dd1f79 by Cédric Krier at 2024-08-23T17:31:02+02:00
Cache all the records of ValueMixin without a Many2One

Closes #6984
- - - - -
e7c8d7bd by Cédric Krier at 2024-09-22T12:42:42+02:00
Do not update multivalue record if the value is not modified

When a ValueMixin is used for many MultiValue fields, they are created with
default values when the first MultiValue is set.
But often the other MultiValue fields are set with the default value so by not
forcing the change, we avoid a unnecessary UPDATE query.
- - - - -


2 changed files:

- trytond/trytond/cache.py
- trytond/trytond/model/multivalue.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/a2ef99b331f59d6808d2725dbf883ffa23954634...e7c8d7bd58933f88505bd288013bc26008a22ace

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


Reply via email to