Commit Graph

67 Commits

Author SHA1 Message Date
niv-openerp be66f62357 [imp] changed children
bzr revid: nicolas.vanhoren@openerp.com-20120221155134-lej2ren1troagr72
2012-02-21 16:51:34 +01:00
niv-openerp 8384876ef0 [imp] renamed widget_parent to getParent()
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-21 16:30:23 +01:00
niv-openerp 0d061d6c77 [fix] added openerp class to all dialogs
bzr revid: nicolas.vanhoren@openerp.com-20120217114357-5jeue9292eg2zoqf
2012-02-17 12:43:57 +01:00
Xavier Morel 980e2825d5 [IMP] get translated JS strings outside of QWeb attributes as the corresponding extractor does not actually work, export POTs
bzr revid: xmo@openerp.com-20120214142954-4ndkj63pog39ts0k
2012-02-14 15:29:54 +01:00
Xavier Morel 042a5f823d [FIX] don't use 'undefined' as a fallback value for .attr, it makes jquery think that's a get and breaks chaining
bzr revid: xmo@openerp.com-20120213100543-0zu2ij95tnufu5df
2012-02-13 11:05:43 +01:00
Xavier Morel 346805aa02 [FIX] sizing of date widgets in search view
lp bug: https://launchpad.net/bugs/930049 fixed

bzr revid: xmo@openerp.com-20120213094015-px9udeft0v0htnyu
2012-02-13 10:40:15 +01:00
Xavier Morel e0a346f0eb [FIX] clearing of selection fields with a (non-additional) 'false' value in search views
also finally add a basic Input#clear API

lp bug: https://launchpad.net/bugs/928485 fixed

bzr revid: xmo@openerp.com-20120210155235-sjax5dnc73rpixbr
2012-02-10 16:52:35 +01:00
Xavier Morel 811e50b49c [IMP] add tooltip on disabled filter
bzr revid: xmo@openerp.com-20120209163050-g4u7gvsnh6kgqs14
2012-02-09 17:30:50 +01:00
Xavier Morel 4bee4fe7fc [ADD] support for id field type in search view
lp bug: https://launchpad.net/bugs/924296 fixed

bzr revid: xmo@openerp.com-20120131140210-b44fs5nfw109v81l
2012-01-31 15:02:10 +01:00
Xavier Morel d0141aa5ce [FIX] race condition on selecting saved filters
Deferreds can't "go through" al callbacks, so even when searchviews
correctly wait on this.on_clear it can't get the information on when
the other view is done clearing, and it lauches two concurrent views.

In this precise case though, there's no need to launch a search after
this clear, just want to remove all searchview state.

bzr revid: xmo@openerp.com-20120126092304-fe79ulj6txkgy411
2012-01-26 10:23:04 +01:00
Xavier Morel 1059bb758d [IMP] clear search after deselecting a filter
bzr revid: xmo@openerp.com-20120126085636-3mja4a43yhywd6ga
2012-01-26 09:56:36 +01:00
Xavier Morel a01106ca30 [IMP] don't reset filters select after selecting a saved filter
bzr revid: xmo@openerp.com-20120126085526-21rjfs2beykv00rv
2012-01-26 09:55:26 +01:00
Xavier Morel 084bf9fb3f [FIX] in m2o fields, abort previous name_get when new one (for same field) arrives in order to limit the number of requests in-flight
lp bug: https://launchpad.net/bugs/920884 fixed

bzr revid: xmo@openerp.com-20120124141927-wznbkd2tf3mngq31
2012-01-24 15:19:27 +01:00
niv-openerp c044b70429 [imp] removed identifier_prefix
bzr revid: nicolas.vanhoren@openerp.com-20120124151343-t17b3obenv244io3
2012-01-24 16:13:43 +01:00
niv-openerp 3002bd091f [imp] removed bunch of old stuff in widget
bzr revid: nicolas.vanhoren@openerp.com-20120124145810-lr2y8igt9iqzqepn
2012-01-24 15:58:10 +01:00
niv-openerp ac845b1bfa [imp] nivified extended search
bzr revid: nicolas.vanhoren@openerp.com-20120124143318-pw8eka0zvrh7n3mt
2012-01-24 15:33:18 +01:00
niv-openerp c1e4843ed9 [fix] added saving of group_bys in saved filters
bzr revid: nicolas.vanhoren@openerp.com-20120106162533-qyqa3okffz1iw38w
2012-01-06 17:25:33 +01:00
niv-openerp 7a9ed7b281 [imp] clear search filter when using an advanced filter
bzr revid: nicolas.vanhoren@openerp.com-20120106150826-fzhg02asqf8o828w
2012-01-06 16:08:26 +01:00
Xavier Morel 7049024898 [FIX] translation of advanced filter strings
* Made title of group ('Advanced Filters') available for translation
* Fixed translation mark for advanced filter operators (class level, need to be lazy)
* Re-extracted translation strings

and marked selection strings of boolean search widget while at it

lp bug: https://launchpad.net/bugs/906963 fixed

bzr revid: xmo@openerp.com-20111220175137-r3jeh6q8g4c92xf9
2011-12-20 18:51:37 +01:00
Xavier Morel 847cbbcb2c [FIX] behavior of invisible search inputs: they can still be active and should be present in the view, just not visible
bzr revid: xmo@openerp.com-20111216151108-b2x0orfy40qzw050
2011-12-16 16:11:08 +01:00
Xavier Morel c380b4db89 [FIX] add support for *nested* invisible filters in search view
lp bug: https://launchpad.net/bugs/905337 fixed

bzr revid: xmo@openerp.com-20111216143607-wd75h7akmxx2umi8
2011-12-16 15:36:07 +01:00
Xavier Morel 07e8fd05af [IMP] use modifiers in search view, instead of accessing directly to @invisible
bzr revid: xmo@openerp.com-20111216143041-wx95x1q2osv5qv15
2011-12-16 15:30:41 +01:00
Fabien Meghazi 83f694ed7a [IMP] Merge Advanced Filter button in select box and float it right
bzr revid: fme@openerp.com-20111214101344-61j1cpcjy4bdsz0w
2011-12-14 11:13:44 +01:00
Yogesh (OpenERP) bee181deab [FIX] use set_value method instead of direct assign value in do_clear method.
bzr revid: ysa@tinyerp.com-20111212084417-w4r16uesqqz5w51c
2011-12-12 14:14:17 +05:30
Yogesh (OpenERP) 7010922d50 [FIX] clear value of date and datetime widget in search view on clear button.
lp bug: https://launchpad.net/bugs/901665 fixed

bzr revid: ysa@tinyerp.com-20111209123514-c54e5ea9tqjuc34s
2011-12-09 18:05:14 +05:30
Fabien Meghazi e719ba764a [FIX] Fixed view_manager double do_search triggering
[REM] Removed autosearch
[REM] Removed last search caching

bzr revid: fme@openerp.com-20111206113658-ntnl14ezdnqqhe3m
2011-12-06 12:36:58 +01:00
Xavier Morel c97e5f6ead [IMP] use optgroups in filters management thingie
bzr revid: xmo@openerp.com-20111124102130-w3aro8z4w124b2ng
2011-11-24 11:21:30 +01:00
Xavier Morel 8630e75082 [IMP] use switch/case for sequence of equalities on literal strings
bzr revid: xmo@openerp.com-20111124101352-iavrge8h8pj0lwo9
2011-11-24 11:13:52 +01:00
Fabien Meghazi 66d11b95f4 [ADD] Added possibility to add actions to dashboards from searchviews filters
bzr revid: fme@openerp.com-20111123215356-wspyu61u6ad1vois
2011-11-23 22:53:56 +01:00
Xavier Morel 901596adce [FIX] searchview needs to send the action's context when loading its view
bzr revid: xmo@openerp.com-20111116133803-f21mzgatnkr5in3p
2011-11-16 14:38:03 +01:00
Fabien Meghazi db2c85635b [IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string from 1.1.6 to 1.2.0
WARNING: underscore string does not mixin to underscore by default. Use _.str.*

bzr revid: fme@openerp.com-20111115123059-k31lhp0db2d8h22k
2011-11-15 13:30:59 +01:00
Xavier Morel fc2050fef1 [IMP] search view: assert the view received from the fields_view_get is a search view
bzr revid: xmo@openerp.com-20111114123948-inqtk10u1xgk2gmg
2011-11-14 13:39:48 +01:00
Xavier Morel d2a0f9bcba [IMP] mark a bunch of strings as translatable in searchview JS
bzr revid: xmo@openerp.com-20111114101221-905mu3id02o3n2li
2011-11-14 11:12:21 +01:00
Xavier Morel 097ea702fa [ADD] 'id' to all advanced filters if not in fields_get, to serve as a 'get resource by id' in web client
also fix broken extended filters due to broken oldwidget

lp bug: https://launchpad.net/bugs/885994 fixed

bzr revid: xmo@openerp.com-20111114095738-9nfpr970235k15fv
2011-11-14 10:57:38 +01:00
niv-openerp 57b7239ad2 [fix] advanced filters were broken
bzr revid: nicolas.vanhoren@openerp.com-20111110141343-iavtdbq0i56ma0nl
2011-11-10 15:13:43 +01:00
Christophe Simonis ae0bf044ef [IMP] qweb templates are stored in addon manifest and given by the server
bzr revid: chs@openerp.com-20111102111105-ibyupno1e47sv9ho
2011-11-02 12:11:05 +01:00
Xavier Morel d9c03065fd [FIX] handling of invisible attribute in search view
bzr revid: xmo@openerp.com-20111024152612-3mh7nj8k8g5gcsp9
2011-10-24 17:26:12 +02:00
RavishchanraMurari (Open ERP) 1945d19d15 mulit_company_in group_by
bzr revid: rmu@tinyerp.com-20111024121415-wkjyjzl6ydqz3t7o
2011-10-24 17:44:15 +05:30
RavishchanraMurari (Open ERP) 4871ed069c merge_web_trunk
bzr revid: rmu@tinyerp.com-20111024121059-cu4z9cfx5jy9b65y
2011-10-24 17:40:59 +05:30
RavishchanraMurari (Open ERP) c507d1ef7e company_id_in_multi_company
bzr revid: rmu@tinyerp.com-20111020115146-p0ai3x3q0u48390k
2011-10-20 17:21:46 +05:30
Xavier Morel 789b0b6524 [IMP] stop displaying *big* filters when a filter-in-field has a @string
also log a debug warning to the console

bzr revid: xmo@openerp.com-20111017134103-cojd352p3ppqs68h
2011-10-17 15:41:03 +02:00
Christophe Simonis 00b269d1c0 [IMP] nivification of Notification Widget
bzr revid: chs@openerp.com-20111013102653-wox1v4o9mfplzt2b
2011-10-13 12:26:53 +02:00
Xavier Morel 342b8e680b [FIX] search selection default value in case no default is set: select option with value 'false' if there's any
bzr revid: xmo@openerp.com-20111007082905-86zc0dzwu0bv4bwz
2011-10-07 10:29:05 +02:00
Xavier Morel 6c1499ecd9 [FIX] clear in search views should clear small filters as well
bzr revid: xmo@openerp.com-20111006152332-g0ifsv53jwq66u9u
2011-10-06 17:23:32 +02:00
Xavier Morel 404db3a08b [FIX] correctly handle 'false' value on selection fields
bzr revid: xmo@openerp.com-20111006145439-mklud8aaezmd2b1p
2011-10-06 16:54:39 +02:00
Xavier Morel 06787922c0 [FIX] selection field value in case there's no value (haha)
bzr revid: xmo@openerp.com-20111006100235-2x41tzki77sk6i3v
2011-10-06 12:02:35 +02:00
Xavier Morel 0fc5a423e3 [FIX] don't screw up typing of selection values in search view
bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m
2011-10-06 11:53:01 +02:00
Xavier Morel a3a45e18b3 [FIX] m2o fields with selection widget in search view
Plan was originally to just ignore this because "it should just work"
 but turns out m2o and m2o[@widget=selection] fields have very
 different behaviors when it comes to default values, especially
 custom domains and contexts:

 * An m2o field uses its string value always (behaves like a char
   field), for UI and clarity purposes we added an [[name, '=', id]]
   case when the user specifically selects an autocompletion value,
   but that's not "cannon", when it comes to dealing with custom
   domains (filter_domain) and contexts the field always uses its
   string value.

* An m2o[@widget=selection] field on the other hand uses its ids
  always (behaves like a selection field).

  That's not entirely true, really, because it has the converse to
  what we implemented on the m2o field in the web client (in the GTK
  client): if there is no @filter_domain *and* the user has entered a
  value which is not in the dropdown (it's a combobox in the GTK
  client), then it falls back on using 'ilike'. This string value is
  *not* used in custom domains and custom filters, which simply are
  not submitted.

  This second section has *not* been implemented so far in the web
  client, we'll come round to it if people actually need it.

bzr revid: xmo@openerp.com-20111006063949-fl5rbg3wwubcaay8
2011-10-06 08:39:49 +02:00
Xavier Morel d801f21146 [REV] 1150, broke filter_domain in case of empty field
bzr revid: xmo@openerp.com-20111005130252-oovrpbo4a1pjavwd
2011-10-05 15:02:52 +02:00
Xavier Morel 68cd9188b9 [FIX] handling of value and default domain in search m2o
bzr revid: xmo@openerp.com-20111005105731-9431uvhay91bt10c
2011-10-05 12:57:31 +02:00