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


Commits:
a404e645 by Cédric Krier at 2023-09-11T22:02:27+02:00
Do not set rec_name for unsaved record

Since 0db956eb2505 _changed_value is used for on_change_with calls, so it can
have to deal with unsaved Many2One value if it is the parent of a One2Many.
(grafted from 206e247e16437dc8b2f1989cc13b7e48a1d0dfc7)
- - - - -
94c967af by Cédric Krier at 2023-06-21T10:59:55+02:00
Store a copy of reference selection

Same as #810 but for reference fields
(grafted from cc8fc33b72a49ecaef2904761bff3e454da96275)
- - - - -
9f9d155c by Adrià Tarroja Caubet at 2023-09-24T19:07:58+02:00
Do not set default value for removed consumed field when copying subscription

The field consumed has been replaced by consumed until since 3ddf6d1eab0d.

Closes #12577
(grafted from 72620b88ebdb06308b437aa7a1c43866c9af04fe)
- - - - -
4fd628d9 by Cédric Krier at 2023-09-24T19:01:07+02:00
Record.get_eval must return only loaded values

Sao must behave the same way as tryton does with the changeset 4d2bd7127a51.

Closes #12415
(grafted from 9a60185d21f0652c35045c89b8a34029ac3b9214)
- - - - -
3972637a by Cédric Krier at 2023-10-07T19:22:06+02:00
Make purchase request description always readonly

The changeset 3a0931d04904 added a readonly states but the description is a
substitut to the product so it should be readonly like the product.

Closes #12555
(grafted from 940abe6442e1dda8ef6c0d8a9bc981fa27bf6151)
- - - - -
f6d982c8 by Cédric Krier at 2023-10-09T18:31:27+02:00
Use sale line unit when invoice line has no unit

Closes #12462
(grafted from 2190acdc50ef3ba11c02847b0ee853d2e9c04179)
- - - - -
6561fd96 by Cédric Krier at 2023-10-09T18:31:37+02:00
Use purchase line unit when invoice line has no unit

Closes #12462
(grafted from 582bbe2add15d9d856b3a9315b8c8434f66b7248)
- - - - -
1bd9d8a9 by Cédric Krier at 2023-10-17T17:09:36+02:00
Return None when date_trunc is called with NULL in SQLite

Closes #12649
(grafted from 20cdeff55e33886505d9d627b06c5943683653da)
- - - - -
66bf1909 by Cédric Krier at 2023-10-12T16:28:54+02:00
Do not include depends of field without read access to view definition

Closes #12640
(grafted from b41c36a66c64974a8c5965cd111526df1574c2b1)
- - - - -
d4a883ac by Cédric Krier at 2023-10-24T10:25:32+02:00
Cancel and recreate shipment after testing over shipping

The first shipment is already picked so it can not be reset to draft to update
the inventory moves.

Closes #12661
(grafted from ed525f3d64e1d1b11afe714a43e9b0b7c3044061)
- - - - -
b9edbd0d by Cédric Krier at 2023-10-23T09:34:26+02:00
Use assert_not_called in Mock instead of calling not_called
(grafted from b097604b69b899117a9d3c00c3fdae8487356e48)
- - - - -
9f114a88 by Cédric Krier at 2023-10-18T18:28:04+02:00
Do not raise StopIteration when calling pairwise with empty iterable

Closes #12652
(grafted from bf2f33fe3adf63deae1162ab64f0a1c2cc43eee0)
- - - - -
4a00a768 by Cédric Krier at 2023-10-21T15:46:53+02:00
Do not fail when reconciling an empty list

Closes #12626
(grafted from 2f04f787260ea6bd52ecf4b3ac414d343c78dc70)
- - - - -
2cb45bd0 by Cédric Krier at 2023-10-21T16:21:40+02:00
Test to_date in context to get dates for general ledger

1b3d9d7a758f added the wrong test to exclude period and dates.

Closes #12629
(grafted from 43f382562aa3365af4e03cc5c1073b400ea0d604)
- - - - -
d9aa0547 by Cédric Krier at 2023-10-30T17:52:28+01:00
Iterate over removed and deleted records when adding record to group

In Javascript for...in iterate over properties but we want to iterate over
values with for...of. Otherwise record added back is not un-removed or
un-deleted.

Closes #12663
(grafted from 9ba209792c8be4b422751e91c20bb39cbf28c61d)
- - - - -
2a29d3b1 by Cédric Krier at 2023-10-29T14:23:10+01:00
Update amount when changing unit or taxes of sale line

Closes #12648
(grafted from 9d8d80125995fe6926598c35c93efc7ed97f6b20)
- - - - -
05446277 by Cédric Krier at 2023-10-29T14:23:34+01:00
Update amount when changing unit or taxes of purchase line

Closes #12648
(grafted from 0b36d595eb2f89bd6b3197a8d504cea4e1042a70)
- - - - -


13 changed files:

- modules/account/account.py
- modules/account/move.py
- modules/purchase/purchase.py
- modules/purchase_request/purchase_request.py
- modules/sale/sale.py
- modules/sale/sale_reporting.py
- 
modules/sale_shipment_tolerance/tests/scenario_sale_over_shipment_tolerance.rst
- modules/sale_subscription/subscription.py
- sao/src/model.js
- trytond/trytond/backend/sqlite/database.py
- trytond/trytond/model/fields/reference.py
- trytond/trytond/model/modelview.py
- trytond/trytond/tests/test_transaction.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/57746ce3c63aad5f150cf3000955591aad27ecce...054462777cff0be841b2f8f51ece62493be8cd4c

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


Reply via email to