Cédric Krier
500f909a06
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
2024-11-29 13:03:53 +01:00
Nicolas Évrard
ffeeb1cdfe
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
2024-11-30 10:24:52 +01:00
Cédric Krier
71e19b01d8
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
2024-11-20 15:52:40 +01:00
Cédric Krier
e5d7fae134
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
2024-11-15 15:20:28 +01:00
Cédric Krier
52de5320f6
Test if pre_validate is an empty object
...
Closes #13675
2024-11-13 11:22:21 +01:00
Cédric Krier
539513d74f
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
2024-11-06 18:11:35 +01:00
Cédric Krier
1f42ffb932
Set grid template to container of board view
...
Closes #13663
2024-11-06 18:01:51 +01:00
Cédric Krier
29868a0e0f
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
2024-11-06 18:04:58 +01:00
Cédric Krier
fdb7b33d50
Returns no view type when next view type is unknown
...
Closes #13658
2024-11-06 13:24:46 +01:00
Cédric Krier
5d9be5e253
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
2024-11-04 13:09:34 +01:00
Cédric Krier
9d12fbf307
Take the first item of single value only with 'in' operator
...
Closes #13403
2024-10-28 00:39:53 +01:00
Cédric Krier
ab3fecb282
Increase version number
2024-11-04 18:51:20 +01:00
Cédric Krier
dc470fe1f4
Prepare release 7.4.0
2024-11-04 18:23:40 +01:00
Cédric Krier
43790f90dc
Do not add field in optional menu if it is excluded
...
Closes #13618
2024-10-22 19:47:27 +02:00
Cédric Krier
2a7c3dc2a2
Load sequence field value of previous record before setting sequence
...
Closes #13604
2024-10-15 14:50:08 +02:00
Cédric Krier
015c68f2c6
Update translations
2024-11-02 16:10:36 +01:00
Cédric Krier
9c4f6e91f0
Use https for links in sao package
2024-10-21 12:07:37 +02:00
Cédric Krier
711c2d1700
Update repository link for sao package
...
Closes #12569
2024-10-21 12:06:58 +02:00
Cédric Krier
40520b9ad0
Filter out existing records from the search results of xxx2Many
...
Closes #3285
2024-10-22 01:01:33 +02:00
Cédric Krier
3aecfc9658
Do not fail to set value of the wrong type to Dict Entry widget
...
Closes #13621
2024-10-23 13:56:53 +02:00
Cédric Krier
ea41b52449
Apply saved optional to column with the optional attribute
...
If the same column is added twice in a view with and without optional, only the
columns with optional attribute must be updated.
2024-10-15 12:25:46 +02:00
Cédric Krier
e92d79df01
Group optional column with the same
...
The optional state is stored only by field name so the toggle menu should
display only one state per column name to avoid ambiguity.
Closes #13603
2024-10-15 12:13:54 +02:00
Cédric Krier
286c924486
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
2024-10-02 17:06:58 +02:00
Cédric Krier
8edd9f79f8
Use equality operators when stringify in domain clause with singleton
...
Closes #13557
2024-10-02 17:02:55 +02:00
Cédric Krier
ae6df62434
Collapse main navbar when link is clicked
...
The main navbar is collapsed automatically on small screens when a tab is
selected.
2024-10-10 14:04:47 +02:00
José Antonio Díaz Miralles
9b3d3f85d6
Simplify menu handling by using flex instead of offcanvas and make it resizable
...
Closes #13444
2024-10-10 12:52:07 +02:00
Cédric Krier
91d7ec1289
Remove padding on menu
2024-10-11 22:55:04 +02:00
Cédric Krier
5c590194c5
Remove margin on image of treeview expander
2024-10-11 23:03:51 +02:00
José Antonio Díaz Miralles
74966d8b05
Reduce padding for affix in tree view
2024-08-09 00:16:55 +02:00
Cédric Krier
0b5dd24b80
Update usage of synchronous Record.validate and _check_load
...
Closes #13497
2024-10-03 14:44:09 +02:00
Cédric Krier
42fb22e164
Add border to notebook and navbar background to nav-tabs
...
This allows to better distinct the notebook and its content.
2024-10-01 12:41:50 +02:00
Cédric Krier
c4e49fbc58
Use column and row gap instead of padding to separate cells of grid
...
Using gap of grid allows to not loose the space when widgets are nested.
And keep top/bottom padding on small screen.
2024-10-02 10:29:44 +02:00
Cédric Krier
3948905844
Remove widget class on form-item
...
The widget class is set on the content of the form-item.
Having it twice apply margin or padding twice.
2024-09-27 20:49:50 +02:00
Cédric Krier
bf9709d360
Render xalign-end as start on small screen
...
As the rule was not in .form, it was not enough specific to apply.
Also on small screen we can keep centered the xalign-center
2024-09-27 20:47:52 +02:00
Cédric Krier
f40829a231
Set default y-attributes for notebook
2024-09-27 20:44:56 +02:00
Cédric Krier
464eb3e572
Allow switching to non-form view even if no record is selected
...
Closes #13511
2024-09-24 17:23:12 +02:00
Cédric Krier
dd9ad81995
Add restore button on Many2Many widget
2024-09-24 15:50:18 +02:00
Cédric Krier
f496ca79d6
Disable remove button of Many2Many if all selected records are already removed
2024-09-24 14:55:14 +02:00
Cédric Krier
158069f42b
Activate delete and undelete buttons of One2Many depending of the selected records
...
If there are no deleted records selected, the undelete button is disabled and
if there are only deleted records selected, the delete button is disabled.
2024-09-24 14:54:11 +02:00
Cédric Krier
148f0cc5ce
Keep current record if it has not been destroyed after removal
...
This allows to keep selected the removed record on the xxx2Many widgets such
that it is easy to undo the removal.
2024-09-24 12:10:24 +02:00
Cédric Krier
92192b789a
Use One2Many length to set sensitivity on next/previous buttons
...
Closes #12950
2024-09-24 11:26:14 +02:00
Cédric Krier
68d093189a
Consider as loaded the fields marked as modified
...
As the load method skips setting modified fields, so they are not and will
never be marked as loaded.
2024-10-02 12:07:48 +02:00
Nicolas Évrard
6907ea5b7b
Add warning when using implicit rec_name target for relational domain
2024-09-07 00:39:55 +02:00
Nicolas Évrard
618f20d453
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
2024-09-24 16:37:50 +02:00
Cédric Krier
e0be630f42
Do not export selected records by default when there is no record selected
2024-09-17 18:17:58 +02:00
Cédric Krier
15c468a860
Use dedicated buttons for CSV import and export
...
Closes #10115
2024-09-17 17:24:36 +02:00
Cédric Krier
4e37fb2039
Keep CSV export window opened
...
Closes #13521
2024-09-17 16:50:50 +02:00
Cédric Krier
513043dd6a
Always validate record synchronously
...
Closes #13497
2024-09-06 17:47:00 +02:00
Nicolas Évrard
5cbedc1afd
Add tests on PYSON default value
2024-09-27 15:30:47 +02:00
Cédric Krier
6177198b64
Remove favorite management
...
Since 8976c8708997 user has no write access to any favorites.
But the user can add/remove favorites from the menu entry which is enough for
most of the use case.
Closes #13335
2024-08-27 00:29:10 +02:00