Cédric Krier
b4007e209c
Added tag 5.4.0 for changeset 2d6d3a648c1d
2019-11-04 12:47:09 +01:00
Cédric Krier
8370de75ee
Prepare release 5.4.0
2019-11-04 12:47:08 +01:00
Cédric Krier
ff768e2695
Update translations
2019-11-02 18:07:45 +01:00
Cédric Krier
375e6acfd3
Replace table in cell of treeview by flex display
...
In order to have correct overflow ellipsis, we must stop to use table to align
affix inside a cell. Instead we use flexblox layout to expand the widget and
align the affixes.
Also as now content will be ellipsis, we must provide a title to the buttons.
issue8762
review268231002
2019-11-02 17:35:55 +01:00
Cédric Krier
37c4ac36b8
Use small button in tree view
...
This avoids to use negative margin to keep row heigh constant.
And we display the button as block on responsive tree to make it easier to
click on.
issue8761
review286171004
2019-10-30 14:06:51 +01:00
Cédric Krier
431ff17988
Round step value
...
The result of Math.pow may have rounding issue (especially on Chrome) so we
must round it otherwise the validation of the input may fail.
issue8707
review258301002
2019-10-24 19:17:29 +02:00
Cédric Krier
716c39005a
Always round numbers after factor operation
...
issue8668
review282251003
2019-10-24 19:14:23 +02:00
Cédric Krier
6d40fedc21
Manage rejected user warning promise
...
If the user select the option No, the promise is rejected so we must reject
the rpc call.
issue8645
review274071002
2019-10-24 19:10:36 +02:00
Cédric Krier
820b478002
Add permission groups on export
...
By default an export is only available for his creator and administrators.
We add a list of groups that are allowed to read and a second subset of groups
that are allowed to modify it.
issue8695
review252331002
2019-10-14 00:09:32 +02:00
Cédric Krier
d1af52b01e
Use better breakdown of menu offcanvas size
...
We keep the menu with a minimum size of 300px for all screen sizes.
issue8691
review268011002
2019-10-13 23:58:49 +02:00
Cédric Krier
9ee63e7993
Use typeof instead of instanceof to test for string
...
All strings are not instance of String.
issue8706
2019-10-11 12:06:14 +02:00
Cédric Krier
3c7d6214a4
Add domain parser tests to parse operator as value
...
issue8711
review268071002
2019-10-11 11:48:24 +02:00
Cédric Krier
7103a8a0e7
Use strict equality to compare clause against operator
...
In javascript, a list containing a string is equals to the string, e.g:
['foo'] == 'foo'
issue8711
review268071002
2019-10-11 11:46:37 +02:00
Cédric Krier
8a8cf61d46
Search for '..' only on string value in domain parser
...
The value can be a list if ';' is used.
issue8706
review254381002
2019-10-11 11:40:42 +02:00
Albert Cervera i Areny
bd7ae60aca
Fix typo by using 'this' instead of 'self'
...
issue8669
review282171002
2019-10-11 00:09:38 +02:00
Cédric Krier
4ee1554ae4
Display sum footer as header
...
This makes them wrap when the content is too long.
issue8675
review260191003
2019-10-08 18:51:33 +02:00
Cédric Krier
a6993d5db9
Set required from field to node attribute
...
issue8676
review284111003
2019-10-08 18:08:06 +02:00
Cédric Krier
8cc67d54e7
Bind callback to this in save_current
...
Introduced by r c9c4f1426d34
issue8709
2019-10-04 18:10:28 +02:00
Sergi Almacellas Abellana
f191548fa6
Use the same naming for audit fields on server and client side
...
issue8688
review270251002
2019-09-30 09:47:30 +02:00
Sergi Almacellas Abellana
c7d7820c75
Add missing end dot on translatable strings
...
issue8670
review252211037
2019-09-30 09:40:27 +02:00
Cédric Krier
f0541d5f38
Ensure the rows are expanded before setting the focus
...
All the rows must be expanded to be able to set the focus, which means waiting
the promises. But also the current record must be selected in the display and
the expanded rows must have expander updated.
issue8672
review252221002
2019-09-29 23:43:37 +02:00
Cédric Krier
274bab02b8
Do not toggle row on click if it has more children than the limit
...
This allows to trigger the tree_open action instead of switching to form on
double click.
issue8673
review276031002
2019-09-29 23:40:55 +02:00
Cédric Krier
8082509c64
Do not use record in __init__ of form widget
...
During the initialization of the widget, the view may not yet have a proper
record. But update_img access the record of the view.
Also it is safer for list-form to define the _record before calling super in
case there is an access to record attribute.
issue8616
review285981002
2019-09-28 23:23:01 +02:00
Cédric Krier
08f36273a7
Force textarea of text and richtext to inherit minimal height
...
issue8656
review288051003
2019-09-23 23:25:19 +02:00
Cédric Krier
1f1ffb3c5a
Add visual context on tree view
...
issue8562
review261951002
2019-09-20 11:47:15 +02:00
Cédric Krier
504b62f597
Right align binary size
...
issue8652
review273991002
2019-09-20 11:38:15 +02:00
Cédric Krier
397cd88db9
Add start value to PYSON Date and DateTime
...
This enable the customization of the starting point for delta operations.
issue8561
review264041002
2019-09-20 11:36:05 +02:00
Cédric Krier
1de6685654
Add MultiSelection field
...
issue7851
review249911002
2019-09-20 11:32:55 +02:00
Sergi Almacellas Abellana
e0d7f0e933
Support dot notation on PYSON Eval
...
issue8528
review287841003
2019-09-19 14:11:30 +02:00
Cédric Krier
3b2e1165e3
Use same style for menu than tab content
...
issue8639
review277821002
2019-09-17 00:12:21 +02:00
Cédric Krier
e6e307f575
Use locale format to export CSV from print button
...
issue8635
review252101002
2019-09-17 00:09:44 +02:00
Cédric Krier
e9f6976eae
Improve completion on boolean
...
- Do not convert None to False
- Complete with the opposite or both values
issue8620
review254181002
2019-09-16 23:59:43 +02:00
Cédric Krier
5cef8269df
Use synchronous call in CSV windows
...
This simplify the code and avoid race condition when selecting deferred fields.
issue8633
review267911002
2019-09-12 22:45:20 +02:00
Cédric Krier
13f5a6d0ba
Add data when exporting from print button
...
issue8622
review252081003
2019-09-11 23:43:30 +02:00
Cédric Krier
95a150b965
Add drag and drop and manage sequence
...
issue8240
review265181002
2019-09-07 23:56:25 +02:00
Cédric Krier
d2a11fcba1
Allow unselecting a predefined export
...
We just toggle the class instead of always add it on click and set the export
only if the resulted element has the class.
issue8628
review280031005
2019-09-07 23:32:47 +02:00
Cédric Krier
3b03a6e621
Record.reset does not return a promise anymore
...
Since 8345380bb435, we should Call display just after the call to reset.
issue8627
review270191002
2019-09-07 23:30:28 +02:00
Cédric Krier
43b8eca5b4
Show dynamic readonly widget in editable tree
...
We must render such widget to be able to display them when they are no more
readonly. And we must ensure they are loaded and the states is computed when
displayed.
issue8626
review280041002
2019-09-07 23:26:10 +02:00
Cédric Krier
ad7e4b9592
Prevent event when leaving invalid cell
...
issue8625
review273931002
2019-09-07 23:24:07 +02:00
Cédric Krier
02f0f3c972
Wait written and parent reload promises before calling display
...
issue8623
review265921016
2019-09-07 23:22:12 +02:00
Cédric Krier
4b6176de26
Declare fields from fields_get RPC
...
issue8621
review272131002
2019-09-07 23:20:50 +02:00
Cédric Krier
0e4419917c
Implement and use scrollIntoViewIfNeeded instead of scrollIntoView
...
It is a better user experience to not scroll if the element is already visible.
issue8619
review258021002
2019-09-07 23:19:17 +02:00
Cédric Krier
fb22f4a232
Add one day to minimal date to allow reset time
...
Setting time to zero make the date goes backward and outside the supported
range by JavaScript.
issue8614
review277781002
2019-09-07 23:17:44 +02:00
Sergi Almacellas Abellana
3d6427ed73
Update to PapaParse 5
...
issue8581
review277711002
2019-09-03 13:16:22 +02:00
Cédric Krier
eeaa615f7e
Remove horizontal margin on filter box
...
issue8600
review285861003
2019-09-02 18:38:10 +02:00
Cédric Krier
3a48911870
Use panel for tab content
...
issue8599
review262031002
2019-09-02 18:36:52 +02:00
Cédric Krier
b513ae9994
Replace child_of target only if it is not a related field
...
issue8609
review285911002
2019-09-02 18:34:55 +02:00
Cédric Krier
5ea10804aa
Set focus on the form if it does not have it
...
When set_cursor is called, it should force to set the focus on the first
focusable widget of the form.
issue8604
review258011002
2019-09-02 18:33:18 +02:00
Cédric Krier
24a88b7999
Add input-icon classes on date widget of Dict
...
issue8608
review277761002
2019-09-02 18:31:43 +02:00
Cédric Krier
58ea79382a
Do not consider readonly/non editable widget as focusable
...
issue8475
review277751002
2019-09-02 18:28:23 +02:00