Commit Graph
1581 Commits
Author SHA1 Message Date
Cédric Krier 775c8696ca Clear alert message when hidden
issue10006
review324811002
2021-01-22 01:15:24 +01:00
Cédric Krier 9cb5543f9d Fall-back to internal selection value if selection is a string
When DomainParser format a domain from a DomainValidationError, the field
definition may contain as selection as string. At this place we can not really
make an other RPC call to convert the selection so we fall-back to the internal
value.

issue9989
review349271002
2021-01-22 01:11:08 +01:00
Cédric Krier 41513b2718 Support float represented by exponential
The domain parser need to find the number of digit to display by analysing the
string format of the value. Some small values may be formatted as exponential.

issue9955
review347261002
2021-01-18 23:29:44 +01:00
Cédric Krier b291df2381 Encode Decimal with it primitive value for PYSON
Otherwise the Decimal is duplicated as a generic Object by the preparation.

issue9852
review330001002
2021-01-11 00:11:25 +01:00
Cédric Krier ef0c5a5a37 Remove panel-body for tab wizard
issue9965
review293011002
2021-01-06 11:00:07 +01:00
Nicolas Évrard 83d55bf249 Set readonly both inputs of numeric dict fields
issue9868
review333201002
2021-01-05 11:59:43 +01:00
Cédric Krier 0ae17faa3c Set min/max height on text widget
issue9798
review333561002
2021-01-03 13:01:47 +01:00
Cédric Krier bb39b7d452 Throw deferred on synchronous RPC with error
The caller needs to know if the error management succeeded or not in order to
redo the call.
We can not redo the call inside the error management because this will break
the synchronous property.

issue9938
review335361002
2020-12-23 21:28:35 +01:00
Cédric Krier e0b986037b Succeed when save modified is canceled on unique new record
The reload does not set any current record so we can not compare ids.

issue9936
review314991002
2020-12-23 21:26:32 +01:00
Cédric Krier ccc2946c07 Save modified record before sending email
issue9879
review331381017
2020-12-18 00:25:57 +01:00
Cédric Krier 57c4962bd7 Support empty value for timedelta converter
issue5092
review316481002
2020-12-18 00:21:38 +01:00
Cédric Krier 66014d0bf0 Vertically align group container on the middle
So the label in the group and outside the group on the same row are aligned.

issue9845
review329641002
2020-12-18 00:10:37 +01:00
Cédric Krier e7b5f78f0d Use this instead of undefined self in Between.set_value
issue9921
review331461002
2020-12-16 21:29:13 +01:00
Cédric Krier e55f429bb5 Test instance to clear search form entries
Since rev 2e49820602fb the entries have no more a type attribute.

issue9920
review322811002
2020-12-16 21:28:04 +01:00
Sergi Almacellas Abellana 779fcf081c Always convert float value when applying factor
Otherwise Numeric fields are stored as float when they have no digits

issue9912
review326771002
2020-12-06 18:26:31 +01:00
Cédric Krier 32bf70a424 Ask to save modified record before execute action
issue9880
review318921005
2020-12-04 18:41:38 +01:00
Cédric Krier 1ca1c35fc8 Return false when modified is not saved and not created
The return of modified_save method is used to decide to execute an action or
not. When a new record is cancelled, the client select the previous record so
we must not run the action on this one.

issue9881
review337111002
2020-12-04 18:37:36 +01:00
Cédric Krier 5e7cfa239c Do not display form symbol in edited cell
issue9818
review312901002
2020-11-23 23:45:22 +01:00
Cédric Krier 07732e9d28 Make symbol the last prefix and the first suffix
issue9840
review331301002
2020-11-23 23:41:16 +01:00
Cédric Krier 18ab0aea88 Remove width on editable integer and float tree widgets
The editable widgets must have a width of 100% to just fit in the cell.

issue9839
review326641002
2020-11-23 23:39:44 +01:00
Cédric Krier ea3705a4f9 Test if panel box-shadow is not null before using length
issue9830
review314791002
2020-11-23 23:37:58 +01:00
Sergi Almacellas Abellana cd55b6688a Attach richtext toolbar to translate widget
issue9860
review318901002
2020-11-23 17:56:13 +01:00
Cédric Krier 2ad19bae86 Put data with the same x value at the same position
c3js put a point for each x value even if they are the same.
So we must add y value at the same position if the x is already registered.

issue9539
review298671002
2020-11-16 21:24:59 +01:00
Cédric Krier 924cb91f7e Use minified version of tempusdominus and Sortable
issue9803
review331101002
2020-11-16 21:20:40 +01:00
Cédric Krier a63c435901 Do not display next/previous button on XS screen
issue9786
review308511005
2020-11-15 23:50:46 +01:00
Cédric Krier 08d9849303 Add horizontal scroll on tab domain
issue9786
review308511005
2020-11-15 23:50:23 +01:00
Cédric Krier dc2a61f00d Set the same overflow for datetime picker than completion
issue9614
review292581002
2020-11-15 19:19:16 +01:00
Cédric Krier 74d895533d Unify PYSON string format between all clients
issue9723
review328481002
2020-11-15 18:50:47 +01:00
Cédric Krier b337753e77 Add fallback index to datetimepicker _setValue
issue9615
review324441002
2020-11-11 20:34:10 +01:00
Cédric Krier c36d128487 Increase version number 2020-11-02 15:39:58 +01:00
Cédric Krier 96abab93c9 Add tag 5.8.0 [skip ci] 2020-11-02 15:39:46 +01:00
Cédric Krier e76b010277 Prepare release 5.8.0 [skip ci] 2020-11-02 15:39:45 +01:00
Cédric Krier 28b484c2f5 Activate legacy-peer-deps to install sao 2020-11-02 12:43:18 +01:00
Cédric Krier 25627d852c Test if val is not null before calling hasOwnProperty
issue9779
review326441002
2020-11-02 12:12:29 +01:00
Cédric Krier 520ce5dc4d Reject promise when selection is empty
It is reject that must be called instead of fail which is to add a callback.
2020-10-31 19:05:24 +01:00
Cédric Krier 6be0a5e15a Update translations [skip ci] 2020-10-31 12:14:32 +01:00
Nicolas Évrard 0400d83cc8 Skip destroyed records when fetching data from the server
issue9669
review294631002
2020-10-30 19:01:11 +01:00
Maxime Richez 0e4b8a6120 Set invisible state when rendering Symbol
Without initial state, cell is displaying symbol even when empty.

issue9717
2020-10-29 00:04:07 +01:00
Maxime Richez 4a44511b2d Set invisible state when rendering Affix
Without initial state, cell is displaying prefix or suffix even when empty.

issue9763
review306761002
2020-10-29 00:01:48 +01:00
Cédric Krier 63d6e2936e Mark as modified when default is a list of ids
Otherwise they are not sent to the server because only modified record are
sent since issue6754.

issue9479
review308441002
2020-10-28 23:56:28 +01:00
Cédric Krier 59027c2698 Do not rely on current record from screen
If the current record is removed, the attribute is set to None by
cancel_current.

issue9298
review314651002
2020-10-28 00:02:52 +01:00
Cédric Krier 4d4e779f1f Synchronize production less paths with development paths
issue9742
review318631002
2020-10-26 21:24:19 +01:00
Cédric Krier 91bbcbe3a4 Call response with the end button attributes
Since rev 15c499b95290, the argument to response must be the button
attributes.

issue9524
review326411002
2020-10-25 11:03:29 +01:00
Cédric Krier d8a0577e02 Keep record added/modified after cancel from popup window
We need to keep the record modified to ensure that it is added to the xxx2Many
on save.

issue9298
review296601002
2020-10-24 13:14:55 +02:00
Cédric Krier 0b379c05c0 Ensure inserted record has a valid position
issue9731
review298881002
2020-10-24 13:12:01 +02:00
Cédric Krier ffa00e1f06 Ensure field is loaded before applying changes
For fields like xxx2Many the changed values are operation to apply on the
existing value. So we must be sure to have loaded the value.

issue9730
review314491002
2020-10-21 23:28:09 +02:00
Cédric Krier 45ac695132 Returns an Array with the statements for PYSON string of And/Or
issue9722
review300711002
2020-10-21 23:15:18 +02:00
Cédric Krier dace152871 Set minimal width of input in ch
Mixing width in em and ch for the number input creates an overflow on the
group.

issue9706
review318481002
2020-10-21 23:13:32 +02:00
Cédric Krier 6c822b6d03 Reset screen order only when it is below a parent
Otherwise the default order from the action is lost when the screen is
instantiated.

issue9692
review302281002
2020-10-18 15:58:43 +02:00
Cédric Krier 901c4c4206 Update border and color of themed input-group-addon and form-control
Override variable in theme does not work because it is imported under
html[theme="default"].

issue9689
review326281002
2020-10-12 11:25:24 +02:00