Cédric Krier pushed to branch branch/6.0 at Tryton / Tryton
Commits: 84bd8ba9 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) - - - - - 56fafe28 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) - - - - - 9deec475 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) - - - - - 7c32fad4 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) - - - - - a3e8fa43 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) - - - - - c178dd80 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) - - - - - 3a070391 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) - - - - - 7d048a83 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) - - - - - 79732f9e 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) - - - - - 969fa5db 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) - - - - - 12 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 - trytond/trytond/backend/postgresql/database.py View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/c8ba625c43215067a47bd857a8ee9128eb3fff82...969fa5db6573f5b3e04d60306dcc93397d1ce9a1 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/c8ba625c43215067a47bd857a8ee9128eb3fff82...969fa5db6573f5b3e04d60306dcc93397d1ce9a1 You're receiving this email because of your account on foss.heptapod.net.
