Commit graph

128 commits

Author SHA1 Message Date
C?dric Krier c16ad30dba 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 272fa5c60e Uses 30 days for month for Timedelta
issue5282
review20041002
2016-03-21 23:54:08 +01:00
C?dric Krier c72b8f46d3 Manage context model of ir.action.act_window
issue5220
review15881002
2016-03-15 17:46:26 +01:00
C?dric Krier 256f7acc2e Fix domain parser when value is an operator
issue5266
review24751002
2016-02-02 19:09:55 +01:00
C?dric Krier 7807f89417 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 9d9bf9ef44 Add missing dot on menu name
issue5079
review16821003
2015-11-15 17:20:47 -03:00
Nicolas ?vrard c05710f4e8 Fix find_focusable_child to use lowercase when comparing with focusable widgets 2015-10-27 18:06:55 +01:00
Nicolas ?vrard 1d0cbc4a64 Implement set_cursor
review22561002
2015-10-27 10:55:57 +01:00
C?dric Krier 641eaf0771 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 c66fd48be5 Disable HTML autocompletion on InputCompletion 2015-10-23 11:41:45 +02:00
C?dric Krier bd58f72f21 Fix cache in selection_mixin
_values2selection was never filled
2015-10-18 16:28:40 +02:00
C?dric Krier b552ed9177 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 2fb132402a 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 01d00996fb Add board views
review23531002
2015-10-15 10:33:37 +02:00
C?dric Krier 89ac63852c Hide button without icon 2015-10-11 13:55:05 +02:00
C?dric Krier f75a1bc20b 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 e07765caf7 Fix typo in Sao.common.click_press 2015-10-02 17:17:36 +02:00
C?dric Krier f4c13435db 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 92e7244c18 Replace typeahead by custom completion based on bootstrap dropdown
review20421002
2015-10-02 11:49:23 +02:00
C?dric Krier 2605551930 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 e2efb68a02 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 058b34c698 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 3288571464 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 12b4673fd5 Dialog message must be pre-wrap to format correctly newline 2015-09-06 21:19:17 +02:00
Nicolas ?vrard 59729a747a Use typeahead signature and signal forgotten in changeset d4a27c6abb31 2015-09-04 17:14:22 +02:00
C?dric Krier c86ffe3cf9 Add support of TimeDelta to DomainParser
issue4851
review23271002
2015-07-09 15:32:45 +02:00
Nicolas ?vrard e1332a3391 Add support for Esc key in editable tree 2015-05-29 17:08:28 +02:00
Nicolas ?vrard c7890822ca Fix typo introduced in changeset d9a8e1069887 2015-05-29 13:42:18 +02:00
C?dric Krier 1dbe8ff497 Add i18n
review16321002
2015-05-29 10:44:10 +02:00
C?dric Krier c332f9c3a2 Remove useless comment 2015-05-22 18:27:44 +02:00
C?dric Krier 6642eae6a0 Fix is_leaf test
instanceof String doesn't work, we must use typeof
2015-05-15 15:29:07 +02:00
Nicolas ?vrard 378784da30 Remove the need to define domain operators
issue4714
review7111002
2015-05-15 13:50:52 +02:00
C?dric Krier bc85d837b7 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 4236bdd685 Add Search / Create actions to many2one autocompletion popup
review15341002
2015-04-30 17:38:56 +02:00
C?dric Krier c43c1ccf86 Manage exception on Record and readonly state 2015-04-30 13:57:29 +02:00
Nicolas ?vrard 6ac2e5260f Add autocompletion on search entry 2015-04-24 13:56:41 +02:00
C?dric Krier a070f9c5e7 Don't consider as unique clause with nested target
issue4552
review11161002
2015-03-30 22:40:07 +02:00
C?dric Krier 6a95d7638f Filter leaf domain of Reference fields
The domain of Reference fields must be filtered out for non-valid target
because the localization will remove the target part and thus generate an
invalid domain for the specific target.

issue4680
review11141003
2015-03-30 22:37:52 +02:00
C?dric Krier 732a86b00c Set min value when evaluate date/time leaf 2015-03-27 15:41:05 +01:00
C?dric Krier b61c1bba22 Add selection from multiple options 2015-03-27 14:46:59 +01:00
C?dric Krier e1e44176a1 Fix typo from changeset 46a4cfae7418 2015-03-27 13:10:28 +01:00
C?dric Krier 888675db2f Use a common Dialog Object to build modal 2015-03-27 11:49:22 +01:00
C?dric Krier b13136e57b select_change_with attribute must be tested against empty 2015-03-26 19:37:30 +01:00
Nicolas ?vrard 6f29eb0455 make DomainParser.operatorize support clause with null values
review15151002
2015-03-25 18:41:43 +01:00
C?dric Krier c5511814a9 Fix remove after modal hide
modal hide is asynchronous and so removing the element before it has finished
to hide with fade, bootstrap will leave the backdrop.
2015-03-24 21:13:50 +01:00
C?dric Krier 321f1f7e84 Hide columns containing always the same value
The domain inversion is used on the screen domain combined with the tab domain
to find columns that has always the same value.

issue4552
review9141003
2015-03-18 11:10:29 +01:00
C?dric Krier de1833b9cb Manage instance button
issue4397
review11991002
2015-03-16 12:58:22 +01:00
Nicolas ?vrard f39009d29b Add autocompletion on M2O form widgets
review15051002
2015-03-13 16:45:47 +01:00
C?dric Krier ea2ac5096d Don't format empty time 2015-03-13 13:39:21 +01:00
Nicolas ?vrard 068002c9c7 remove inner function args to prevent hiding real update_selection arguments 2015-03-06 17:12:18 +01:00