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
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
Cédric Krier
1d496f074a
Synchronize locales declaration
2018-04-14 17:36:08 +02:00
Cédric Krier
761939416d
Add Persian
...
issue7311
2018-04-14 17:33:50 +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
f8ae59453a
Fix size of tab list span on IE
...
issue7318
review36151002
2018-04-13 18:55:32 +02:00
Cédric Krier
21f3b6a4b8
Loop over parent languages until finding one
...
The navigator language could not be a translated language but its parent may,
so we must use the first found parent language.
issue7326
review44931002
2018-04-13 18:54:43 +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
f809c0b6f1
Use msSaveOrOpenBlob to download file when available
...
IE does not support to download URL Blob.
issue7317
review45361002
2018-04-09 10:58:18 +02:00
Cédric Krier
574204ad0f
Add viewBox attribute to SVG
...
issue7320
review44911002
2018-04-09 10:53:58 +02:00
Cédric Krier
a1e72f1839
Add tests for PYSON Equal between moment
...
issue7187
review44081002
2018-04-09 10:46:37 +02:00
Cédric Krier
64aed7f483
Use valueOf to compare moment in PYSON Equal
...
issue7187
review44081002
2018-04-09 10:45:46 +02:00
Cédric Krier
1fa22ec80d
Typo Attachement -> Attachment
...
issue7310
2018-04-06 18:29:18 +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
19791177fd
Wait reload ends before launching action
...
issue7312
review42051002
2018-04-05 19:17:05 +02:00