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


Commits:
8f7034a8 by Nicolas Évrard at 2024-12-16T10:29:26+01:00
Do not set the Group's context when setting a default group on xxx2Many

The context of the field is dynamic so evaluating it only once when creating
the group make it static.
Also the group is already evaluating the parent field context on the fly when
its context is retrieved.

Closes #13726
(grafted from b21813a75b5beeb625b1e9533cbc498b7872555f)
- - - - -
85bad760 by Cédric Krier at 2024-11-30T12:56:41+01:00
Do not use init values for new record without id to compute the changed values

When using new instance to fill a xxx2Many field, all the values must be
considered as changed and we should not expect any initial value.

Closes #13716
(grafted from cc277611c25463b6506312f3987e3427291506fe)
- - - - -
eb791118 by Cédric Krier at 2024-12-21T14:14:52+01:00
Always send id for the on_change calls

Since cc277611c254 we rely on the id to decide if the instance is a new
instance from the server-side or from the client-side.

Closes #13769
(grafted from a4610b9e3013957e5496993a68b2f41861b4ff29)
- - - - -
956376a0 by Cédric Krier at 2024-12-05T16:25:16+01:00
Include the depends of the getter function when depending on a Function field

Since c47b3642f1a6, the getter of a Function field may be called if there is no
value set for it on the instance.
In the on_change context, this may set the missing fields to None if they were
not defined in the depends of the method called. In addition to compute a wrong
value, those fields are then returned as modified.

Closes #13735
(grafted from 1b815539165a1212fc5c415c8920d8f5f0c55236)
- - - - -
d14e8b05 by Cédric Krier at 2024-12-08T11:41:03+01:00
Set a period from the company of the receivable rule creating move

Closes #13740
(grafted from 76d816fb49a64a353b3400e224d237b379197eee)
- - - - -
e85be085 by Cédric Krier at 2024-12-11T23:49:56+01:00
Reassign points value instead of updating when changing quality control

The value of points is an immutable dictionary that can not be updated.

Closes #13730
(grafted from d8119a6255ea750c4f4d9c4f54ba1485270012b0)
- - - - -
a5877a7c by Cédric Krier at 2024-12-17T16:00:31+01:00
Use TMPDIR for CI jobs
(grafted from 6ecbe34f6bfcf0c46f3fc0218a50a46354ff0af7)
- - - - -
bea9fd75 by Cédric Krier at 2024-12-17T16:01:05+01:00
Use /dev/shm as database path in demo CI jobs
(grafted from c4ab3ed92bf3bf2581e661019b59000c401932eb)
- - - - -
00a389f4 by Cédric Krier at 2024-12-25T14:30:44+01:00
Use TMPDIR as data folder to test demo

This reverts c4ab3ed92bf3 because since 6837a618f53d the size required is too
much for the default shm_size (300000 bytes) of the runners.
(grafted from 4832d7b952270b704511ca41475340e6f5bba2b8)
- - - - -
7cc00a9b by Cédric Krier at 2024-12-18T13:51:44+01:00
Retry locking tables at the same speed as the dispatcher request
(grafted from 1e361bb682500fb423418719d6ee1d9f2e237f82)
- - - - -
a7c5c479 by Cédric Krier at 2024-12-12T00:42:58+01:00
Group on company currency in sale reporting

It is needed to construct unique ID when grouping by other mean than the line 
id.
Also the revenue is computed in the company currency.

Closes #13744
(grafted from 80c1e2bf7203de4cbae8ecf40d0ca5e4a85917ff)
- - - - -
c2d9efaa by Nicolas Évrard at 2024-12-19T17:08:28+01:00
Add missing dot on the form-binary class selector

Closes #13766
(grafted from 8a7c5c41b20355d416c55cecc210f479883699c6)
- - - - -
0e25154a by Cédric Krier at 2024-12-16T16:55:06+01:00
Test if contextual company id is positive before using it to get the timezone

Closes #13702
(grafted from fc47e80f9d10faaca8d4704f5a0c5b6765f5d9aa)
- - - - -
38a8c9de by Cédric Krier at 2024-12-18T17:54:06+01:00
Set screen to ScreenContainer at instantiation

Many methods of ScreenContainer relies on the screen being set.
And there is no reason to not set the screen at instantiation as long as show
filter refresh the bookmarks.

Closes #13757
(grafted from 16f208d5248b270306edee488d913c65924dd727)
- - - - -
c90fbaa5 by Cédric Krier at 2024-12-16T15:38:11+01:00
Do not delete optional value for fields not set by the call

The same view may have different set of fields if it is extended conditionally.

Closes #13758
(grafted from 826ac4da1e20acd1e1b5aec3c3aaa00f04cdc81b)
- - - - -
ea9b1724 by Cédric Krier at 2024-12-09T14:42:37+01:00
Add company in context of journal on account receivable rule

Closes #13742
(grafted from 37c56422a08d80416804753adcb90dc58d132d86)
- - - - -
f83b6c45 by Cédric Krier at 2024-12-12T18:46:07+01:00
Trigger change on "Selected Records" when predefined export is selected

The change callback set the visibility of the "Ignore search limit".

Closes #13754
(grafted from d174aec6127a60c0d87b09f2b40471737d9d9eb4)
- - - - -
1b91a187 by Cédric Krier at 2024-12-12T23:39:43+01:00
Return the attachment promise in attach callback

This way the button stays disabled until the drop down menu is filled.

Closes #13755
(grafted from d7e6a9ed2b9979edbae45789d1daf0c2a2351bac)
- - - - -
ec4bddb6 by Cristina Sangrador at 2024-12-28T14:00:38+01:00
Do not try to create periods when renewing a fiscal year without periods

The computation of interval raises a ZeroDivisionError because the length of
periods is 0.

Closes #13671
(grafted from baf0a88808a8c5e85116ebbc7cf5f414b6bd95fc)
- - - - -
fb4f071f by Cédric Krier at 2024-12-21T18:12:09+01:00
Do not select current record if it is no more in the group

on_change calls may remove the current record without updating the screen such
that it is not possible to compute a selection path.

Closes #13770
(grafted from ceb83d197bfcced51643cb723590cd97127eda86)
- - - - -
92bec269 by Cédric Krier at 2024-12-20T11:48:10+01:00
Read only cost price from the history product when computing cost value

Closes #13767
(grafted from dc91e07427dec54b2dfcd323dd444e00ef92d313)
- - - - -


26 changed files:

- .gitlab-ci.yml
- .gitlab-scripts/generate-doc.sh
- modules/account/fiscalyear.py
- modules/account_receivable_rule/account.py
- modules/account_receivable_rule/tests/test_module.py
- modules/company/ir.py
- modules/quality/quality.py
- modules/sale/sale_reporting.py
- modules/stock/product.py
- proteus/proteus/__init__.py
- sao/src/model.js
- sao/src/sao.less
- sao/src/screen.js
- sao/src/tab.js
- sao/src/window.js
- tryton/tryton/gui/window/view_form/model/field.py
- tryton/tryton/gui/window/view_form/model/record.py
- tryton/tryton/gui/window/view_form/screen/screen.py
- tryton/tryton/gui/window/view_form/view/list.py
- tryton/tryton/gui/window/view_form/view/screen_container.py
- trytond/trytond/ir/ui/view.py
- trytond/trytond/model/model.py
- trytond/trytond/model/modelview.py
- trytond/trytond/tests/test_field_depends.py
- trytond/trytond/tests/test_modelview.py
- trytond/trytond/transaction.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e13d82d84dd8717446e5c6bd36bf7c58d82e6a12...92bec2699222630982b46a35334900ce0fc6356d

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


Reply via email to