Cédric Krier
d55033bbc3
Correctly evaluate domain between xxx2many and null
...
The value of empty xxx2Many is an empty Array which must be comparable to
null.
issue7163
review44681002
2018-03-04 00:53:46 +01:00
Cédric Krier
4dd5606a08
Load model access synchronously
...
It is needed if the list of model has changed since the login.
issue6635
review37731002
2017-10-13 23:36:18 +02:00
Cédric Krier
f990f1e5a3
Do not fail when completing selection with last value None
...
This may happen when searching for several values which need to be quoted
using ';"'.
issue6714
review35641002
2017-10-05 22:34:12 +02:00
Cédric Krier
2a83ece397
Keep a single instance of PYSON Encoder in SearchView
...
issue6744
review36601002
2017-09-07 21:01:00 +02:00
Cédric Krier
178661a672
Add missing context when storing last_domain of selection
...
The last_domain should be composed of the domain and the context.
issue6710
review43401002
2017-08-28 18:29:25 +02:00
Sergi Almacellas Abellana
809dbef789
Don't show warning dialog message as dialog title
...
issue6369
review30161002
2017-04-27 10:26:42 +02:00
Felipe Morato
58b82777c6
Mark 'Processing...' string as translatable
...
issue6452
review42261002
2017-04-21 10:16:30 +02:00
Cédric Krier
203f0118f3
Ellipsize tab label longer than 20 chars
...
issue6284
review33851002
2017-02-25 18:38:58 +01:00
Sergi Almacellas Abellana
fef211dfb9
Avoid passing mime-type data to blob object when downaloding files
...
issue5991
review31121002
2017-02-20 17:22:20 +01:00
Xavier Codinas
45620d0400
Use filename when file download
...
issue5991
issue6051
review33671002
2017-02-17 12:37:58 +01:00
Cédric Krier
e173dab274
Always return a promise on UniqueDialog.run
...
issue6166
review30971002
2017-01-10 11:39:20 +01:00
Diego Abad
dbb9384bb4
Convert to moment default format of date_format
...
issue5955
review27691002
2016-10-29 23:48:13 +02:00
Cédric Krier
662bee311b
Add support for button rule
...
issue5944
review28911002
2016-10-26 09:45:38 +02:00
Sergi Almacellas Abellana
314d108c95
Use the same src text for boolean in ScreenContainer and in DomainParser
...
Otherwise the translated value may return a different value and then it's
comparison will fail.
issue5904
review32631002
2016-10-13 17:00:44 +02:00
Sergi Almacellas Abellana
c0f49e52c8
Merge recursive results in DomainParser.parse_clause
...
We should use jQuery.merge instead of Array.concat, as concat creates a new
Array (which was not correctly returned) and jQuery.merge merges the contents
of both arrays in the first array.
issue5883
review26651003
2016-09-20 09:49:57 +02:00
Sergi Almacellas Abellana
37d91cb526
Don't set button text when reusing existing button elements
...
Since changeset 4744202e7c6a button elements are reused, so we must
only add its text when it does not exist otherwise the label is shown
multiple times.
issue5870
review32571002
2016-09-13 10:24:42 +02:00
Nicolas Évrard
3e735b24c5
Honor required and readonly status in [OM]2M title label
...
issue5649
review21081002
2016-09-08 10:16:04 +02:00
Cédric Krier
73481748c1
Reuse existing cell when redrawing row
...
It is better to avoid remove/append on the DOM to prevent to trigger a repaint.
So we should reuse existing cell if possible instead of replacing it on each
redraw.
issue5803
review21211002
2016-08-25 19:11:24 +02:00
Xavier Codinas
a3d5cce4b5
Allow to update fields in DomainParser
...
issue5821
review27591002
2016-08-24 16:12:26 +02:00
Sergi Almacellas Abellana
14df832d52
Add missing bind in DomainParser.complete_reference
...
issue5731
review22191002
2016-07-26 15:55:57 +02:00
Xavier Codinas
1af28f73a1
Return empty object in MODELACCESS.model.get
...
It is to allow to retrieve access keys with default empty
value without failing.
issue5708
review29381003
2016-07-18 23:57:39 +07:00
Cédric Krier
659565265d
Button can be enable on readonly record and group
...
issue5010
review27391002
2016-06-30 21:52:35 +02:00
Xavier Codinas
742a5ed995
Add missing variable in DomainParser.completion
...
And add test for completion on empty value
issue5664
review25251002
2016-06-27 19:10:10 +02:00
Sergi Almacellas Abellana
405c4e2954
Return a rejected promise when registering an icon with no value
...
This makes the done callbacks to not be called so the src field of the image
is not set which is better than setting an empty value as the browser renders
it as a not found image when it can not found the image
issue5639
review29291002
2016-06-15 09:53:50 +02:00
Sergi Almacellas Abellana
da3df7dd8f
Fix search_box autocomplete for empty values
...
issue5619
review28281002
2016-06-09 17:43:01 +02:00
Cédric Krier
41708e5f17
Prevent submit of UniqueDialog
...
- trigger the first primary button on submit
- put the focus on the first input/select
issue5520
review16191002
2016-04-28 20:57:37 +02:00
Cédric Krier
3f381dac71
Uses 30 days for month for Timedelta
...
issue5282
review20041002
2016-03-21 23:54:08 +01:00
Cédric Krier
421f2fbf21
Manage context model of ir.action.act_window
...
issue5220
review15881002
2016-03-15 17:46:26 +01:00
Cédric Krier
1f6b0f9f8c
Fix domain parser when value is an operator
...
issue5266
review24751002
2016-02-02 19:09:55 +01:00
Cédric Krier
4b23b2349a
Use body attribute instead of find in AskDialog
...
Sao.Dialog doesn't have a find method but it defines body attribute.
issue5158
review20591002
2015-12-13 14:36:11 +01:00
Karla Stenger
c95b2858af
Add missing dot on menu name
...
issue5079
review16821003
2015-11-15 17:20:47 -03:00
Nicolas Évrard
ff5201511b
Fix find_focusable_child to use lowercase when comparing with focusable widgets
2015-10-27 18:06:55 +01:00
Nicolas Évrard
93df2996ba
Implement set_cursor
...
review22561002
2015-10-27 10:55:57 +01:00
Cédric Krier
48e7c247c1
No need of container-fluid in Paned
...
as the class is already set on the #main
2015-10-23 12:38:43 +02:00
Cédric Krier
856339b18a
Disable HTML autocompletion on InputCompletion
2015-10-23 11:41:45 +02:00
Cédric Krier
ef717e6955
Fix cache in selection_mixin
...
_values2selection was never filled
2015-10-18 16:28:40 +02:00
Cédric Krier
a7abd832bf
Change treeview overflow on completion shown
...
When the dropdown is shown in a treeview, if there is no enough space in the
treeview, the browser adds a scrollbar to the treeview instead of expanding the
height of the treeview (and let the general scrollbar managed it). This is
because the treeview has an auto overflow-x which lead to set also the same to
overflow-y.
2015-10-16 13:49:19 +02:00
Cédric Krier
4ee1440a09
Remove key up/down hack on completion
...
The up on first element doesn't work properly so it is better to keep the
default browser behaviour and make user used to the tab navigation.
2015-10-16 13:46:44 +02:00
Nicolas Évrard
1fc34e23db
Add board views
...
review23531002
2015-10-15 10:33:37 +02:00
Cédric Krier
0a6b4e9ef2
Hide button without icon
2015-10-11 13:55:05 +02:00
Cédric Krier
bf0170cec5
Fix icon in button
...
Use img with the same height as the button line-height
review21441003
2015-10-04 19:41:59 +02:00
Cédric Krier
6678b3a6e2
Fix typo in Sao.common.click_press
2015-10-02 17:17:36 +02:00
Cédric Krier
db5372477e
Avoid to wrap element into div for InputCompletion
...
The div is only needed if it receive an input element otherwise the element can
receive the dropdown class. This avoid to increase the DOM depth and keep the
original display of the element.
2015-10-02 14:32:53 +02:00
Cédric Krier
1011453e55
Replace typeahead by custom completion based on bootstrap dropdown
...
review20421002
2015-10-02 11:49:23 +02:00
Cédric Krier
d35bfc788a
Use png image for Firefox instead of SVG
...
until https://bugzilla.mozilla.org/show_bug.cgi?id=841920 is fixed
review23431003
2015-09-25 18:03:02 +02:00
Cédric Krier
4f74bc89a5
Fix localize_domain to strip 4th element only for Reference field
...
The 4th element should only be removed is the localized field is a Reference
field otherwise it must be kept.
issue4975
review16621002
2015-09-22 22:54:41 +02:00
Cédric Krier
63d8bb4c0f
Manage keyboard navigation on tree view
...
A tabindex is added on all cells and the .one click handlers are replaced
by .on click and keypress to support return.
review18561002
2015-09-19 18:20:34 +02:00
Cédric Krier
d8529fc404
Don't raise popup when there is no tree_open action for the row
2015-09-13 10:36:18 +02:00
Cédric Krier
e2f6c5570e
Dialog message must be pre-wrap to format correctly newline
2015-09-06 21:19:17 +02:00
Nicolas Évrard
acd9342eba
Use typeahead signature and signal forgotten in changeset d4a27c6abb31
2015-09-04 17:14:22 +02:00