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


Commits:
f9886ab808fd by Cédric Krier at 2025-06-10T14:29:07+02:00
Do not use field definitions when exporting data

Calling Model.fields_get is expensive especially for each record to export.

Closes #14061
- - - - -
c4ed29f7957e by Cédric Krier at 2025-06-10T14:31:11+02:00
Replace the usage of field definitions with field attributes in the ModelStorage

Model.fields_get is expensive to call as it create a new dictionary for each 
field.

Closes #14061
- - - - -


1 changed file:

- trytond/trytond/model/modelstorage.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e1d4698d2684d92f71738a1375b5ae301de4e478...c4ed29f7957e4359f015369f66c28b29a63789d3

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

Reply via email to