Cédric Krier
445d340425
Call set method in set_default
...
The default value format may not be the internal format for _values like a
string for Reference field instead of a list.
issue7514
review42241002
2018-06-18 21:48:05 +02:00
Nicolas Évrard
b26ff4dd86
Use non conflicting keyboard shortcuts
...
issue7218
review41181002
2018-06-18 15:47:18 +02:00
Cédric Krier
693b33528f
Use auto width and some marge for large modal on medium screen
...
issue7504
review48461003
2018-06-11 23:29:00 +02:00
Maxime Richez
148dcc674c
Add context to get_rec_name RPC call
...
issue7454
review46511002
2018-06-08 09:25:25 +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
823c698599
Ensure Record.load promise is resolve when field is loaded
...
The Record.set should wait the eventual promises of Field.set before setting
_loaded and validate.
issue7467
review50461002
2018-06-04 18:51:33 +02:00
Cédric Krier
3ddc30e7ae
Move predefined exports list uder the buttons that control it
...
This makes the view more consistent with the selected fields that come from
the current view.
issue7462
review52301002
2018-05-31 13:21:11 +02:00
Cédric Krier
d3dffd7208
Stop click event from tab menu
...
Otherwise the hash location is cleared as the menu entries are link with
href="#".
issue7461
review42191002
2018-05-29 10:30:32 +02:00
Cédric Krier
24cd57c609
Convert to Number for identity comparison if one member is an instance
...
In Javascript, the identity comparison is not true when comparing a Number
with its instance. But domain may use integer or float in their clause against
Numeric fields.
issue7446
review50421002
2018-05-24 13:21:47 +02:00
Cédric Krier
a44a767fa4
Do not fill group with undefined when sorting on unknown ids
...
issue7455
review49361002
2018-05-23 23:35:41 +02:00
Cédric Krier
47d3cc8458
Do not create new group when search_filter is called only for ids
...
issue7455
review49361002
2018-05-23 23:35:05 +02:00
Cédric Krier
31c1aa96f0
Use save to get message info when triggering an action
...
Instead of always calling save_current on the screen, it is better to call
save when the record has been modified. This allows to get message information
about failure or success but only if the record needed to be saved.
issue7430
review38231002
2018-05-23 23:29:37 +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
Sergi Almacellas Abellana
b62bba2bac
Store session in browser storage
...
issue7018
review36911002
2018-05-23 16:40:26 +02:00
Cédric Krier
392a86ad6e
Update dependencies
...
issue7448
review46451002
2018-05-22 23:31:46 +02:00
Cédric Krier
1bdf6fb17e
Update missing translations
...
issue7414
2018-05-21 23:13:15 +02:00
Cédric Krier
79cbde2ad6
Ensure sequential order of on_change calls
...
It is expected that the on_change_with calls are done using the result values
from the prior on_change calls.
issue7433
review50361002
2018-05-17 18:26:10 +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
Cédric Krier
70134eff16
Manage URL and history
...
issue7370
review48271002
2018-05-12 00:39:59 +02:00
Cédric Krier
d1f696ee0e
Do not set a default date_format in context when executing an action
...
Sao.common.date_format is in charge of using the session context as fallback.
issue7419
review45071002
2018-05-10 20:20:37 +02:00
Cédric Krier
99a7eba794
Set overflow-y of #menu to auto
...
This ensure that the vertical scrolling for the menu will be done the element
instead of the page.
issue7420
review49321002
2018-05-10 20:15:22 +02:00
Cédric Krier
870b7a4add
Add tests for domain evaluation of reference field with Array value
...
issue7418
review49311002
2018-05-10 20:14:15 +02:00
Cédric Krier
2f9aa10dfe
Call display only on current view or view that has a parent
...
It is only needed to refresh the display of a view that is actually displayed
which means being attached to the DOM.
issue7363
review49271003
2018-05-08 10:05:39 +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
1ef320e3ab
Set overflow-y visible when global search drop-down is shown
...
The content of the search result may overflow the size of the menu.
issue7327
review44941002
2018-04-30 15:52:57 +02:00
Cédric Krier
295671c072
Let domain inversion set resource field value
...
If the tree view of the resource is editable, the Window.Form saves the
records before the callback when the current record is no more edited. This
fails because resource field is not yet set.
issue7394
review49301002
2018-04-30 14:52:21 +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
379e7e430c
Increase version number
2018-04-23 17:14:12 +02:00
Cédric Krier
b5433442a5
Added tag 4.8.0 for changeset 08b000057b0b
2018-04-23 17:14:01 +02:00
Cédric Krier
3f25159319
Prepare release 4.8.0
2018-04-23 17:14:01 +02:00
Cédric Krier
ab5da74b4f
Synchronize the screen DateTimes behavior with the Date widget
...
- move button on the left
- add operators
issue7382
review38181002
2018-04-22 00:26:04 +02:00
Cédric Krier
1410271642
Do not try to parse as date datetime value in domain parser
...
The moment parsing does not care if the time is missing.
issue7373
review50281003
2018-04-22 00:23:29 +02:00
Cédric Krier
fa508d5366
Add test for parse_clause of nested generator
...
issue7345
review42111002
2018-04-22 00:20:54 +02:00
Cédric Krier
d41f84f7dc
Push result of parsed of generator clause instead of merging into result
...
issue7345
review42111002
2018-04-22 00:20:32 +02:00
Cédric Krier
b3590d2dc8
Update translations
2018-04-21 13:04:56 +02:00
Cédric Krier
b5d299770d
Do not convert 0 value into null in Float/Numeric fields
...
issue7349
review38171003
2018-04-20 18:42:40 +02:00
Cédric Krier
90d51711ac
Run the hidden callback directly if the wizard dialog is not shown
...
The event hidden.bs.modal is not triggered if the dialog is not shown (ex:
there was no StateView during the wizard lifetime).
issue7379
review36231002
2018-04-20 18:39:35 +02:00
Cédric Krier
fed8553feb
Get initial value only when cancel button is on window form
...
The initial value is only useful with the view type is form otherwise screen
may not have a current record like in Attachment.
issue7377
review36221002
2018-04-20 18:38:15 +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
baf255656c
Recompute index after loading new list of models in ModelAccess
...
issue7371
review45401002
2018-04-20 12:47:20 +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
702253eac6
Test the length of the Array before applying map/reduce
...
The value of the multiple select is an Array which may be empty. Array.reduce
fails on empty Array if it does not have a default value.
issue7367
review45391002
2018-04-20 01:10:17 +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
33ca0361cb
Replace Model.find call in Screen.search_filter by direct call to search
...
Model.find creates a new Group with the context of the call which breaks the
rationalization of the context from changeset 4392ca20106e.
issue7323
review36191002
2018-04-19 00:12:50 +02:00
Cédric Krier
c6ff1eba4c
Use ISO-8601 format for toString call on Date and DateTime
...
Papaparse call toString to write values. So to ensure the same format between
clients, toString on Date and DateTime must return ISO-8601 format with space
as time separator.
issue7305
review36161002
2018-04-19 00:05:04 +02:00
Cédric Krier
5817059b5d
Remove unused Deferred in ModelAccess
2018-04-18 19:24:13 +02:00
Cédric Krier
62672e94e3
Replace bitwise OR by logical OR in LabelMixin
...
issue7356
2018-04-18 13:38:52 +02:00