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
Cédric Krier
d055bc5aef
Add support of TimeDelta to DomainParser
...
issue4851
review23271002
2015-07-09 15:32:45 +02:00
Nicolas Évrard
4d475201e0
Add support for Esc key in editable tree
2015-05-29 17:08:28 +02:00
Nicolas Évrard
e03fa5ccb9
Fix typo introduced in changeset d9a8e1069887
2015-05-29 13:42:18 +02:00
Cédric Krier
728d9e2096
Add i18n
...
review16321002
2015-05-29 10:44:10 +02:00
Cédric Krier
8510916337
Remove useless comment
2015-05-22 18:27:44 +02:00
Cédric Krier
3252e8e129
Fix is_leaf test
...
instanceof String doesn't work, we must use typeof
2015-05-15 15:29:07 +02:00
Nicolas Évrard
360aa8461d
Remove the need to define domain operators
...
issue4714
review7111002
2015-05-15 13:50:52 +02:00
Cédric Krier
d041e5288f
UniqueDialog buttons must have a type button
...
as they are put inside a form otherwise they behaves like a submit
2015-05-07 12:11:06 +02:00
Nicolas Évrard
0f813b0cf7
Add Search / Create actions to many2one autocompletion popup
...
review15341002
2015-04-30 17:38:56 +02:00
Cédric Krier
8951d99ade
Manage exception on Record and readonly state
2015-04-30 13:57:29 +02:00
Nicolas Évrard
3e803e62b4
Add autocompletion on search entry
2015-04-24 13:56:41 +02:00