Commit Graph
161 Commits
Author SHA1 Message Date
Cédric Krier f1f88ba2f1 Increase version number
--HG--
branch : 6.0
2025-01-03 11:53:43 +01:00
Cédric Krier 42697721a2 Prepare release sao-6.0.53
--HG--
branch : 6.0
2025-01-03 11:53:36 +01:00
Cédric Krier 800d07847c Bind callback for the context screen switch view
d6efdc9cbe47 removed wrongly the binding.

--HG--
branch : 6.0
2025-01-03 11:37:17 +01:00
Cédric Krier 00f997bd46 Increase version number
--HG--
branch : 6.0
2025-01-01 20:34:27 +01:00
Cédric Krier 71d7a8b860 Prepare release sao-6.0.52
--HG--
branch : 6.0
2025-01-01 20:34:21 +01:00
Cédric Krier c9d5328692 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)

--HG--
branch : 6.0
2024-12-12 23:39:43 +01:00
Cédric Krier c2310ff235 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)

--HG--
branch : 6.0
2024-12-18 17:54:06 +01:00
Nicolas Évrard a90ff8c3eb Add missing dot on the form-binary class selector
Closes #13766
(grafted from 8a7c5c41b20355d416c55cecc210f479883699c6)

--HG--
branch : 6.0
2024-12-19 17:08:28 +01:00
Nicolas Évrard c0d07f0615 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)

--HG--
branch : 6.0
2024-12-16 10:29:26 +01:00
Cédric Krier 6c07d300b5 Increase version number
--HG--
branch : 6.0
2024-12-16 19:02:05 +01:00
Cédric Krier 5e7eb2b071 Prepare release sao-6.0.51
--HG--
branch : 6.0
2024-12-16 19:01:58 +01:00
Cédric Krier e3d09269ce Properly disable the select button of Binary widget when readonly
The button is indeed a div which must have the .disabled CSS class and an input
which should be hidden when readonly.

Closes #13713
(grafted from 834f7f6079c61d5312c97b5fe61eb75b46a676c5)

--HG--
branch : 6.0
2024-11-29 13:03:53 +01:00
Nicolas Évrard a707a20efe Parse child of group tags at the end
This allows to preserve the order of the state widgets in the form which is
important when evaluating the emptiness of a group

Closes #13622
(grafted from b01fd46f44f2923cbd5a91323c592fa8cfb18a57)

--HG--
branch : 6.0
2024-11-30 10:24:52 +01:00
Cédric Krier 1fb60b1f6b Increase version number
--HG--
branch : 6.0
2024-12-01 20:00:38 +01:00
Cédric Krier 5d8530a061 Prepare release sao-6.0.50
--HG--
branch : 6.0
2024-12-01 20:00:32 +01:00
Cédric Krier 4106444d6a Create new context record with default value
Screen.new_ is returning already a promise that is resolved after the call to
default_get. This ensure that display is triggered after having set the default
value.

Closes #13697
(grafted from 7484bb16c12f887d44c9f18bfc5504974cde50e0)

--HG--
branch : 6.0
2024-11-20 15:52:40 +01:00
Cédric Krier c87aab577b Remove new lines characters when comparing record name of Many2One and Reference
This avoid to trigger a reset of the field if the record name has such character.

Closes #13687
(grafted from cac71113f210bce90c55f6a6c6f32703654cdc59)

--HG--
branch : 6.0
2024-11-15 15:20:28 +01:00
Cédric Krier d339c47831 Test if pre_validate is an empty object
Closes #13675
(grafted from 1d88e5b4e36de11517ae059ea04d352d2bde3161)

--HG--
branch : 6.0
2024-11-13 11:22:21 +01:00
Cédric Krier 20e3288ada Create tab content of board before retrieving the view
If the view is already cached, the callback is executed directly so the content
must have been created.

Closes #13664
(grafted from adb8f7b0c738061d48d44499066545f5468a2d3d)

--HG--
branch : 6.0
2024-11-06 18:04:58 +01:00
Cédric Krier 6a701e0a8f Accept object has type for Greater statements
If the PYSON statement has the type 'object', it can be a Date, DateTime or
TimeDelta which is allowed for comparison.

Closes #13645
(grafted from df6e3c10a5105e545e1aa8e58c3c087285146a58)

--HG--
branch : 6.0
2024-11-04 13:09:34 +01:00
Cédric Krier 5b43d4eacf Load sequence field value of previous record before setting sequence
Closes #13604
(grafted from 6b5ee66e595e4a8bb25f21c85dce2db721f3ecb8)

--HG--
branch : 6.0
2024-10-15 14:50:08 +02:00
Cédric Krier 5bc4ddeb93 Increase version number
--HG--
branch : 6.0
2024-11-06 21:30:25 +01:00
Cédric Krier 4d2bc52a1d Prepare release sao-6.0.49
--HG--
branch : 6.0
2024-11-06 21:30:19 +01:00
Cédric Krier 7320b9f057 Do not fail to set value of the wrong type to Dict Entry widget
Closes #13621
(grafted from 380efdfcf2f12fd82a23a883eb9941d238f4f714)

--HG--
branch : 6.0
2024-10-23 13:56:53 +02:00
Cédric Krier ed15911ab3 Quote empty string when formatting list value of domain
This is needed to keep the empty string in the list on a second parsing.

Closes #13558
(grafted from 747825bc93a35fef995094be5ca9d7e04c414692)

--HG--
branch : 6.0
2024-10-02 17:06:58 +02:00
Cédric Krier 075c60bc62 Use equality operators when stringify in domain clause with singleton
Closes #13557
(grafted from 075696a648468748ed3d9bba7d1bba7553ab21cc)

--HG--
branch : 6.0
2024-10-02 17:02:55 +02:00
Cédric Krier c941fd8b64 Increase version number
--HG--
branch : 6.0
2024-10-18 13:56:09 +02:00
Cédric Krier 3e00908b48 Prepare release sao-6.0.48
--HG--
branch : 6.0
2024-10-18 13:56:04 +02:00
Nicolas Évrard dc70c2cd28 Return the display promise when creating a new record from the screen
This is necessary because otherwise it could result in concurrent update of the
models of the models used by the underlying widgets.

Closes #13545
(grafted from 1dfc23911f2a4cc071a34ec886dc43d949d4b68f)

--HG--
branch : 6.0
2024-09-24 16:37:50 +02:00
Cédric Krier 58da5353b0 Increase version number
--HG--
branch : 6.0
2024-09-16 20:15:45 +02:00
Cédric Krier 4bb55e3c40 Prepare release sao-6.0.47
--HG--
branch : 6.0
2024-09-16 20:15:40 +02:00
Nicolas Évrard 69882047ef Do not override id as default values of failed read
Closes #13331
(grafted from 70e62980df617039e018444b7f0dcbc4bcb7e14f)

--HG--
branch : 6.0
2024-08-31 12:19:20 +02:00
Cédric Krier 86d8c20087 Increase version number
--HG--
branch : 6.0
2024-09-01 13:45:27 +02:00
Cédric Krier cd9506443c Prepare release sao-6.0.46
--HG--
branch : 6.0
2024-09-01 13:45:22 +02:00
Cédric Krier a6ae7465ae Convert to string the action key when the type of x axis is date or datetime
Closes #13440
(grafted from 937d9588e1e5b4e538cbbea097104e748b356a0e)

--HG--
branch : 6.0
2024-08-07 17:25:45 +02:00
Cédric Krier c1d6b10cd2 Consider as stringable domain with empty clause
Closes #13414
(grafted from 49a55291512a957e496455f6474a9776e8c2c31c)

--HG--
branch : 6.0
2024-08-07 16:34:09 +02:00
Cédric Krier 8cce9c37a0 Increase version number
--HG--
branch : 6.0
2024-08-01 21:45:11 +02:00
Cédric Krier 028c1aa065 Prepare release sao-6.0.45
--HG--
branch : 6.0
2024-08-01 21:45:05 +02:00
Cédric Krier f11d90ada0 Check every rows are selected to keep global selection checked
Closes #13393
(grafted from 451236ad0b5ed240675e3db6e7c9f0dc133cdfd9)

--HG--
branch : 6.0
2024-07-05 15:15:28 +02:00
Cédric Krier a966fca96d Update selection after new rows has been added
The update selection method check the number of row in tbody.

Closes #13392
(grafted from 6eb6268e2aede3ec4c2df54028caf35cba654451)

--HG--
branch : 6.0
2024-07-05 10:36:07 +02:00
Cédric Krier 6e322c9553 Do not iterate over MultiSelection value of Dict key if it is null
Closes #13375
(grafted from d938889e4f42517b7433685091e6cfce5080063a)

--HG--
branch : 6.0
2024-06-30 01:53:24 +02:00
Cédric Krier a8620a1725 Do not allow to mutate dict value
A copy of the value is always returned so if it is modified it does not modify
the internal value of the record.
So to update Dict value, a new dictionary must be set on the field.

Closes #13374
(grafted from 82b0280d4a08c48b2ab85b4ababe2031aee9a7a2)

--HG--
branch : 6.0
2024-06-30 01:49:42 +02:00
Cédric Krier e758541553 Increase version number
--HG--
branch : 6.0
2024-07-17 23:40:03 +02:00
Cédric Krier 4475c09a1f Prepare release sao-6.0.44
--HG--
branch : 6.0
2024-07-17 23:39:57 +02:00
Cédric Krier 0ab6215199 Do not try to set focus to <td> without child
Closes #13394
(grafted from e4a5e94a8ad0949e5e6b74b2358e61096ccf8e98)

--HG--
branch : 6.0
2024-07-09 10:18:30 +02:00
Cédric Krier 2554ccc3b3 Use search text when clicking on find button of search window
Closes #13329
(grafted from 6f0db9701ffe1e43541ecf08978a46df10e6a1a1)

--HG--
branch : 6.0
2024-06-11 09:33:47 +02:00
Cédric Krier d80992c01a Do not run menu action if the menuitem is disabled
The click event can still be triggered by the shortcut or event by clicking on
the disabled menuitem. So the callback must not run the action if the menuitem
is disabled.

Closes #13326
(grafted from d3e19261139580282719da45623a077d849523a0)

--HG--
branch : 6.0
2024-06-10 18:01:03 +02:00
Cédric Krier 07d27e2391 Test if main_menu_screen is filled before using it when destroying wizard dialog
Closes #13363
(grafted from 69b8e8f9599933292e646ca83276cfbdbafa9eb8)

--HG--
branch : 6.0
2024-06-26 13:07:53 +02:00
Cédric Krier 5f9e7797b3 Increase version number
--HG--
branch : 6.0
2024-07-01 18:04:49 +02:00
Cédric Krier a24b4ca978 Prepare release sao-6.0.43
--HG--
branch : 6.0
2024-07-01 18:04:42 +02:00