Cédric Krier pushed to branch branch/7.0 at Tryton / Tryton


Commits:
003b637e by Cédric Krier at 2025-03-07T21:54:11+01:00
Increase delay between transaction retries

Since c8771e45b861 the retry is no more a countdown but an increasing count, so
the sleep time must be adapted to also increase over retries.

Closes #13910
(grafted from ec79b27486baf92769bef216aa4e5316ac708537)
- - - - -
2e5c421c by Cédric Krier at 2025-03-10T23:43:49+01:00
Ensure the contextual company is not None and positive before using it

Closes #13868
(grafted from 0ea68af90f3ef7059c7c9c7a33d13fa216e23bc4)
- - - - -
a13c54ac by Cédric Krier at 2025-03-28T16:04:21+01:00
Check for new record only when saving an actual current record

49cbc9b99ed8 added the calculation of a new variable but before the test that a
current record is actually being saved.

Closes #13946
(grafted from 383b2df462a149197e6e795d595aa3ae1d07f611)
- - - - -
3f801823 by Cédric Krier at 2025-04-02T17:29:47+02:00
Do not set more than the fulfillable quantity in Shopify fulfillment

Closes #13956
(grafted from d22f5b7dd4f21624c0360c6a1a6ca16d04abc6d5)
- - - - -
3b87996a by Cédric Krier at 2025-03-25T13:49:53+01:00
Restore asynchronous save but protected by a single promise

The write RPC must be done asynchronously in order to manage any concurrency
exception.
But the asynchronous RPC can only be done sequentially, so we ensure there can
be only one single pending promise.

Closes #13940
(grafted from 8b075636539246e8372b8f2500bd093a5862fe24)
- - - - -
3d79b29c by Nicolas Évrard at 2025-04-03T16:33:47+02:00
Add selection_change_with to Selection field's edition_depends

Closes #13959
(grafted from a7d89bca1f04329bf43b2ccf644eeacbe077837d)
- - - - -
2365ff28 by Cédric Krier at 2025-03-26T20:07:54+01:00
Change current record for the first selected only if there is no current record

#4028 added the behavior to apply the selected record also on form view the
first time.
But when switching to a calendar view from a form view, the tree states is
stored with the current record. If the calendar view is cleared (always with
sao via the search_filter), then the tree_states_done is cleared and on the
second switch to the form view the current record is override by record stored
in the tree states (from the first form switch).

Closes #13939
(grafted from 5719977cd18ed02fc485a0bc8be4abc6b4aec6b3)
- - - - -
a706a69a by Nicolas Évrard at 2025-04-03T16:46:56+02:00
Ensure that update_selection is called if init_selection has failed

Closes #13960
(grafted from 9e64808503ca4504e9f97f2853841b58f2273757)
- - - - -
e2b6cb1a by Cédric Krier at 2024-09-24T17:23:12+02:00
Allow switching to non-form view even if no record is selected

Closes #13511
(grafted from 532aa26b3fa2e4f67078bcb8a300bb6d7610e67d)
- - - - -


33 changed files:

- modules/account/journal.py
- modules/account/tax.py
- modules/account_consolidation/account.py
- modules/account_credit_limit/account.py
- modules/account_invoice/payment_term.py
- modules/account_payment_sepa/payment.py
- modules/commission/commission.py
- modules/product_cost_history/product.py
- modules/product_cost_warehouse/product.py
- modules/purchase/purchase.py
- modules/purchase_blanket_agreement/purchase.py
- modules/purchase_requisition/purchase.py
- modules/sale/product.py
- modules/sale/sale.py
- modules/sale/sale_reporting.py
- modules/sale_blanket_agreement/sale.py
- modules/sale_opportunity/opportunity.py
- modules/sale_point/sale_reporting.py
- modules/sale_subscription/subscription.py
- modules/stock/product.py
- modules/stock/stock_reporting_margin.py
- modules/web_shop/web.py
- modules/web_shop_shopify/stock.py
- sao/src/common.js
- sao/src/model.js
- sao/src/screen.js
- sao/src/tab.js
- tryton/tryton/gui/window/form.py
- tryton/tryton/gui/window/view_form/screen/screen.py
- trytond/trytond/model/fields/selection.py
- trytond/trytond/protocols/dispatcher.py
- trytond/trytond/protocols/wrappers.py
- trytond/trytond/worker.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/b9495fd676c7a41b7ffc9fd29b215bfb53e275de...e2b6cb1a40f488e59d2719934ab713627be2adf6

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/b9495fd676c7a41b7ffc9fd29b215bfb53e275de...e2b6cb1a40f488e59d2719934ab713627be2adf6
You're receiving this email because of your account on foss.heptapod.net.

Reply via email to