Cédric Krier
f8a1908d11
Add HTML editor
...
issue8004
review54481002
2019-03-30 16:04:45 +01:00
Cédric Krier
13777b21b0
Do not propagate click on selection cell
...
but select the checkbox instead.
issue8209
review287071002
2019-03-28 19:31:18 +01:00
Sergi Almacellas Abellana
2610f65d56
Add day view on calendar
...
issue7774
review66441002
2019-03-28 12:26:19 +01:00
Cédric Krier
809a2f5050
Add background color to selected rows
...
issue8210
review273121002
2019-03-22 18:20:32 +01:00
Cédric Krier
993166e422
Remove shortcuts from labels
2019-03-22 11:40:32 +01:00
Cédric Krier
8935354237
Add missing variable declaration
...
introduced by changeset 2fc36d9e359b
2019-03-16 15:18:46 +01:00
Cédric Krier
85827c9849
Fix dict widget name
...
A typo was introduced in changeset 2fc36d9e359b
2019-03-16 14:58:46 +01:00
Cédric Krier
7ab6adcf61
Test not field instead of undefined
...
issue8188
review255091005
2019-03-15 11:19:26 +01:00
Cédric Krier
c9d05b4b14
Add missing implementation of get_fields on views
...
issue8131
2019-03-13 19:30:13 +01:00
Cédric Krier
31f61c1a0c
Use separate XML parser in Views
...
issue8131
review54561002
2019-03-11 12:02:58 +01:00
Cédric Krier
1c689e2412
Add size attribute to image tag
...
issue8146
review49781002
2019-03-09 17:10:34 +01:00
Cédric Krier
284369d130
Add range selection with Shift-click
...
issue5126
review47851002
2019-03-08 23:56:12 +01:00
Nicolas Évrard
e1aae61d5d
Remove forgotten usage screen.current_record in widget
...
issue8067
review62411002
2019-03-07 18:01:32 +01:00
Nicolas Évrard
296a60613b
Remove use of screen.current_record and screen.group from views
...
issue8067
review62411002
2019-03-01 15:05:50 +01:00
Cédric Krier
e7d8808c4e
Keep all records selected when clicking more
...
When more is clicked, the display_size is increased and display is called with
no selected value. We need to check for the selection state to include in the
selected the future new rows.
issue7712
review60571002
2019-02-26 16:07:34 +01:00
Cédric Krier
6ee36ce4d5
Make input in reference widgets take 50% each one
...
This avoid the reference widget to overflow to other cells when used in an
editable tree. But to be able to use just 50%, we need to remove the '-'
between the two inputs.
issue8116
review54541003
2019-02-26 15:47:57 +01:00
Nicolas Évrard
0bb7ce4af7
Use properties
...
issue8109
review47811003
2019-02-14 16:31:31 +01:00
Cédric Krier
d3ae675c97
Add support for height and width on notebook
...
issue8078
review45921002
2019-02-13 10:58:33 +01:00
Cédric Krier
61523d8975
Only parse the date content on Enter
...
It should not set the date value to today but only parse the existing input as
a date.
issue8043
review50741002
2019-02-13 10:25:09 +01:00
Cédric Krier
9883aaaef8
Ignore operators on readonly date widget
...
Readonly date should not be modified by operators.
issue7932
review47791002
2019-02-10 13:16:33 +01:00
Cédric Krier
14831f35c6
Fix typo recor -> record
...
issue8020
2019-02-09 01:06:17 +01:00
Cédric Krier
21ed1a8c3a
Use horizontal form for Dict widget
...
This allows to vertically align label and input.
It reduces also the space for label and limit the size of checkbox.
It align the search input with others and add a placeholder.
issue7990
review45881002
2019-02-03 20:44:50 +01:00
Cédric Krier
2e772a776c
Share the same behavior between Form and Dict widgets
...
The input numbers can share the same behavior between Form and Dict.
issue7989
review70491003
2019-02-03 20:41:51 +01:00
Cédric Krier
0deee46c8e
Use standard Array.sort and do not update search_count when only ids
...
The current implementation of Group.sort is not correct because it does not
guarantee to replace all the records if the ordered list does not contain all
the existing records. So it is better to use the standard Array.sort method.
Also the search_count should not be updated when doing a search only for ids
as the number of record does not change.
issue8042
review50731002
2019-02-03 20:29:41 +01:00
Cédric Krier
6410b91ace
Missing translation of ':'
...
issue8041
review54501002
2019-02-03 20:19:41 +01:00
Nicolas Évrard
02c3e14fd5
Use record and field properties of widget instead of method arguments
...
issue8020
review58491002
2019-01-23 16:58:11 +01:00
Nicolas Évrard
5be8698ac2
Do not prevent to reset X2Many widget when no record is linked to the form
...
It can occur when for example, you delete a record. The current code skipped
the reset of the widget which made it stays filled.
2019-01-23 14:37:31 +01:00
Cédric Krier
836018b70c
Keep column arrow up to date
...
When an order is set on a One2Many widget and the user reload the form, the
selected order is lost and so the client should no more display those arrow.
For that we update the arrows on each display using the screen order. And we
unset the screen order when the group change as we do not know the order of
this group.
issue7817
review70481002
2019-01-02 18:56:34 +01:00
Cédric Krier
ea0fe3d620
Do not recycle first record as product result
...
It is not affected by issue7941 but we follow anyway the same algorithm for
both clients.
review58461002
2019-01-02 18:53:45 +01:00
Cédric Krier
a262098879
Ensure translate_widget_set is always called with string
...
issue7922
review56511002
2018-12-30 00:17:57 +01:00
Cédric Krier
ac5b8d5fbd
Add support for expand, height and width attributes
...
issue7886
review51581002
2018-12-22 00:19:20 +01:00
Cédric Krier
f4147cfbc9
Do not use is visible to count non invisible columns
...
If the table is hidden by a tab, all the headers are invisible and the
responsive class is not correctly set.
We need to have a special class for the menu to avoid responsive behavior
because it has two columns even if the thead is invisible.
issue7849
review50621002
2018-11-28 09:54:15 +01:00
Cédric Krier
4af35ca4f2
Correctly test for empty selected list
...
issue7818
review54411002
2018-10-31 18:34:37 +01:00
Cédric Krier
0fb0adfcc9
Change modal-body overflow on datepicker show
...
Since 9f1aa32d4c75, modal-body as overflow-x auto, when the completion is
shown the browser adds a scrollbar to the modal-body and the completion is not
visible.
issue7582
review54361002
2018-09-24 14:31:44 +02:00
Cédric Krier
d81ea3e05a
Pass index to select_column
...
The call has changed in changeset 1b004f5795c3 such that no event is passed.
issue7699
review48601002
2018-09-14 22:49:29 +02:00
Sergi Almacellas Abellana
09c8f49314
Ensure hidden column is shown when domain inversion is no longer applicable
...
issue7670
review56351002
2018-09-06 10:44:32 +02:00
Cédric Krier
d20385d9fc
Add default focus method on Form Widget
...
The editable tree is calling this method to set the focus on the edited widget
so it must be part of the API of Widget.
issue7661
review54321002
2018-09-02 10:56:43 +02:00
Cédric Krier
f3796ec776
Use dropdown for attachments
...
issue7659
review50551002
2018-09-02 10:44:38 +02:00
Cédric Krier
fcd3cffffd
Replace group buttons by icons in input
...
issue7654
review54311002
2018-09-01 16:52:42 +02:00
Cédric Krier
aab6fafe4e
Expand row on first click
...
issue7656
review64341002
2018-09-01 10:51:15 +02:00
Cédric Krier
639f6e4aae
Support RTL language direction
...
- Use bootstrap-rtl-ondemand css rules to modify bootstrap behavior.
- Add flip class on navbar.
- Switch offcanavas direction.
- Replace right/left icon depending.
- Flip icon image
issue7388
review74291002
2018-08-30 16:09:18 +02:00
Cédric Krier
dc0262a4d0
Do not set editable class to label not linked to field
...
issue7631
review58381002
2018-08-29 09:02:27 +02:00
Cédric Krier
ccb31e7b0f
Set step to 'any' when there is no digits
...
issue7618
review47661002
2018-08-20 22:40:47 +02:00
Cédric Krier
eff545ea00
Use material design icons
...
and remove specific code for SVG icons on Firefox
issue7195
issue474
review60291002
2018-08-19 20:01:49 +02:00
Cédric Krier
9485002270
Move add/remove input next to the add and remove buttons
...
The changeset c2b74d2ff7ed reordered the toolbar but left the input at the
beginning while the add and remove buttons were moved in the middle next to
the create button.
issue7604
review47641002
2018-08-07 14:01:27 +02:00
Cédric Krier
4bfa18fff3
Do not change location hash when clicking on links
...
issue7596
review49521002
2018-08-06 19:08:07 +02:00
Cédric Krier
e2f0abf2fc
Add support of timestamp field on client
...
issue6463
review50521002
2018-08-01 11:37:09 +02:00
Cédric Krier
3395f90190
Remove selected/expanded from tree construct
...
issue7468
review42201002
2018-07-27 17:39:36 +02:00
Nicolas Évrard
7108a224a5
Validate dictionary items
...
issue7199
review47541002
2018-07-09 12:44:26 +02:00
Cédric Krier
4dcd8deab1
Replace chained comparison as it is not support by JS
...
issue7513
review56271002
2018-06-24 16:49:33 +02:00