Commit Graph

42 Commits

Author SHA1 Message Date
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
Fabien Meghazi 8b55e42884 [IMP] trigger do_search on_mode_switch. Use headless searchview when hidden and when no default specified
bzr revid: fme@openerp.com-20110928151306-d7aphegy2gedjsqk
2011-09-28 17:13:06 +02:00
Fabien Meghazi b00f4e7e1f [IMP] Always instantiate search view in ViewManagerAction
bzr revid: fme@openerp.com-20110928104458-1a6768411suiky6c
2011-09-28 12:44:58 +02:00
niv-openerp 1d68e2903e [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110921120434-ds3i74ey8ihc72ml
2011-09-21 14:04:34 +02:00
niv-openerp e281efe866 [imp] used datetime widget in advanced search
bzr revid: nicolas.vanhoren@openerp.com-20110921120347-rx8xhwa4igswtsx7
2011-09-21 14:03:47 +02:00
niv-openerp 7d65aca167 [imp] used datetime widget in search view
bzr revid: nicolas.vanhoren@openerp.com-20110921115054-mgd5ts19sk1olvgu
2011-09-21 13:50:54 +02:00
Xavier Morel 91619c24aa [FIX] do not consider empty domains as domains (ignore them) in FilterGroup domain management
lp bug: https://launchpad.net/bugs/854704 fixed

bzr revid: xmo@openerp.com-20110920134607-lz8d8r4ojbrgihd7
2011-09-20 15:46:07 +02:00
Xavier Morel 78e2374ea2 [FIX] clear enabled_filters searchview state when clearing the search form
lp bug: https://launchpad.net/bugs/851981 fixed

bzr revid: xmo@openerp.com-20110920131945-uonv71pnnfsniapu
2011-09-20 15:19:45 +02:00
Xavier Morel 88c3df671d [FIX] breakage in case of filters without domains: don't blow up when a filter returns a domain of null, just filter it out
bzr revid: xmo@openerp.com-20110920125334-2phr5olecrq9r4n9
2011-09-20 14:53:34 +02:00
niv-openerp e1bde312fc [imp] corrected integer handling in search view
bzr revid: nicolas.vanhoren@openerp.com-20110919134615-9ef47xeuw3gxdmwr
2011-09-19 15:46:15 +02:00
niv-openerp ba39c0351d [imp] updated search view widgets to use correct function to format floats.
bzr revid: nicolas.vanhoren@openerp.com-20110919132026-brzz1lz4999r0zol
2011-09-19 15:20:26 +02:00
niv-openerp f6c3577708 [fix] forgot to convert search view
bzr revid: nicolas.vanhoren@openerp.com-20110915095214-13k5zgjz87xis8el
2011-09-15 11:52:14 +02:00
Xavier Morel 81e6707b91 [IMP] make filtergroups [OR] their component filters instead of [AND]-ing them
bzr revid: xmo@openerp.com-20110915084626-9rxv8jv65uxtq9ga
2011-09-15 10:46:26 +02:00
niv-openerp 891c215272 [imp] removed completely this.log
bzr revid: nicolas.vanhoren@openerp.com-20110913121728-ehqqsimfqyqzj1m1
2011-09-13 14:17:28 +02:00
Xavier Morel 127364adca [IMP] fix more jsdoc to not have any global extracted in jsdoc
bzr revid: xmo@openerp.com-20110912120604-ojzbfhjkobgoueo6
2011-09-12 14:06:04 +02:00
Xavier Morel dedded5294 [FIX] a few more existing jsdoc so jsdoc v3 does not blow up during parsing
bzr revid: xmo@openerp.com-20110912113437-emv28eo9ct9n559g
2011-09-12 13:34:37 +02:00
Fabien Meghazi e0eec18342 [IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb
bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-07 11:37:43 +02:00
Antony Lesuisse bedfc48dcf rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00