Commit Graph
245 Commits
Author SHA1 Message Date
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
Cédric Krier 523341a59d Increase version number
--HG--
branch : 7.0
2024-07-01 18:04:25 +02:00
Cédric Krier 996705f774 Prepare release sao-7.0.13
--HG--
branch : 7.0
2024-07-01 18:04:19 +02:00
Cédric Krier 0dabd06465 Set focus to the first focusable child of the cell
Closes #13327
(grafted from edd4d4ea6416280f2c03f3e6b87a9b62e6cc333c)

--HG--
branch : 7.0
2024-06-10 20:04:39 +02:00
Cédric Krier 19198c34c4 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 : 7.0
2024-06-10 17:23:18 +02:00
Cédric Krier 0e8b758d27 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 : 7.0
2024-06-10 17:17:27 +02:00
Cédric Krier 743ed500fc Always update state of delete and undelete buttons in window form
Closes #13323
(grafted from 377fcba9fba2d39973067915f72848fd01bce7ed)

--HG--
branch : 7.0
2024-06-10 17:13:03 +02:00
Cédric Krier d3e43195f4 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 : 7.0
2024-06-10 17:09:41 +02:00
Cédric Krier 26d4cf09cf 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 : 7.0
2024-06-10 17:02:56 +02:00
Cédric Krier 182e0a575b Exclude records without dtstart or dtend from calendar view
Closes #13302
(grafted from f41e0738102a99a92027a140cc1859d406adae3e)

--HG--
branch : 7.0
2024-06-06 10:01:55 +02:00
Cédric Krier e6de5707b5 Bind callback to the attachment window when dropping file as attachment
Closes #13182
(grafted from 6daccd38708b131c06145d7a698151040a8fd5db)

--HG--
branch : 7.0
2024-06-05 18:38:58 +02:00
Cédric Krier 58e387f9b2 Increase version number
--HG--
branch : 7.0
2024-06-15 11:05:57 +02:00
Cédric Krier 8429876bd7 Prepare release sao-7.0.12
--HG--
branch : 7.0
2024-06-15 11:05:50 +02:00
Cédric Krier 730132a931 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 : 7.0
2024-05-14 19:44:39 +02:00
Cédric Krier d96e7d1f14 Always return a promise from _update_completion
Closes #13280
(grafted from e34aac35364fb57cfd13978e17e4984fd70b3a74)

--HG--
branch : 7.0
2024-05-25 20:40:56 +02:00
Cédric Krier b644be0933 Increase version number
--HG--
branch : 7.0
2024-05-01 11:27:42 +02:00
Cédric Krier 2daa62decb Prepare release sao-7.0.11
--HG--
branch : 7.0
2024-05-01 11:27:35 +02:00
Cédric Krier 07502cc23c Trigger record saved after reload ids when execute button
The buttons of the toolbar must be updated after having saved the current
record.

Closes #13125
(grafted from 03b3f3d5a60c9dbb6268a20fdd8f0c56157272b4)

--HG--
branch : 7.0
2024-04-21 15:23:18 +02:00
Cédric Krier f30d8934cb Wait for display to finish when reloading record
(grafted from 9023fdf384db2961e4dea922f5194b09f879834f)

--HG--
branch : 7.0
2024-04-21 15:24:26 +02:00
Cédric Krier 4e0ddf60fa Fallback to default model access if RPC request fails
(grafted from 5680160a1ab68e8e30e05265aef34eea44be0139)

--HG--
branch : 7.0
2024-04-18 19:22:07 +02:00
Cédric Krier 024e58b716 Use jQuery remove to remove children row elements
We can not rely on the row node to always have a parent node as toggle_row is
a callback to an event that can be executed after the row has already be
removed from the DOM.

Closes #13198
(grafted from 7e3ab58418656857275f3888386d840ca336858f)

--HG--
branch : 7.0
2024-04-16 09:16:24 +02:00
Cédric Krier 3d976ba795 Test if current view is defined on screen before using it
Closes #13178
(grafted from 6f0ae4c7719fbf129ffd0221aa9b1fa008df23e2)

--HG--
branch : 7.0
2024-04-13 15:35:15 +02:00
Cédric Krier b243bdb4fa Fix call to warn method of logger
Closes #13179
(grafted from 0dd9d993f1cfd1b3b9b83e1108e0ffbf193c87ad)

--HG--
branch : 7.0
2024-04-11 19:46:48 +02:00
Cédric Krier 167cc2709e Increase version number
--HG--
branch : 7.0
2024-04-17 12:31:13 +02:00
Cédric Krier c35aff2cc0 Prepare release sao-7.0.10
--HG--
branch : 7.0
2024-04-17 12:31:04 +02:00
Cédric Krier 8f320389a3 Return False on the callback on readonly window Form
When a readonly Form is closed, the callback result should always be False as
the opened record has not changed.

Closes #13156
(grafted from 9ad99fba8a531f2456d1808f32fe3b9fbc598f2e)

--HG--
branch : 7.0
2024-04-02 16:39:06 +02:00
Nicolas Évrard 87b1e66f67 Use PYSON's Bool evaluation for PYSON's Not evaluation
Closes #13096
(grafted from 009133813b11f264b5e038dc9c5912dc9e0101cb)

--HG--
branch : 7.0
2024-03-11 16:35:39 +01:00
Nicolas Évrard b875f0cf68 Instantiate PYSON.Bool expression with new from PYSON.Not instances
Closes #13177
(grafted from 1d8a5b96e3b2d099c0009bc16e18e77cfb860134)

--HG--
branch : 7.0
2024-03-11 12:43:53 +01:00
Cédric Krier 161641c320 Force scrollbar inside xxx2Many table
On Chrome based browsers the min-content of the table inside a xxx2Many widget
is the minimal size to display all the columns.
So when this min-content size is bigger than the width of the tab, it is the
all form that get a scrollbar instead of only the tree view element.
By adding a display grid to the div containing the treeview, the min-content
is not more used by the grid-template-columns of the form-container.

Closes #13050
(grafted from 333543178a58dc1b816063dd1ad11f6d6c1f4c10)

--HG--
branch : 7.0
2024-03-15 09:50:08 +01:00
Cédric Krier d771ed9402 Do not set current record to the first id if the list is empty
Closes #13130
(grafted from 61da30b168e7a11392ac235bea43460bbb998873)

--HG--
branch : 7.0
2024-03-26 11:20:07 +01:00
Cédric Krier 5c2a90afac Increase version number
--HG--
branch : 7.0
2024-04-04 09:41:44 +02:00
Cédric Krier 33609f2b75 Prepare release sao-7.0.9
--HG--
branch : 7.0
2024-04-04 09:41:35 +02:00
Cédric Krier 7969ed8122 Set cursor when displaying screen to select new record after copy
Closes #12820
(grafted from a7351854b34b147aad65e0e7ca86666ba76b68ac)

--HG--
branch : 7.0
2024-03-22 12:52:19 +01:00
Cédric Krier 9e3b2031ec Revoke URLs of loaded icons
Closes #13095
(grafted from ee2fee1a4b3019a5e4bff38e830a751d9c4d0976)

--HG--
branch : 7.0
2024-03-10 01:09:35 +01:00
Cédric Krier 369dcdf92a Expand form container to fill all parent spaces
Closes #13073
(grafted from 882083de49d111b61d7e525e0fb0f8f43fa13835)

--HG--
branch : 7.0
2024-03-05 15:18:03 +01:00