Commit Graph
1043 Commits
Author SHA1 Message Date
Cédric Krier e1ffe63edc Wait all the promises when setting tree state
issue7818
review54411002
2018-10-31 18:37:24 +01:00
Cédric Krier 674c4a4977 Update tree_states only when fetched from RPC
issue7818
review54411002
2018-10-31 18:36:50 +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 3a0e036cff Set the state on tree view without tree_state
issue7818
review54411002
2018-10-31 18:33:53 +01:00
Cédric Krier a26dca5c4b Correctly get parent timestamp when setting tree state
issue7818
review54411002
2018-10-31 18:32:29 +01:00
Cédric Krier 314d39aad2 Save tree state before cancel of the record on reload
issue7818
review54411002
2018-10-31 18:30:57 +01:00
Cédric Krier 630ef1f570 Do not fail on One2Many with only tree mode
switch_view should stop when it does not find the view type.
WinForm should not open if the requested view type can not be set.

issue7824
review45791002
2018-10-31 18:21:31 +01:00
Sergi Almacellas Abellana 85ac56f033 Do not use config key when setting Paparse settings
issue7825
review70431002
2018-10-31 09:27:10 +01:00
Cédric Krier 18115d9a71 Add drag & drop support on attachment button
issue7722
review60371002
2018-10-25 21:03:06 +02:00
Cédric Krier 118837f6a3 Domain with ids are not stringable
issue7788
review53441002
2018-10-21 21:32:38 +02:00
Cédric Krier af8b6441f3 Do not fail on missing attribute when compare tabs
issue7768
review49621002
2018-10-21 21:30:05 +02:00
Sergi Almacellas Abellana d6cba041f7 Call group delete instead of model.delete when saving records
The method was moved to group in by changeset 5b4da4e8b70f

issue7786
review56441002
2018-10-18 17:15:23 +02:00
Cédric Krier 4f62e48351 Return null as reference value when id is null
issue7743
review64401002
2018-09-28 22:07:07 +02:00
Cédric Krier 12a4b34967 Move record delete to group to get the group context
issue7733
review53431002
2018-09-28 17:35:05 +02:00
Cédric Krier e72445bf9d Manage exclude_field as group attribute
We can not rely on the screen linked to the group to provide this information
because if the group is the value of a One2Many inside a One2Many, the screen
is shared between multiple records and so only one record is linked to the
screen. So when the top record is validated all the records not linked to the
screen may be considered invalid because the exclude_field will not be
excluded from the validation.

issue7715
review46651002
2018-09-28 17:21:35 +02:00
Cédric Krier 2a65852006 Add missing compare method to Wizard
When wizard is run as tab, it must also have a compare method.

issue7741
review52511002
2018-09-27 22:21:30 +02:00
Cédric Krier 2ff32c2c79 Make input file fit in the parent box
issue7734
review49601002
2018-09-26 23:08:56 +02:00
Cédric Krier f2be833feb Allow to attach multiple files
issue7735
review56391002
2018-09-26 23:05:11 +02:00
Cédric Krier c748e07c71 Allow to disable Bus
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Cédric Krier ea856d36bb Prevent similar tab
issue5799
review74351002
2018-09-24 14:40:27 +02:00
Cédric Krier 6779fe70c8 Add minimal width to all form widgets
issue7706
review60351002
2018-09-24 14:34:23 +02: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 de1e636581 Allow to pass parent_context when calling get_context
issue7697
review56381002
2018-09-21 11:02:08 +02:00
Cédric Krier f36930385a Add quick return when evaluate simple expression
issue7696
review49571002
2018-09-19 00:13:59 +02:00
Cédric Krier eeb44911c6 Ignore undefined icon name
issue7704
review51531002
2018-09-19 00:11:38 +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
Cédric Krier 7ea5b47630 Catch undefined Notification for IE
Notification is not defined on IE.
Also it is better to put javascript in the js files.

issue7683
review54341002
2018-09-11 00:16:13 +02:00
Cédric Krier 4f9d43bde4 Process client action on window wizard
issue7633
review53371002
2018-09-11 00:14:24 +02:00
Cédric Krier 1ae016668f Set bus timeout to 10 minutes
issue7680
review45711002
2018-09-09 10:10:10 +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 6aa7b71c88 Improve shortcuts
- Restore CTRL+W and CTRL+N
- Use ALT instead of CTRL when conflict with browser
- Use F1 for help

issue7218
review54331002
2018-09-03 10:30:08 +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 0d545bd4d4 Do not load missing view in Window Form and call search_filter after the switch from super
This prevent a race condition which may lead to the screen loading twice the
first view.

Partially included in changeset 970f9bc0a89b

issue7660
review52451002
2018-09-02 10:54:52 +02:00
Cédric Krier f3796ec776 Use dropdown for attachments
issue7659
review50551002
2018-09-02 10:44:38 +02:00
Cédric Krier f8271980d9 Reorder window form toolbar in tree mode and update label
issue7664
review53361002
2018-09-01 17:00:37 +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 1ce62d8244 Simplify less rules by correctly use parent selector
issue7663
review52461002
2018-09-01 10:52:22 +02:00
Cédric Krier aab6fafe4e Expand row on first click
issue7656
review64341002
2018-09-01 10:51:15 +02:00
Cédric Krier 9fd0250320 Fix rtl css rules
The dir selector must be appended before the parent and menu has no more
border-left.
2018-08-30 16:36:25 +02:00
Cédric Krier 1782227602 Style menu as a navbar
issue7655
review60321002
2018-08-30 16:15:41 +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 0f2ecee3c4 Apply factor on domain parser
issue7642
review68301002
2018-08-30 16:05:38 +02:00
Cédric Krier 2bdac9492b Use tab name for CSV Export/Import
issue7640
review48571002
2018-08-30 15:57:43 +02:00
Nicolas Évrard 1e7aafecc2 Add bus management
issue7537
review66341002
2018-08-30 11:15:01 +02:00
Cédric Krier 4b066ff36d Follow label rules for Favorites 2018-08-29 13:08:27 +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 8e81b4f98a Update navbar-brand with the config.title
issue7621
review45691002
2018-08-27 22:35:11 +02:00
Cédric Krier 7f483a7e03 Use standard RPC call to set_preferences
issue7568
review54291002
2018-08-26 18:05:03 +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