Tryton merge requestshttps://foss.heptapod.net/tryton/tryton/-/merge_requests2023-01-14T03:03:37Zhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/24Remove target_search on Many2One and Use Exists in One2Many domain transforma...2023-01-14T03:03:37ZNicolas ÉvrardRemove target_search on Many2One and Use Exists in One2Many domain transformationCloses #11934Closes #11934Nicolas ÉvrardNicolas Évrardhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/30Add some randomness to avoid concurrent pulling of new tasks2022-12-31T02:33:32ZCédric Kriercedric.krier@b2ck.comAdd some randomness to avoid concurrent pulling of new tasksThis prevents multiple workers to pull the same new task at the same time which
can create concurrency conflict.
Closes #11938This prevents multiple workers to pull the same new task at the same time which
can create concurrency conflict.
Closes #11938Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/53Add cache for tox and npm tests2022-12-26T22:53:32ZCédric Kriercedric.krier@b2ck.comAdd cache for tox and npm testsCédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/71Remove double definition of __rpc__ for ir.session2022-12-29T13:46:20ZCédric Kriercedric.krier@b2ck.comRemove double definition of __rpc__ for ir.sessionThe second __rpc__ was introduced in 275f29e2379d.The second __rpc__ was introduced in 275f29e2379d.Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/84Add index on id and lift2023-01-04T18:26:14ZCédric Kriercedric.krier@b2ck.comAdd index on id and liftIt can be used by the database to optimize the search of rules.
Closes #11843It can be used by the database to optimize the search of rules.
Closes #11843Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/85Do not join with target table of Many2One for only id clause2023-01-04T23:16:41ZCédric Kriercedric.krier@b2ck.comDo not join with target table of Many2One for only id clauseAlso since 1b31be06c525 there is no need to add an active clause as the active
test is disabled by the decorator.
Closes #11841Also since 1b31be06c525 there is no need to add an active clause as the active
test is disabled by the decorator.
Closes #11841Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/86Reuse logger instance and do not format message before logging2023-01-14T16:38:11ZCédric Kriercedric.krier@b2ck.comReuse logger instance and do not format message before loggingCloses #11826Closes #11826Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/88Cache digits and symbol on the field instance of the client2023-01-03T07:53:20ZCédric Kriercedric.krier@b2ck.comCache digits and symbol on the field instance of the clientCloses #11825Closes #11825Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/121Add global and local set of ignored context keys2023-02-10T15:25:22ZNicolas ÉvrardAdd global and local set of ignored context keysCloses #11234Closes #11234Nicolas ÉvrardNicolas Évrardhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/137Replace model access by __access__ for ir models2023-01-14T20:41:54ZCédric Kriercedric.krier@b2ck.comReplace model access by __access__ for ir modelsCédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/156Get directly the string value of Selection fields in non editable views2023-01-31T02:14:18ZNicolas ÉvrardGet directly the string value of Selection fields in non editable viewsCloses #10331Closes #10331Nicolas ÉvrardNicolas Évrardhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/174Do not check documentation nor run test on tag2023-01-21T16:42:12ZCédric Kriercedric.krier@b2ck.comDo not check documentation nor run test on tagThe tag pipeline has CI_COMMIT_SHA filled but changes rules are always true.
Thus the documentation checks and tests are run for all modules.
So the changes rules should be evaluated if CI_COMMIT_TAG is empty.The tag pipeline has CI_COMMIT_SHA filled but changes rules are always true.
Thus the documentation checks and tests are run for all modules.
So the changes rules should be evaluated if CI_COMMIT_TAG is empty.Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/188Remove migrations previous to 5.02023-05-04T22:15:52ZAdrià Tarroja CaubetRemove migrations previous to 5.0Closes #11324Closes #11324Nicolas ÉvrardNicolas Évrardhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/212Reconcile the zero lines after saving moves2023-02-14T12:36:19ZNicolas ÉvrardReconcile the zero lines after saving movesThis changes makes the call to `reconcile` more performant by calling it only once with a list of lines to reconcile.
It also changes the order in which the save and the reconciliation occured because it's no more necessary to call save ...This changes makes the call to `reconcile` more performant by calling it only once with a list of lines to reconcile.
It also changes the order in which the save and the reconciliation occured because it's no more necessary to call save at the end and it makes more sense to save the moves before reconciling the lines inside them.Nicolas ÉvrardNicolas Évrardhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/213Do not register tests module when pool is not started for testing2023-01-28T16:58:18ZCédric Kriercedric.krier@b2ck.comDo not register tests module when pool is not started for testingCloses #6846Closes #6846Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/256Add cache for check-trytond-rng2023-02-08T08:26:57ZCédric Kriercedric.krier@b2ck.comAdd cache for check-trytond-rngAs the job install rnc2rng, it is better to use cache.As the job install rnc2rng, it is better to use cache.Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/276Keep using _database_cache if the specific cache hasn't been reset2023-02-19T00:30:57ZNicolas ÉvrardKeep using _database_cache if the specific cache hasn't been resetCloses #12079Closes #12079Nicolas ÉvrardNicolas Évrardhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/278Improve searching period and fiscal year2023-03-09T09:48:32ZCédric Kriercedric.krier@b2ck.comImprove searching period and fiscal yearCloses #7705, #9335Closes #7705, #9335Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/318Remove unused set_value method from board action2023-03-08T11:20:33ZCédric Kriercedric.krier@b2ck.comRemove unused set_value method from board actionCloses #5046Closes #5046Cédric Kriercedric.krier@b2ck.comCédric Kriercedric.krier@b2ck.comhttps://foss.heptapod.net/tryton/tryton/-/merge_requests/330Insert multiple rows at once2023-04-01T15:33:46ZNicolas ÉvrardInsert multiple rows at onceThe implementation I propose is grouping the different dictionaries sent to `create` by their "schema" in order to use them in only one query (I intend to make the implementation better by taking into account the maximum length of a SQL ...The implementation I propose is grouping the different dictionaries sent to `create` by their "schema" in order to use them in only one query (I intend to make the implementation better by taking into account the maximum length of a SQL command later on).
In order to preserve the order of creations, grouping is done "localy" ie if the `vlist` is something like `[{'a': …}, {'b': …}, {'a': …}]` three inserts will be generated anyway.Nicolas ÉvrardNicolas Évrard