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


Commits:
556bcae5 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)
- - - - -
1ed10327 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)
- - - - -
48fbaa27 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)
- - - - -
3a41e6c4 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)
- - - - -


18 changed files:

- modules/account/journal.py
- modules/account/tax.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_warehouse/product.py
- modules/purchase/purchase.py
- modules/purchase_requisition/purchase.py
- modules/sale/product.py
- modules/sale/sale.py
- modules/sale/sale_reporting.py
- modules/sale_subscription/subscription.py
- modules/stock/stock_reporting_margin.py
- modules/web_shop/web.py
- sao/src/common.js
- sao/src/screen.js
- tryton/tryton/gui/window/view_form/screen/screen.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/fbadd301282599062bd76a19ddc8b28522d4c242...3a41e6c42af2f31a477004236574b512a5d0a8c9

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

Reply via email to