Commit Graph
98 Commits
Author SHA1 Message Date
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
Cédric Krier ca9a85b5ec Don't consider as unique clause with nested target
issue4552
review11161002
2015-03-30 22:40:07 +02:00
Cédric Krier e8e6fecc2d 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 f52be78bf2 Set min value when evaluate date/time leaf 2015-03-27 15:41:05 +01:00
Cédric Krier 9cc55449be Add selection from multiple options 2015-03-27 14:46:59 +01:00
Cédric Krier d643e42a51 Fix typo from changeset 46a4cfae7418 2015-03-27 13:10:28 +01:00
Cédric Krier a8c3da97da Use a common Dialog Object to build modal 2015-03-27 11:49:22 +01:00
Cédric Krier 19133e2898 select_change_with attribute must be tested against empty 2015-03-26 19:37:30 +01:00
Nicolas Évrard 630ba8b051 make DomainParser.operatorize support clause with null values
review15151002
2015-03-25 18:41:43 +01:00
Cédric Krier 1b4a8928f0 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 2c4b4a3152 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 4c61fe8b7d Manage instance button
issue4397
review11991002
2015-03-16 12:58:22 +01:00
Nicolas Évrard 52899110ee Add autocompletion on M2O form widgets
review15051002
2015-03-13 16:45:47 +01:00
Cédric Krier 072e8d57fa Don't format empty time 2015-03-13 13:39:21 +01:00
Nicolas Évrard fedfa1b5e3 remove inner function args to prevent hiding real update_selection arguments 2015-03-06 17:12:18 +01:00
Nicolas Évrard dd0d22c169 Call update_selection only after init_selection is finished 2015-03-06 16:26:47 +01:00
Cédric Krier a5de039409 Manage bookmarks
review13021002
2015-03-06 09:33:35 +01:00
Cédric Krier 2499a31c06 Manage product attribute
issue4229
review13591002
2015-03-02 23:17:49 +01:00
Cédric Krier e143df1c6d Decrease processing timeout to 500msec 2015-02-28 01:21:30 +01:00
Cédric Krier 06f3f3ec7b Use form in modal
review9021002
2015-02-27 10:25:02 +01:00
Nicolas Évrard 861022ee80 Correctly hide the processing element
review11961002
2015-02-20 14:41:26 +01:00
Nicolas Évrard 7e2a448f08 Add loading indicator
review10171002
2015-02-20 11:30:11 +01:00
Cédric Krier 9e4d2dd5de Fix localize_domain to work with extended clause of Reference field
The first extra value must be dropped when localize a Reference field.

issue4562
review15021002
2015-02-19 13:50:06 +01:00
Cédric Krier f6e02b784f Escape backslash in domain parser
Backslash is the escape key so it must be escaped.

issue4471
review6041002
2015-02-19 13:44:24 +01:00
Cédric Krier a8aa4eaa92 Add TimeDelta field
And remove float_time widget.

issue4026
review10891002
2015-02-09 23:04:01 +01:00
Cédric Krier 0f80f7a5e2 Use bootstrap instead of jquery-ui
- use bower for dependencies
- use moment for date
- use bootstrap-datetimepicker

review11821002
2015-02-06 00:32:51 +01:00
Cédric Krier 1caba18930 Simplify date, time and datetime widgets
- Remove datetime widget in list view
- Allow to use widget attribute for date/time

issue4457
review10011002
2015-01-26 11:32:47 +01:00
Cédric Krier 49296b514b domain_parser must escape when quoting '"'
issue4247
review7651002
2014-10-14 15:22:31 +02:00
Cédric Krier ec49d4ea99 Fix parse_datetime to not override value 2014-10-12 14:33:38 +02:00
Cédric Krier b228f266ba Add overflow to menu
issue4219
review12591002
2014-10-10 10:09:06 +02:00
Nicolas Évrard 3a7238698e Display image widget in tree view
issue3729
review4001003
2014-09-19 17:09:43 +02:00
Cédric Krier 0f2c3a11ca Change range operator of search widget to be included
issue3997
review11321002
2014-07-09 00:47:21 +02:00
Cédric Krier 5decda2998 Use null for empty Date
review13391003
2014-07-09 00:36:28 +02:00
Cédric Krier 3f837d49bb Use stringify on_change value before using it as key
And add missing context to selection_mixin call.

When Object is used as key in an other Object, there are no distinction between
any instances. So a json string must be used to get a unique representation of
the Object.

issue3989
review6361002
2014-06-22 16:51:42 +02:00
Cédric Krier 4618fcc509 Fix simplify for simple domains ['AND'], ['OR']
issue3955
review7321002
2014-06-08 00:24:51 +02:00
Cédric Krier df910352f1 Make register_icons sequential to reduce number of queries
review7281002
2014-05-27 22:34:46 +02:00
Cédric Krier d970b10349 Remove headers of multiselection
issue3915
review9351003
2014-05-23 11:52:21 +02:00
Cédric Krier 36bcd1aef0 Don't set default value for on_change and set id
issue3487
2014-05-19 21:14:54 +02:00
Cédric Krier d0926e85f8 Add missing ok, cancel as local icons 2014-05-19 21:06:11 +02:00
Cédric Krier 1c03db39f6 Set button readonly when record or group is readonly
issue3904
review9341005
2014-05-17 18:33:25 +02:00
Cédric Krier bc0e1009a2 Fix eval_leaf when field equals 0
Only null must be considered as a value not set which will be forced by the
domain inversion.

issue3896
review8321003
2014-05-17 18:31:20 +02:00
Cédric Krier f2ac656be2 Set value for constraining domain of non-relation field
The validation method should also set value for the local domain like it does
for the inverted.

issue3794
review4771002
2014-03-31 19:03:42 +02:00
Nicolas Évrard d6f184f28f Add support for editable tree
review2171002
2014-03-28 14:37:36 +01:00
Cédric Krier 6b00c07f74 Fix domain parser for empty selection
issue3785
review4571003
2014-03-24 15:58:58 +01:00
Cédric Krier 714553a3c8 Fix Reference field with domain
issue3783
review4621002
2014-03-24 15:55:35 +01:00