669 Commits
Author SHA1 Message Date
Cédric Krier 859a8ec312 Remove unecessary semicolon in tab modified_save
The semicolon was introduced in 14150ef09fb6
2025-06-29 02:10:35 +02:00
Cédric Krier 2cd40e46a8 Catch error from clipboard.writeText
Closes #14082
2025-06-17 17:21:52 +02:00
Cédric Krier fa4c2ae1fb Limit the height of completion dropdown
The actions are set as sticky to be always visible.

Closes #14063
2025-06-10 23:00:30 +02:00
Cédric Krier 733df9d2dd Use the configured display size when selected or expanded row are defined
This ensure that we store on the view the selected/expanded rows by displaying
them after a reload.

Closes #14048
2025-06-01 12:49:28 +02:00
Cédric Krier eb7336c1c4 Delay the observation of the more button
#14048
2025-06-01 12:46:57 +02:00
Cédric Krier c37abac5dc Do not save tree state when setting value on form view 2025-06-01 12:45:53 +02:00
Cédric Krier 8e1e68727d Always wait for the promise of save_tree_state
#14048
2025-06-01 12:45:06 +02:00
Cédric Krier c710994e2e Store the selected state before deselect all the rows
We must toggle the state of the row based on the original state.
Otherwise on single mode, clicking on a selected row keep it selected.

Closes #14045
2025-05-28 18:15:07 +02:00
Cédric Krier 45d3a25343 Unselect other rows when radio button of row is selected
The selection of a radio button, deselect automatically the other radio button
so we must update the selection of other rows to remove the selected class.

Closes #14044
2025-05-28 18:11:23 +02:00
Cédric Krier bd4b030518 Change the border color of checkbox and radio when focus
This provides a visual hint that the element has the focus.

Closes #14043
2025-05-28 18:05:16 +02:00
Cédric Krier eadd7bcffe Do not execute tab shortcuts if there is a modal open
The modals are linked to the current tab so we can not change the tab as long
as there is a modal.

Closes #14042
2025-05-28 18:02:21 +02:00
Cédric Krier e88fea9fc6 Apply filter on icon under primary background
Otherwise the icon is not visible as it has the same color as the background.

Closes #14032
2025-05-21 17:10:34 +02:00
Cédric Krier d10a8a243f Remove thousand separator when converting domain string to float
Since c8d97fac the domain parser format number using locale but the atof
function does not remove the thousand separator which could prevent Number to
parse the string.

Closes #14024
2025-05-23 12:53:44 +02:00
Cédric Krier 98db94d3ef Remove explicit record name from export of relation field
This provides the same format as the import.
2025-05-21 17:02:51 +02:00
Cédric Krier 10c273d576 Avoid parsing image content as XML is they do not look like XML
This prevent the browser to log an error in the console.
Also we test for the presence of svg tag to be sure it is an svg image.

Closes #14019
2025-05-14 12:56:23 +02:00
Cédric Krier db95c26b09 Store URL to open before getting the preferences
The preferences may execute actions which may change the original URL at the
login. Such that the original URL is never open.
This is more visible since ac5d71376fca which makes the actions sequential.

Closes #13975
2025-05-21 11:16:56 +02:00
Cédric Krier 6159c55203 Set default value via domain inversion only when deferred operand is id
Other cases for deferred operand can not be deduced as unique for sure.

Closes #14005
2025-05-08 18:22:54 +02:00
Nicolas Évrard 2b8f96f8aa Use the initial precision when applying factor to a field without digits
Without digits the full representation of the number is used which might not
be the expected behaviour because applying the factor will result in a number
which short representation could be surprising to the user.

Closes #10460
2025-05-19 11:31:28 +02:00
Cédric Krier 7226268a08 Consider any field of new record as loaded
It is needed to trigger the validation of all the fields to set default value
thanks to the domain inversion.

Closes #14004
2025-05-08 18:15:25 +02:00
Cédric Krier 4bda4705f1 Do not fail to reload modified view without a current record
It may happen that a tree view is considered as modified even if there is no
current record. In this case we should not try to compare the id of the current
record before and after reload as it is not defined.

Closes #13998
2025-05-05 12:33:01 +02:00
Cédric Krier 39ddf8b838 Update label of window form only if it exists
The update of label was introduced in 89834116fe97 but the label is defined
only when the window form is created with the view type tree.

Closes #13994
2025-04-30 17:22:58 +02:00
Cédric Krier 581ffa80fa Set width to 100% on object of document widget
Closes #14000
2025-05-05 23:37:57 +02:00
Cédric Krier 5760ae39cb Set a background color to head and foot row of tree view table
Since ee297f4d7eea the sticky position is put on the row so it can no more be
transparent.

Closes #13993
2025-04-29 23:28:59 +02:00
Cédric Krier 30b867691a Use larger translation dialog for expanded widget
Closes #13987
2025-04-28 22:12:01 +02:00
Cédric Krier 56a3bd14d9 Set richtext widget inside an .input-group in translation dialog
It is needed to benefit from 6e2ff4b6.

Closes #13987
2025-04-28 22:10:50 +02:00
Cédric Krier 524c3b3cce Hide resizer of last column of tree view
This prevents the table to overflow and create an horizontal scrollbar because
of the negative inset.

Closes #13992
2025-04-29 23:24:16 +02:00
Cédric Krier d1e96023aa Set direction to column for text and richtext widget
Such that the toolbar is put on top and the input is taking the remaining
vertical space.

Closes #13986
2025-04-28 22:07:40 +02:00
Cédric Krier 8348ca4379 Increase minimal ECMAScript version to 8 2025-04-14 17:22:34 +02:00
Cédric Krier e7fb100d8f Increase display size only once per more row
This ensures that the growing rate between display size and rows is the same.

Closes #13972
2025-04-14 09:52:31 +02:00
Cédric Krier 296532218f Declare vals_to_set on the common block where it is used
e38f22986aac reuse vals_to_set later so linter may complain about it not being
defined.
2025-04-30 08:44:05 +02:00
Cédric Krier ae5b18eba0 Increase version number 2025-04-28 16:40:56 +02:00
Cédric Krier 04487b81d4 Prepare release 7.6.0 2025-04-28 16:12:25 +02:00
Cédric Krier b85d6e9efa Update translations [skip ci] 2025-04-27 11:36:15 +02:00
Cédric Krier 1c794eae1b Use locale format in domain parser and search filter for numbers
Closes #13966
2025-04-07 23:43:31 +02:00
Cédric Krier 2ed845b7e0 Compute digits of float value before applying factor
When applying the factor, we introduce new rounding issue which falsify the
computation of digits.
So it is better to compute the digits using the initial value (coming from the
string parsing) and update the digits based on the order of the factor.

Closes #13964
2025-04-04 18:51:30 +02:00
Cédric Krier 2aafc5626b Correctly clear all kinds of info bar messages
Closes #13951
2025-03-28 17:20:49 +01:00
Cédric Krier e3ad7a6f2b Trigger record message even if current record has not changed
a2c50d4993cc disabled the trigger but it is needed to update the toolbar label
when the number of selected record is changed but not the current record.
2025-03-28 17:13:21 +01:00
Nicolas Évrard 13345232ea Use hasOwnProperty to check for key presence in object 2025-04-15 18:38:45 +02:00
Nicolas Évrard 032f96cdca Do not set twice the result of an on_change call in a x2many
Closes #13971
2025-04-15 16:14:37 +02:00
Cédric Krier 81134c70da Update window form buttons when record is modified
This synchronize the behavior of these buttons with the one from the One2Many
widget.

Closes #13949
2025-03-28 15:53:05 +01:00
Cédric Krier 3b253210ae Initialize position of One2Many widget to None/null 2025-03-28 15:51:55 +01:00
Cédric Krier 1d68553044 Clear browser selection when selecting multiple rows
Closes #13952
2025-03-31 23:18:30 +02:00
Cédric Krier b26b3538cf Always use flex display for #tabcontent except on small screen
On form view, this put the scrollbar for long form only on the form without the
preview.
On small screen the form is switch back to block so the panel-body with the
flex-direction column push the #tabcontent to expand more than the height of
the viewport.

With the content of the preview being always visible without scrollbar (except
for the screen), we can put the navigation at the bottom as natural place.
2025-04-12 12:42:54 +02:00
Nicolas Évrard cfc38c8070 Store column widths by screen size 2025-04-14 22:57:36 +02:00
Nicolas Évrard 8b6e83e5b2 Allow column widths to be reset 2025-04-14 23:16:26 +02:00
Nicolas Évrard 93ae0df5c3 Allow column resizing in Sao
Closes #13115
2025-04-14 23:11:48 +02:00
Nicolas Évrard 15b3e1f5cf Use the position:sticky on the row of the thead
It was previously put on the th because neither Firefox nor Chrome supported it
on thead or tr but it has been solved now.

https://caniuse.com/css-sticky
2024-12-12 10:50:15 +01:00
Nicolas Évrard 4f195c7ffe Add simple chat widget on sidebar of clients 2025-04-12 17:25:28 +02:00
Nicolas Évrard a17172f6dd Toggle the option's selected state on mousedown in the filter window
This applies the changes from 3b0ae1dadfa0 to the filter window
2025-04-12 21:32:15 +02:00
Nicolas Évrard 83d280fede Display checkbox in multiselection in the filter window
This applies the changes from 97e82c27dc17 to the filter window
2025-04-12 21:30:56 +02:00