Commit Graph
377 Commits
Author SHA1 Message Date
Nicolas Évrard 2ab12e8b40 Don't overflow select tag arrow with the option text
Closes #13765
2024-12-19 16:15:39 +01:00
Cédric Krier b72a6f0e7d Call on_change_notify for fields update by on_change
Closes #13753
2024-12-12 17:42:32 +01:00
Cédric Krier ce958434a8 Call on_change_notify for fields update by on_change_with
Closes #13752
2024-12-12 17:41:46 +01:00
Cédric Krier db8c876451 Propagate notifications to the parent group for screen without info bar
Closes #13751
2024-12-12 17:40:16 +01:00
Cédric Krier c5b039fade Return the attachment promise in attach callback
This way the button stays disabled until the drop down menu is filled.

Closes #13755
2024-12-12 23:39:43 +01:00
Cédric Krier f8ec37f24d Trigger change on "Selected Records" when predefined export is selected
The change callback set the visibility of the "Ignore search limit".

Closes #13754
2024-12-12 18:46:07 +01:00
Cédric Krier 91f80aa529 Always send id for the on_change calls
Since cc277611c254 we rely on the id to decide if the instance is a new
instance from the server-side or from the client-side.

Closes #13769
2024-12-21 14:14:52 +01:00
Cédric Krier 030305ec49 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
2024-12-18 17:54:06 +01:00
Nicolas Évrard 6f77a527b5 Add missing dot on the form-binary class selector
Closes #13766
2024-12-19 17:08:28 +01:00
Nicolas Évrard 05abf8ef2b 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
2024-12-16 10:29:26 +01:00
Cédric Krier cd6c759e05 Display link symbol on hover of many2one and reference column
Closes #9091
2024-10-24 01:20:39 +02:00
Cédric Krier 6cff740d3c Validate integer digits
Closes #12975
2024-10-20 18:22:26 +02:00
José Antonio Díaz Miralles 94048faeb4 Prevent iOS from auto zooming on input focus
Closes #13602
2024-12-15 16:42:35 +01:00
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