Commit Graph
279 Commits
Author SHA1 Message Date
Cédric Krier 3708dc1f39 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 : 7.0
2024-11-29 13:03:53 +01:00
Nicolas Évrard 94d18f286b 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 : 7.0
2024-11-30 10:24:52 +01:00
Cédric Krier c05a2c1eb9 Increase version number
--HG--
branch : 7.0
2024-12-01 20:00:12 +01:00
Cédric Krier 3d96c1d7cd Prepare release sao-7.0.21
--HG--
branch : 7.0
2024-12-01 20:00:06 +01:00
Cédric Krier e188f44e85 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 : 7.0
2024-11-20 15:52:40 +01:00
Cédric Krier 788cddf20c 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 : 7.0
2024-11-15 15:20:28 +01:00
Cédric Krier 8f89d18192 Test if pre_validate is an empty object
Closes #13675
(grafted from 1d88e5b4e36de11517ae059ea04d352d2bde3161)

--HG--
branch : 7.0
2024-11-13 11:22:21 +01:00
Cédric Krier 5dfe314ef7 Set a width to the nav-tabs to not be included in the min-content computation
When screen with tab domain is displayed in a board, the tab domain increase
the min-content which could overflow the tab content.

Closes #13665
(grafted from 52af7e0a381ddd601e0b6f2e136065c579b4a747)

--HG--
branch : 7.0
2024-11-06 18:11:35 +01:00
Cédric Krier 3aaa03d774 Set grid template to container of board view
Closes #13663
(grafted from 27aed5d80c2c7ca9229faba7c8983a255096fb1f)

--HG--
branch : 7.0
2024-11-06 18:01:51 +01:00
Cédric Krier b35ebbb7aa 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 : 7.0
2024-11-06 18:04:58 +01:00
Cédric Krier f1274d80bd 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 : 7.0
2024-11-04 13:09:34 +01:00
Cédric Krier 1798e57775 Take the first item of single value only with 'in' operator
Closes #13403
(grafted from d826376d08a50b415a2c4b878a2c7652f1f2083b)

--HG--
branch : 7.0
2024-10-28 00:39:53 +01:00
Cédric Krier ab2981143d Do not add field in optional menu if it is excluded
Closes #13618
(grafted from 84c343d199e9a14e7e88d5d78cc68f0465e0c6d5)

--HG--
branch : 7.0
2024-10-22 19:47:27 +02:00
Cédric Krier 410248f577 Load sequence field value of previous record before setting sequence
Closes #13604
(grafted from 6b5ee66e595e4a8bb25f21c85dce2db721f3ecb8)

--HG--
branch : 7.0
2024-10-15 14:50:08 +02:00
Cédric Krier 5df29cdd7e Increase version number
--HG--
branch : 7.0
2024-11-06 21:28:44 +01:00
Cédric Krier a7858cea59 Prepare release sao-7.0.20
--HG--
branch : 7.0
2024-11-06 21:28:38 +01:00
Cédric Krier dd03a5c068 Do not fail to set value of the wrong type to Dict Entry widget
Closes #13621
(grafted from 380efdfcf2f12fd82a23a883eb9941d238f4f714)

--HG--
branch : 7.0
2024-10-23 13:56:53 +02:00
Cédric Krier e8f99b2cbb 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 : 7.0
2024-10-02 17:06:58 +02:00
Cédric Krier 91b274123a Use equality operators when stringify in domain clause with singleton
Closes #13557
(grafted from 075696a648468748ed3d9bba7d1bba7553ab21cc)

--HG--
branch : 7.0
2024-10-02 17:02:55 +02:00
Cédric Krier 48f9195d3c Increase version number
--HG--
branch : 7.0
2024-10-18 13:55:47 +02:00
Cédric Krier 6068ed2133 Prepare release sao-7.0.19
--HG--
branch : 7.0
2024-10-18 13:55:42 +02:00
Nicolas Évrard dff5d9977c 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 : 7.0
2024-09-24 16:37:50 +02:00
Cédric Krier d700e62f7c Increase version number
--HG--
branch : 7.0
2024-10-05 17:11:07 +02:00
Cédric Krier 16e7429867 Prepare release sao-7.0.18
--HG--
branch : 7.0
2024-10-05 17:11:00 +02:00
Cédric Krier ec1cb882ed Check loaded field synchronously when validate synchronously
#13497
(grafted from 1c470285a122607a8b9789ac36830c6155596c72)

--HG--
branch : 7.0
2024-10-03 15:09:55 +02:00
Cédric Krier d7687aed14 Backed out changeset 0e87b1cf7ea1
--HG--
branch : 7.0
2024-10-03 14:35:05 +02:00
Cédric Krier 29212c6599 Always validate record synchronously
Closes #13497
(grafted from 42db63c11a62db5e02d20cee53730be99c8c85e1)

--HG--
branch : 7.0
2024-09-06 17:47:00 +02:00
Cédric Krier 93d668a1ba Increase version number
--HG--
branch : 7.0
2024-09-16 20:15:21 +02:00
Cédric Krier 05e2e1d232 Prepare release sao-7.0.17
--HG--
branch : 7.0
2024-09-16 20:15:15 +02:00
Nicolas Évrard 87e5de96cc Do not override id as default values of failed read
Closes #13331
(grafted from 70e62980df617039e018444b7f0dcbc4bcb7e14f)

--HG--
branch : 7.0
2024-08-31 12:19:20 +02:00
Cédric Krier c783d527fa Increase version number
--HG--
branch : 7.0
2024-09-01 13:43:59 +02:00
Cédric Krier d46d875cdb Prepare release sao-7.0.16
--HG--
branch : 7.0
2024-09-01 13:43:53 +02:00
Cédric Krier 3d1324e545 Use column name to load field when copying selected rows with not loaded fields
Closes #13443
(grafted from 74cf9aea9fcad045d33fc4acc9d6900715966190)

--HG--
branch : 7.0
2024-08-07 19:02:49 +02:00
Cédric Krier dae0b95656 Do not copy button into clipboard
Closes #13442
(grafted from 175aefcb776b4e4092c2f744e56250af16dc6c57)

--HG--
branch : 7.0
2024-08-07 18:58:41 +02:00
Cédric Krier 529ca27e4e Convert to string the action key when the type of x axis is date or datetime
Closes #13440
(grafted from 937d9588e1e5b4e538cbbea097104e748b356a0e)

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

--HG--
branch : 7.0
2024-08-07 16:34:09 +02:00
Cédric Krier 09dae63e67 Use boolean type to toggle URL button visibility
Closes #13399
(grafted from 150aced210a6296d1bb0a8b3931d3618a099cefd)

--HG--
branch : 7.0
2024-07-16 16:19:14 +02:00
Cédric Krier 3df93f1c33 Increase version number
--HG--
branch : 7.0
2024-08-01 21:43:24 +02:00
Cédric Krier a06673ba9b Prepare release sao-7.0.15
--HG--
branch : 7.0
2024-08-01 21:43:18 +02:00
Cédric Krier a394b7c231 Check every rows are selected to keep global selection checked
Closes #13393
(grafted from 451236ad0b5ed240675e3db6e7c9f0dc133cdfd9)

--HG--
branch : 7.0
2024-07-05 15:15:28 +02:00
Cédric Krier 52f5803b85 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 : 7.0
2024-07-05 10:36:07 +02:00
Cédric Krier c0fbbb9db0 Do not iterate over MultiSelection value of Dict key if it is null
Closes #13375
(grafted from d938889e4f42517b7433685091e6cfce5080063a)

--HG--
branch : 7.0
2024-06-30 01:53:24 +02:00
Cédric Krier 8952b53808 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 : 7.0
2024-06-30 01:49:42 +02:00
Cédric Krier 67d28724fa Increase version number
--HG--
branch : 7.0
2024-07-17 23:39:07 +02:00
Cédric Krier 83d4671ac8 Prepare release sao-7.0.14
--HG--
branch : 7.0
2024-07-17 23:39:01 +02:00
Cédric Krier 8009654f93 Do not try to set focus to <td> without child
Closes #13394
(grafted from e4a5e94a8ad0949e5e6b74b2358e61096ccf8e98)

--HG--
branch : 7.0
2024-07-09 10:18:30 +02:00
Cédric Krier 10f9708fe0 Manually handle hiding of bootstrap Modals in search
Closes #13330
(grafted from f295f3d8b14264e592a86cc505d04ffd1b21bcc6)

--HG--
branch : 7.0
2024-06-11 09:41:46 +02:00
Cédric Krier a282fd81cd Use search text when clicking on find button of search window
Closes #13329
(grafted from 6f0db9701ffe1e43541ecf08978a46df10e6a1a1)

--HG--
branch : 7.0
2024-06-11 09:33:47 +02:00
Cédric Krier 62ac985cca 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 : 7.0
2024-06-10 18:01:03 +02:00
Cédric Krier c7953c1d26 Test if main_menu_screen is filled before using it when destroying wizard dialog
Closes #13363
(grafted from 69b8e8f9599933292e646ca83276cfbdbafa9eb8)

--HG--
branch : 7.0
2024-06-26 13:07:53 +02:00