Commit Graph

212 Commits

Author SHA1 Message Date
Christophe Simonis 63e4d9b572 [IMP] sed -i '' -e 's/connection/session/g'
bzr revid: chs@openerp.com-20120814152900-8r84kyz0qy1hwkvz
2012-08-14 17:29:00 +02:00
niv-openerp 3ebfaedd64 [IMP] removed a lot of OldWidget usage
bzr revid: nicolas.vanhoren@openerp.com-20120814134246-y2awqbt2i1hcan61
2012-08-14 15:42:46 +02:00
Christophe Simonis fb86ddb644 [IMP] merge web_dashboard module into board module of addons branch
[IMP] extract dashboard part of web into board module

bzr revid: chs@openerp.com-20120809152043-0yfm6l2zt44eiqrb
2012-08-09 17:20:43 +02:00
Xavier Morel 3b5bd3598c [FIX] kinda sorta rename add to dashboard feature to add to reporting according to apr's wishes
also change button from 'save' to 'add'

bzr revid: xmo@openerp.com-20120801135803-j4wwbdm2ngdz4koo
2012-08-01 15:58:03 +02:00
Xavier Morel cd65d4aa21 [IMP] make unreadable code less unreadable, fix some warning, use Widget#$
bzr revid: xmo@openerp.com-20120801135435-w2erakp9qaqtcotb
2012-08-01 15:54:35 +02:00
Antony Lesuisse 574f3891a5 [MERGE] trunk
bzr revid: al@openerp.com-20120801104657-cinfl0svpnc8njs5
2012-08-01 12:46:57 +02:00
Xavier Morel 7183f749b1 [FIX] trigger DOM blur event on searchview root to allow autocomplete to close-on-blur
bzr revid: xmo@openerp.com-20120726113311-axgwfq4d71rc1u50
2012-07-26 13:33:11 +02:00
Xavier Morel b09a121bd0 [IMP] clear out internal autocomplete cache of searchview on blur
ensures consecutive searches of the same element will behave correctly
(trigger a new autocompletion instead of nooping the second time
around because the new value is the same as the old/stored one)

bzr revid: xmo@openerp.com-20120726113105-d73fere31qdy8wda
2012-07-26 13:31:05 +02:00
Antony Lesuisse 3235ed8a18 [MERGE] trunk
bzr revid: al@openerp.com-20120725082646-ff6ljt0pquvm0dup
2012-07-25 10:26:46 +02:00
Xavier Morel 6b719b708f [IMP] trigger a new search when clicking on the searchview's spyglass
Required reifying the purely decorative spyglass (created via :before)
into an actual button and moving that button to the right place (after
removing all decorations set by default on buttons e.g. shadows &al).

apr request.

bzr revid: xmo@openerp.com-20120724124607-bc1nsywtth7cn11i
2012-07-24 14:46:07 +02:00
Xavier Morel 2f10bc4071 [IMP] validation of search_default values for m2o fields
Just because the search_default is an array does not mean it's a
name_get apparently: there are many cases of a single id wrapped in an
array (``[id]``).

So ensure that the search_default is an array *of length 2 whose
second element is a string* before considering it a name_get and using
it as-is (without resolving the label via an explicit name_get).

Also, error out for any m2o search_default which is an array of length
> 1 (unless the second element is a string as per description above).

bzr revid: xmo@openerp.com-20120724115659-l0n0gjr91bcop13z
2012-07-24 13:56:59 +02:00
Antony Lesuisse 3611d585b3 [MERGE] trunk
bzr revid: al@openerp.com-20120721201123-3824izt73xvmk9vl
2012-07-21 22:11:23 +02:00
Xavier Morel 0bccd9be59 [FIX] tests: update jquery link, fix broken searchview test following merge
bzr revid: xmo@openerp.com-20120712115552-7adsu941o3wjtrmr
2012-07-12 13:55:52 +02:00
Fabien Meghazi c8da73626e [IMP] Hide seatchview on outside click event
bzr revid: fme@openerp.com-20120702125458-d44dtn8lgr0x4ads
2012-07-02 14:54:58 +02:00
Antony Lesuisse 8e392289a3 [MERGE] search many2one default create in context
bzr revid: al@openerp.com-20120628142640-kp5scu95zuy7alrw
2012-06-28 16:26:40 +02:00
niv-openerp 3e30f54cbf [FIX] lot of stupid stuff in add to dashboard
bzr revid: nicolas.vanhoren@openerp.com-20120628121053-nct0zo9go1bzdjrs
2012-06-28 14:10:53 +02:00
niv-openerp 0f2b27e161 [FIX] problem with search view
bzr revid: nicolas.vanhoren@openerp.com-20120628120423-1rjiwsg35oleucyq
2012-06-28 14:04:23 +02:00
Xavier Morel 7b0bef5bcc [FIX] incorrect handling of present-but-empty contexts, which seem to be rather common
bzr revid: xmo@openerp.com-20120627095744-ijhf7p769pw4fqdg
2012-06-27 11:57:44 +02:00
niv-openerp ce9879bea4 [FIX] put back the "Add to Dashboard" feature
bzr revid: nicolas.vanhoren@openerp.com-20120626145445-kym37wuxkaapdwe6
2012-06-26 16:54:45 +02:00
Xavier Morel 1f84b7a37d [ADD] set 'default_' key in context when searching on a single existing record in an m2o, by default
bzr revid: xmo@openerp.com-20120626091307-45vygymu8y1198ar
2012-06-26 11:13:07 +02:00
Xavier Morel 846cedf43d [FIX] correctly deselect custom filter when removing it from search
bzr revid: xmo@openerp.com-20120626081055-x1j3em2v8zf54m4o
2012-06-26 10:10:55 +02:00
Xavier Morel 364ec932aa [IMP] check custom filter when selecting it
bzr revid: xmo@openerp.com-20120626080633-i8z8xvxqszt6yo2v
2012-06-26 10:06:33 +02:00
Vidhin Mehta (OpenERP) 305eab618a [IMP]optimise code.
bzr revid: vme@tinyerp.com-20120625100156-jx8jkfujf8nhoiy1
2012-06-25 15:31:56 +05:30
Vidhin Mehta (OpenERP) 372c96d5d7 [MERGE]merge with trunk and in testing OK.
bzr revid: vme@tinyerp.com-20120622085809-grscc61zy09malr9
2012-06-22 14:28:09 +05:30
Vidhin Mehta (OpenERP) 9154d21065 [IMP]remove console
bzr revid: vme@tinyerp.com-20120622051116-1uowhyk27ffh34wc
2012-06-22 10:41:16 +05:30
Vidhin Mehta (OpenERP) 9c8d325d97 [IMP]get dashboard from menu also.
bzr revid: vme@tinyerp.com-20120621144640-by7y68e7bx19e3f1
2012-06-21 20:16:40 +05:30
Vidhin Mehta (OpenERP) 235cca3aab [MERGE]merge with trunk and remove conflicts.
bzr revid: vme@tinyerp.com-20120620144304-yr9zodv1skkrlccf
2012-06-20 20:13:04 +05:30
Vidhin Mehta (OpenERP) 596ebb826f [IMP]better variable name.
bzr revid: vme@tinyerp.com-20120620142746-c1k8612rkqickipw
2012-06-20 19:57:46 +05:30
Vidhin Mehta (OpenERP) f8fc7258b3 [IMP]varibale name.
bzr revid: vme@tinyerp.com-20120620141926-x4dx3krkio9fgw3k
2012-06-20 19:49:26 +05:30
Vidhin Mehta (OpenERP) 3ce938d905 [IMP]get dashboard's in js.
bzr revid: vme@tinyerp.com-20120620140324-wxp2pp2p6boct050
2012-06-20 19:33:24 +05:30
Vidhin Mehta (OpenERP) 2b33e4914a [IMP]remove python code.
bzr revid: vme@tinyerp.com-20120620093813-a11mc1p64407jk6d
2012-06-20 15:08:13 +05:30
Vidhin Mehta (OpenERP) a97492b20f [IMP]remove unnecessary code.
bzr revid: vme@tinyerp.com-20120615130245-0ckjqkh99liirdo7
2012-06-15 18:32:45 +05:30
Xavier Morel 3f1757869c [IMP] make searchview base widget not inherit from OldWidget anymore
bzr revid: xmo@openerp.com-20120611091857-wcpc2oqywoc0gg51
2012-06-11 11:18:57 +02:00
Vidhin Mehta (OpenERP) abc6141826 [IMP]improvements.
bzr revid: vme@tinyerp.com-20120607113147-7lly2zl317b8n88v
2012-06-07 17:01:47 +05:30
Vidhin Mehta (OpenERP) ff00c0f635 [IMP]Dashboard items added.
bzr revid: vme@tinyerp.com-20120607103029-0iumqrzigswzpny8
2012-06-07 16:00:29 +05:30
Vidhin Mehta (OpenERP) a91e66b76b [IMP]improvements to dashboard.
bzr revid: vme@tinyerp.com-20120606043710-prr9se9pz184dntx
2012-06-06 10:07:10 +05:30
Vidhin Mehta (OpenERP) f38d0f6736 [IMP]create widget for add to dashboard.
bzr revid: vme@tinyerp.com-20120605091551-pecg3070vi94jxeu
2012-06-05 14:45:51 +05:30
Minh Tran 9b447c025d search, shared filters
bzr revid: mit@openerp.com-20120531170228-sbzxghl9vndntf4k
2012-05-31 19:02:28 +02:00
Minh Tran 7d01960538 searchview fixes
bzr revid: mit@openerp.com-20120531134150-nqxas33g0ow27ciy
2012-05-31 15:41:50 +02:00
Minh Tran 4abc07e5b8 more styling of the searchview
bzr revid: mit@openerp.com-20120525170053-54m17it6lzwnea33
2012-05-25 19:00:53 +02:00
Xavier Morel 174362aac0 [FIX] display issue with boolean fields in drawer's advanced search
bzr revid: xmo@openerp.com-20120522064607-2umxpgnltysjnmhq
2012-05-22 08:46:07 +02:00
Xavier Morel a83e6221c8 [FIX] stupid mistype/wrong variable name in Date/DateTime's Facet -> domain conversion
bzr revid: xmo@openerp.com-20120521104334-1zfyjdjbxeajgg2c
2012-05-21 12:43:34 +02:00
Xavier Morel 1568d25eb0 [ADD] marking of currently selected filters in the drawer
Visually hints to users currently manipulating the drawer that a given
filter is currently selected.

bzr revid: xmo@openerp.com-20120518152342-xmqhwlml0bsgodhq
2012-05-18 17:23:42 +02:00
Xavier Morel ce18f726b4 [IMP] move manage_filters to viewmanager's debug menu
bzr revid: xmo@openerp.com-20120518140001-jbocagvn7weqlqq3
2012-05-18 16:00:01 +02:00
Xavier Morel ffbd7480a4 [ADD] 'locked' icon on non-public custom filters
Icon is kind-of crummy, but none of the iconic font's icons work,
they're too small to work correctly (especially when using both locked
and unlocked, they can't be distinguished below a font size of ~48)

bzr revid: xmo@openerp.com-20120518111202-3h19grpq5cxgejg0
2012-05-18 13:12:02 +02:00
Xavier Morel aa3ef52416 [FIX] make display of advanced filters look less purely technical and more human-readable
* Use field strings
* Use operator labels
* If applicable, use human-readable version of field values

bzr revid: xmo@openerp.com-20120516132237-z6zacy34sq7ujhg0
2012-05-16 15:22:37 +02:00
Xavier Morel 378100e3ac [IMP] cleanup advanced search fields
bzr revid: xmo@openerp.com-20120516122551-c670k5lrqxnyx5ej
2012-05-16 14:25:51 +02:00
Xavier Morel 0416eb786d [ADD] auto-completion on filters (and group-by filters)
bzr revid: xmo@openerp.com-20120515064340-l2kuwbf95faqy35r
2012-05-15 08:43:40 +02:00
Xavier Morel 80363141d7 [IMP] iconify delete buttons for advanced filters and custom filters
bzr revid: xmo@openerp.com-20120515061212-b0jeuludzh4jstob
2012-05-15 08:12:12 +02:00
Xavier Morel 865f022aa5 [FIX] handling of focusing and blurring searchview itself (styling) in MSIE and Firefox
bzr revid: xmo@openerp.com-20120514154158-a97vqsxav5afyquo
2012-05-14 17:41:58 +02:00