Commit Graph
182 Commits
Author SHA1 Message Date
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
Cédric Krier 1d8798da2a Add views of the field in the loading strategy
This strategy limits the selection of other fields to load in bunch to those
sharing at least one common view.

issue7359
review47351002
2018-06-20 11:22:18 +02:00
Diego Abad e781efb4f2 Support width attribute on tree view
issue7503
review53271003
2018-06-19 10:48:34 +02:00
Sergi Almacellas Abellana ecf1d18c14 Call on_change methods after setting default dtstart on calendar view
issue7496
review48441002
2018-06-07 14:36:15 +02:00
Sergi Almacellas Abellana 01cbdca002 Convert value to datetime when setting calendar view default value
issue7495
review47471002
2018-06-06 16:18:39 +02:00
Cédric Krier 7d527be7b9 Allow to open in new tab Many2One and Reference
issue7324
review47301002
2018-05-23 23:18:54 +02:00
Cédric Krier 5f7b567785 Format correctly numbers in Dict widgets
- use input of type number to have locale format

issue7429
review50341002
2018-05-16 23:45:53 +02:00
Cédric Krier 76a84aa23e Format correctly numbers in Dict widgets
- display 0 instead of empty
- round to the number of digits

issue7429
review50341002
2018-05-16 23:45:18 +02:00
Cédric Krier 67044270f1 Increase the space available on main navbar for tablist
- use icon instead of text for logout
- move favorites in the global search
- merge brand and toggle menu
- allow to toggle menu on lg
- reduce expander size

issue7325
issue5554
review44921002
2018-05-12 01:04:50 +02:00
Sergi Almacellas Abellana b338862bfa Store many2one rec_name before showing new view
The widget value may be cleared before loading the new screen so the value
must be read before the callback creation

issue7413
review42131002
2018-05-07 12:40:44 +02:00
Cédric Krier 6c827ff95a Fix sort since search_filter does not return a new group
Since changeset 620524b88ffb, search_filter does set a new group but sort of
the tree relied on it.

issue7392
review45441002
2018-04-30 14:39:56 +02:00
Cédric Krier a9dd3203b0 Disable dp.change event when setting date value
DateTimePicker trigger the event when the date value is set which trigger the
focus_out. When this happens during the display of a Dict widget, the keys not
yet displayed are lost.

issue7361
review47331003
2018-04-20 12:48:36 +02:00
Cédric Krier 2c5b87ed7f Do not call Action.exec_keyword with a context containing Session.context
The Session.context should not be stored as the new Screen context.

issue7369
review42101002
2018-04-20 12:45:59 +02:00
Cédric Krier 85d6e5239f Move max-width CSS Integer to apply only on form
The rule breaks the display of the widget on editable tree as it should expand
to the width of the cell.

issue7357
review47331002
2018-04-19 00:13:44 +02:00
Cédric Krier 62672e94e3 Replace bitwise OR by logical OR in LabelMixin
issue7356
2018-04-18 13:38:52 +02:00
Cédric Krier 18defc9f37 Synchronize the Date Dict widget behavior with the Date widget
- move button on the left
- add operators

issue7279
review49261002
2018-04-18 10:16:06 +02:00
Cédric Krier f986be5a8a Consider undefined string attribute on label as a string
A label or separator the name of a field and no string should display the
string of the field.

issue7356
review44981002
2018-04-18 10:08:52 +02:00
Kunkel Pierre 4c129f3b27 Manage readonly state on boolean in Dict widget
issue7341
review42081002
2018-04-14 10:22:46 +02:00
Cédric Krier 9c514ff2db Manage empty string attributes on label
issue7321
review37211003
2018-04-13 18:53:38 +02:00
Cédric Krier d2ccdfeb99 Hide empty image displayed as broken image
issue7319
review47281002
2018-04-13 18:52:51 +02:00
Cédric Krier 5302206ce4 Avoid modification of not normalized value from richtext widget
issue7313
review46321002
2018-04-13 18:45:50 +02:00
Cédric Krier 860f2200a2 Increase date/time size and move button on the left
issue7298
review38121002
2018-04-05 19:20:51 +02:00
Cédric Krier 8c0b2bece7 Use Screen.load when opening Window.Form in Many2Many
The changeset 4392ca20106e changed the order of the calls to group.load and
set_group. So no current_record was set when Window.Form was called.

issue7278
review47271002
2018-04-05 19:14:08 +02:00
Cédric Krier 927eaf7911 Use max-width CSS instead of width attribute for Integer input
issue7301
review42031002
2018-04-04 23:09:47 +02:00
Cédric Krier b6017386ae Set overflow on closest .treeview when datetimepicker is shown
This applies the same technique as for completion.

issue5967
review44861002
2018-04-04 23:06:56 +02:00
Cédric Krier 11486416c4 Make PYSON widget works for Object and Array
- eval object as statement
- generalise toString from PYSON
- do not modify the value because of different encoding

issue7105
review46311002
2018-04-03 16:44:24 +02:00
Cédric Krier 88ec3e7b84 Refactor the editable tree process
issue7261
review45321002
2018-03-30 18:21:13 +02:00
Cédric Krier a80511be29 Properly test against screen group parent
issue7294
review45331002
2018-03-30 18:17:03 +02:00
Kunkel Pierre 7f8db31a8d Set disabled attribute instead of readonly in Dict Selection
issue7297
review42021002
2018-03-30 18:07:12 +02:00
Cédric Krier 4737d7f37c Allow Date/Time widgets to be smaller
We replace width by max-width because on editable tree, the widget may need to
take less place if the cell is too small.

issue7272
review42001002
2018-03-29 20:21:29 +02:00
Cédric Krier 08ad34eca2 Add BC47 transformer and use it for toLocaleString and lang attribute
issue7250
review36061002
2018-03-29 20:18:59 +02:00
Cédric Krier 271689ffad Use screen group to convert timedelta
The record is not always defined if no record is selected.

issue7268
review37151002
2018-03-28 19:58:00 +02:00
Cédric Krier 4d9afbedc8 Add title attribute to sum cells
issue7269
review44231002
2018-03-28 19:57:12 +02:00
Cédric Krier d59800ab97 Compare screen group with same length as rows record
This happens when the view does not display all the records but the number of
displayed rows is equal to the display size.

issue7275
review44811002
2018-03-28 19:56:16 +02:00