Commit Graph
148 Commits
Author SHA1 Message Date
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
Cédric Krier d04d76fb3a Set focus to the first focusable child of the cell
Closes #13327
(grafted from edd4d4ea6416280f2c03f3e6b87a9b62e6cc333c)

--HG--
branch : 6.0
2024-06-10 20:04:39 +02:00
Cédric Krier 39d8ca7e1b Do not re-select all records if current record is empty and selection is checked
This happens when the current record is removed when it is deleted.

Closes #13325
(grafted from 5e74c9cef4b5b04930e1c5da61c576070da1a1ca)

--HG--
branch : 6.0
2024-06-10 17:23:18 +02:00
Cédric Krier 67f2ae156f Store readonly attribute on Screen with a default value
Otherwise the attribute value may be undefined instead of being a boolean.

Closes #13324
(grafted from c0feae75063f1daac6b3c8017f165aaca3858922)

--HG--
branch : 6.0
2024-06-10 17:17:27 +02:00
Cédric Krier 025b726e8e Always update state of delete and undelete buttons in window form
Closes #13323
(grafted from 377fcba9fba2d39973067915f72848fd01bce7ed)

--HG--
branch : 6.0
2024-06-10 17:13:03 +02:00
Cédric Krier c629a5c04c Use only the readonly from group in Window Form
Since 12e08efd3872 the readonly of the Screen depends on the selected records.
But we still wants to save the modification from the Window Form even if a
deleted record is selected.

Closes #13321
(grafted from ff288e977366b41700c6da6f7131b0e9520e363b)

--HG--
branch : 6.0
2024-06-10 17:09:41 +02:00
Cédric Krier 03b8a3fd28 Set 100% width to input-group of form-text and form-richtext
Otherwise if the widget is not translated, the textarea does not expand.

Closes #13320
(grafted from 2ebdb3a1dc2dd516cf99186c29278d41081aa689)

--HG--
branch : 6.0
2024-06-10 17:02:56 +02:00
Cédric Krier bb5322686e Exclude records without dtstart or dtend from calendar view
Closes #13302
(grafted from f41e0738102a99a92027a140cc1859d406adae3e)

--HG--
branch : 6.0
2024-06-06 10:01:55 +02:00
Cédric Krier afad91aa5d Increase version number
--HG--
branch : 6.0
2024-06-15 11:06:22 +02:00
Cédric Krier 921f7f06cf Prepare release sao-6.0.42
--HG--
branch : 6.0
2024-06-15 11:06:16 +02:00
Cédric Krier be84f9a54d Put textarea and richtext under an input-group
If the widget is translatable, the translate button is an input-group-btn
which must be under the same input-group as the principal input.

Closes #13238
(grafted from 20af97ade53035f1c725cb2600e9abbb2664f664)

--HG--
branch : 6.0
2024-05-14 19:44:39 +02:00
Cédric Krier 7f4cead7b9 Always return a promise from _update_completion
Closes #13280
(grafted from e34aac35364fb57cfd13978e17e4984fd70b3a74)

--HG--
branch : 6.0
2024-05-25 20:40:56 +02:00
Cédric Krier 35d994f90c Increase version number
--HG--
branch : 6.0
2024-05-01 11:28:30 +02:00
Cédric Krier a0870c2c39 Prepare release sao-6.0.41
--HG--
branch : 6.0
2024-05-01 11:28:24 +02:00