Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an API to get key in batch [CUSTOM] #223

Open
wants to merge 1,116 commits into
base: master
Choose a base branch
from

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 27 commits April 22, 2024 18:39
…REVIEW] (coopengo#50)

Transfer configuration, profiles and plugins from previous version [PREVIEW]

---------

Co-authored-by: Jean Cavallo <[email protected]>
* 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.