Skip to content

Conversation

@nicoe
Copy link
Collaborator

@nicoe nicoe commented May 31, 2024

Fix PCLAS-835

JCavallo and others added 30 commits September 13, 2023 14:48
… scenario

Fix depending on changes from account_statement PJAZZ-856
…tion of lines with a draft move when validating a statement (coopengo#8)

Fix #PJAZZ-856
nicoe and others added 26 commits April 24, 2024 21:09
* Optimize instance creation in __getattr__ [PREVIEW]

Accessing a M2O field from a X2M field could result in as many
instantiations as there are records in the X2M field. It could be a
performance bottleneck due to the many creations of Model kwargs and
potential useless calls of transaction.set_context().

Thus the optimization is twofold:

 - Create an additional code path when the M2O field modifies the
   context
 - Cache the kwargs creation process to prevent extra calls resulting in
   the same dictionary

* Use read to fetch reverse field value of O2M field in get [PREVIEW]

Using a browse there in order to get the id is a performance bottleneck
as it will result in the instanciation of potentially thousands of
models.

---------

Co-authored-by: Jean Cavallo <[email protected]>
…engo#203)

* Use JSONB to store MultiSelection field on PostgreSQL [PREVIEW]

https://bugs.tryton.org/11513
Closes PCLAS-818

* Allow migration

---------

Co-authored-by: Jean Cavallo <[email protected]>
* Optimize instance creation in ModelStorage.__getattr__ [PREVIEW]

https://bugs.tryton.org/13245

* Sort X2M fields according to the order [PREVIEW]

Fix PCLAS-889
https://bugs.tryton.org/13288
@nicoe nicoe requested a review from JCavallo May 31, 2024 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.