Cédric Krier
9b07e6a7bc
Add support for plugins and add translate view as example
...
issue7942
review54461002
2019-01-18 10:23:13 +01:00
Cédric Krier
1b2e479538
Add minimal height for graph
...
Without a minimal height, C3js can compute a too small size.
issue7984
review45871002
2019-01-17 17:17:17 +01:00
Sergi Almacellas Abellana
ba6dd84b4c
Set skip_target to localize_domain of reference fields
...
issue7876
review60451002
2019-01-03 11:59:38 +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
e037876bb5
New API to read related fields
...
issue7888
review58431002
2018-12-21 23:41:56 +01:00
Cédric Krier
350afb84e8
Replace Array.includes by ~Array.indexOf
...
Array.includes is not yet supported by IE nor phanthomjs.
issue7869
2018-12-21 19:55:19 +01:00
Nicolas Évrard
5798cf5cbc
Fix domain inversion of child_of mixing M2O and Reference fields
...
Domain inversion on Reference field does not work when using the dotted
notation with a M2O field using child_of or parent_of.
To solve this we correctly compute the localization of child_of leaves when
using the dotted notation (which renders the inverse_leaf function useless).
But we must also ensure that the selection used by reference fields restrict
the choice to the right models.
issue7869
review60441002
2018-12-20 18:44:31 +01:00
Cédric Krier
47026d0076
Display empty string when notification body is null
...
issue7880
review72361002
2018-11-28 10:01:32 +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
864e2c8449
Fix typo for view type test in Sao.Window.Form
...
The attribute of the view which contains the type is view_type.
It was introduced by changeset e0a583fa4edc.
issue7847
2018-11-07 19:18:39 +01:00
Cédric Krier
f73d551e72
Fix typo for view type test in Sao.Window.Form
...
The attribute of the view which contains the type is view_type.
It was introduced by changeset e0a583fa4edc.
issue7843
2018-11-06 23:32:18 +01:00
Cédric Krier
a78bae0ed2
Do not reset tree state after save
...
issue7822
review54411003
2018-10-31 18:52:35 +01:00
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