Cédric Krier pushed to branch branch/6.6 at Tryton / Tryton
Commits: 209efba1 by Cédric Krier at 2023-08-02T19:09:51+02:00 Skip promotion based on categories if line has no product Closes #12351 (grafted from ca27ba40eda89e3933e595810eab24fe25504ef7) - - - - - 5a9b7ff2 by Adrià Tarroja Caubet at 2023-07-05T16:32:56+02:00 Reuse cumulate per party from context as default value for general ledger line Closes #12367 (grafted from 5a95256398af9136cab85c1ca4c4d84ae23b70ec) - - - - - 1c7cac29 by Cédric Krier at 2023-07-25T11:02:09+02:00 Call the same search method in super call when extending for components Closes #12434 (grafted from 502f57a1d2929ff336c6acbd5a6c3d4628f4d689) - - - - - 1856410c by Cédric Krier at 2023-07-24T23:51:00+02:00 Generate invoices and consumptions only for contextual company Closes #12345 (grafted from 9ca33a199252180c7875438b2f5c241d8e5b6829) - - - - - 6fb9b758 by Cédric Krier at 2023-07-29T16:21:33+02:00 Round and convert numeric value after applying factor Closes #12381 (grafted from 3d8e4b66e96145b82c1e97942ea807e16be912cd) - - - - - a6a75df0 by Nicolas Évrard at 2023-08-08T15:33:33+02:00 Move sleep loop introduced in a32b84d96649 to prevent deadlock to tests In this changeset we fix an issue with testing. When using the listener for cache invalidation it results into the database lock used by the pool that is acquired twice. Once when calling Pool.init ; once when the transaction is started which calls Cache.sync which in turn calls Pool.refresh and finaly Pool.stop. It tries to acquire again the re-entrant lock (but it cannot because it's another thread). Closes #12457 (grafted from 3b618f310b354126e4dbb0f19ad139c5bf879b9e) - - - - - 8bcdf560 by Cédric Krier at 2023-08-05T00:27:11+02:00 Try to post only clearing move of journals from the contextual company Closes #12453 (grafted from b71b06a871a7fb67a202f1ae242a04185078c614) - - - - - 74224d73 by Cédric Krier at 2023-08-12T20:10:06+02:00 Use only stock move with cost price for product cost price history The cost price on stock move is only required by validation so we can not ensure over time that all the stock moves selected have a cost price. Closes #12468 (grafted from adea1ec5dd32ec8f1a353a6f3105b82707485914) - - - - - 485be5fd by Cédric Krier at 2023-08-26T17:20:12+02:00 Filter expressions for BTREE and GIN indexes IndexMixin is calling the method _get_indexed_expressions instead of _get_expressions. Closes #12478 (grafted from a6d415a0cdb9e155ac8d8f82f776516ce9a688d8) - - - - - e48742d7 by Cédric Krier at 2023-08-16T21:53:32+02:00 Include Similarity in the indexed expression of BTREE The Similarity expression increase the score and are supported in BTREE. Closes #12479 (grafted from adc294d720b8095bf019b20d934afa2f707a3cbf) - - - - - f7b65a16 by Cédric Krier at 2023-08-10T13:55:00+02:00 Convert element joined domains into domain when searching for OR-ed domain The content of joined domains can be a single clause, so it must be converted into a domain before calling search_domain. Closes #12460 (grafted from e80c22f1106e5928a429ed7d18215c3e1f2866c8) - - - - - ffcf9035 by Cédric Krier at 2023-08-04T15:59:35+02:00 Discard disconnected connection from the pool When a connection in the pool is disconnected, it stays in the pool and it may still be served. Using such connection raise an OperationalError and so the request is retried but before that the connection is put back to the pool. So we may get it back again. It is not possible to distinct between an OperationalError due to a disconnection or due to a isolation error for example. So with the current design of Transaction API, an OperationalError always put back the connection to the pool. This main that we can only ensure that the connections served are still connected by executing a simple query. And close connections that are failing. Closes #12452 (grafted from f8aaf62a0c7508e3f3398e47dc2b86e6f8f06cc0) - - - - - ad6d3da9 by Cédric Krier at 2023-08-18T14:47:39+02:00 Store synchronized moves of customer shipment even when quantity is not updated ed41959390ff added a synchronization on assign to prevent infinite warning loop on pack if it creates new move without origin. But 38e2a76db719 refactoring lost this behavior. Closes #12503 (grafted from 903204d5d1728e818ec44bf5aa0a629c2efd1a65) - - - - - f8d97df1 by Maxime Richez at 2023-08-25T16:34:06+02:00 Update origin of inventory moves for customer shipment When synchronize inventory to outgoing moves, the origin of the inventory is updated to point to the new corresponding outgoing move instead of the original one. Closes #12272 (grafted from 72fbac94b52006eaa854786b60aa1faf1a2c8d48) - - - - - 18942aa2 by Cédric Krier at 2023-08-25T18:08:17+02:00 Update origin of outgoing moves for internal shipment When synchronize moves, the origin of outgoing is updated to point the new incoming move instead of the original one. Closes #12272 (grafted from f36f6212c3596d5860722535adc80349496d07be) - - - - - 18 changed files: - modules/account/account.py - modules/account_payment_clearing/payment.py - modules/product_cost_history/product.py - modules/product_kit/purchase.py - modules/product_kit/sale.py - modules/sale_promotion/sale.py - modules/sale_subscription/subscription.py - modules/stock/shipment.py - modules/stock/tests/scenario_stock_shipment_out.rst - modules/stock_lot/tests/scenario_stock_lot_shipment_out.rst - + modules/stock_lot/tests/scenario_stock_lot_shipment_out_internal.rst - tryton/tryton/gui/window/view_form/model/field.py - trytond/trytond/backend/postgresql/database.py - trytond/trytond/backend/postgresql/table.py - trytond/trytond/cache.py - trytond/trytond/model/modelsql.py - trytond/trytond/tests/test_cache.py - trytond/trytond/tests/test_modelsql.py View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/f642911bbfac2d7a98bec714a32b66c924c5c0ff...18942aa26dc3b0d4b5d187135e21f6e14e1ae335 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/f642911bbfac2d7a98bec714a32b66c924c5c0ff...18942aa26dc3b0d4b5d187135e21f6e14e1ae335 You're receiving this email because of your account on foss.heptapod.net.
