Xavier Morel
9a5058a6b4
[FIX] group cleanup issue during apoptosis: remove all children from storage otherwise risk of zombie children
...
bzr revid: xmo@openerp.com-20110531063313-gv7z5vhwnrt5x6pg
2011-05-31 08:33:13 +02:00
Xavier Morel
c404804f28
[IMP] re-add lost base.controllers.__init__
...
bzr revid: xmo@openerp.com-20110531061326-gskit8sefxv56go2
2011-05-31 08:13:26 +02:00
Xavier Morel
ee143db695
[FIX] M2M form widget so it matches new listview API, add missing (needed) method in ListView API
...
* Add reload_content method on ListView to re-fetch list content when requested
* Add StaticDataGroup to handle providing static lists to a ListView
- and fix behavior of DataSet.read_slice in case of a not-provided limit
* Cleanup implementation of M2M widget (and fix its interactions with ListView) to account for improvements in ListView API
bzr revid: xmo@openerp.com-20110530070656-f5sgodses4xqglr2
2011-05-30 09:06:56 +02:00
Xavier Morel
11a95d3bf7
[FIX] cleanup group display before re-rendering it, otherwise m2m widget breaks
...
bzr revid: xmo@openerp.com-20110530070054-m8cbvexw72wpt4mq
2011-05-30 09:00:54 +02:00
Xavier Morel
dd3c1645ec
[FIX] m2m fields display
...
* Add reload_content method to ListView so third parties can ask for a redisplay
* Add a StaticDataGroup descendant class to DataGroup (actually to GrouplessDataGroup as it can not contain groups, only records via a static data set)
* Fix DataSetStatic.read_ids when no limit provided
* Fix Many2ManyListView usage and overriding of a few ListView methods (due to ListView API changing)
bzr revid: xmo@openerp.com-20110527151000-lq5a6sfohprs9gvs
2011-05-27 17:10:00 +02:00
niv-openerp
3c9b737060
[merge]
...
bzr revid: nicolas.vanhoren@openerp.com-20110527102610-jkpryhj9wo21z773
2011-05-27 12:26:10 +02:00
niv-openerp
bcc5393d48
[imp] Improved advanced filters design, added setup of manage filters.
...
bzr revid: nicolas.vanhoren@openerp.com-20110527102527-p9qfobfo9tcjkvub
2011-05-27 12:25:27 +02:00
Xavier Morel
d7e17b06cf
[IMP] final fixes to list view/groups for behavior which should be correct in list view itself:
...
* Handle aggregate fields (at the list level)
* remove color handling for now, go back to using vanilla datasets for fetching records
TODO: Ensure that APIs available are useable for third-parties to use list views as components, or fix those APIs
bzr revid: xmo@openerp.com-20110527092811-ldxd4oufvjtqvha3
2011-05-27 11:28:11 +02:00
niv-openerp
d2e724fbe0
[merge] m2o improvements
...
bzr revid: nicolas.vanhoren@openerp.com-20110527091223-h2n4s1r44lbo1y2n
2011-05-27 11:12:23 +02:00
Xavier Morel
f86bc1c6a3
[IMP] extract handlers for ListView.Groups events into separate method, so they're not a pain to override
...
bzr revid: xmo@openerp.com-20110527074442-2wjw9aya7m8t0tlp
2011-05-27 09:44:42 +02:00
Xavier Morel
fa284d7c09
[FIX] typo in variable name
...
bzr revid: xmo@openerp.com-20110527072751-38qzsszozbryf8g8
2011-05-27 09:27:51 +02:00
Xavier Morel
1f247b96e1
[IMP] Remove colors handling so ListView.fill is not necessary anymore, and can go back to ListView.load and DataSet.search_read
...
bzr revid: xmo@openerp.com-20110527071309-rtdkawbu4v7xfepd
2011-05-27 09:13:09 +02:00
Xavier Morel
d84f9df4df
[IMP] display buttons header (pagination & al) when list not selectable, but not deletion button
...
bzr revid: xmo@openerp.com-20110527061820-9fsengtgnhf7qp4u
2011-05-27 08:18:20 +02:00
Fabien Meghazi
7bf4a4d9e0
[ADD] Added attachments in sidebar
...
bzr revid: fme@openerp.com-20110526213811-jxj5mdshq8v4sbfj
2011-05-26 23:38:11 +02:00
Fabien Meghazi
e3eb23b96c
[ADD] Added Binary#upload_attachment controller
...
bzr revid: fme@openerp.com-20110526210641-geszqjfcw3vx0vq8
2011-05-26 23:06:41 +02:00
niv-openerp
4401a77c5e
[imp] Changed design of custom filters.
...
bzr revid: nicolas.vanhoren@openerp.com-20110526153332-7zwf0712g45rakv4
2011-05-26 17:33:32 +02:00
niv-openerp
62938b341f
[imp] Changed design of custom filters.
...
bzr revid: nicolas.vanhoren@openerp.com-20110526145445-4fwzj9mtsbfhh89e
2011-05-26 16:54:45 +02:00
Fabien Meghazi
d58a09deff
[IMP] t-set="" value is now considered as an expression allowing things like t-set="object.prop"
...
bzr revid: fme@openerp.com-20110526095748-z7g97pmfnpr14no3
2011-05-26 11:57:48 +02:00
Fabien Meghazi
341ab7762f
[FIX] Replaced use of global $ jquery object
...
bzr revid: fme@openerp.com-20110526093452-t51ovfe36g8a6cxv
2011-05-26 11:34:52 +02:00
Xavier Morel
7d0ceef7d4
[FIX] apoptosis on lists
...
bzr revid: xmo@openerp.com-20110525150240-brxcbyfh2lltz4ai
2011-05-25 17:02:40 +02:00
Xavier Morel
47f7922554
[IMP] look of list-wise aggregates
...
bzr revid: xmo@openerp.com-20110525143516-wmav0tly51uw6ly5
2011-05-25 16:35:16 +02:00
Xavier Morel
a49729461d
[FIX] aggregates display on initial list loading
...
bzr revid: xmo@openerp.com-20110525140456-ylo5e0kf0kp3xe15
2011-05-25 16:04:56 +02:00
Xavier Morel
88773e6c89
[ADD] basic implementation of list-wise aggregation functions
...
bzr revid: xmo@openerp.com-20110525130414-a1wkfb4inix2q4we
2011-05-25 15:04:14 +02:00
Xavier Morel
3dbc88c696
[IMP] make get_selection call and selected ListView event provide both ids of selected records and the selected records themselves
...
bzr revid: xmo@openerp.com-20110525092813-ciahklygwshkpdl0
2011-05-25 11:28:13 +02:00
Fabien Meghazi
8069038a1d
[FIX] Replaced eval() by JSON.parse for attrs parsing in list & form.
...
This fixes a strange bug I was the only one to encounter.
bzr revid: fme@openerp.com-20110525090435-q1sz2rm7iydj0udl
2011-05-25 11:04:35 +02:00
Fabien Meghazi
2f1c3df672
[REM] Removed call to function discarded in rev#4888
...
bzr revid: fme@openerp.com-20110524171704-3zjxespbjpfedofk
2011-05-24 19:17:04 +02:00
Fabien Meghazi
1843ac7fee
[IMP] Improved sidebar. Added callback for Sidebar#do_refresh
...
bzr revid: fme@openerp.com-20110524164233-jm69rjq7z293275j
2011-05-24 18:42:33 +02:00
niv-openerp
ba308938c4
[IMP] Added callbacks to null object generator.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524163420-tju2e4a06htfzbzt
2011-05-24 18:34:20 +02:00
niv-openerp
15e208d9ee
[fix] gradient problem in id9
...
bzr revid: nicolas.vanhoren@openerp.com-20110524153258-4v6dh6qcvj0oqasg
2011-05-24 17:32:58 +02:00
niv-openerp
e2e933e86c
[IMP] Css correction for ie9.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524145948-yr86gez1nsg4vpc2
2011-05-24 16:59:48 +02:00
niv-openerp
fedbca5d5b
[IMP] Replaced images by gradiants.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524141029-0j75qlq0azjzr7cw
2011-05-24 16:10:29 +02:00
Xavier Morel
069da6ed5e
[FIX] aggregate field value can be returned as 'false', which should be translated to '0'
...
bzr revid: xmo@openerp.com-20110524140648-79ukx88gl61eedd9
2011-05-24 16:06:48 +02:00
Xavier Morel
bf57c5ab90
[IMP] a bunch of improvements to groups handling in list view
...
* Support for aggregate fields in groups
* Complete (breaking) change to DataGroup API, turns out the old one sucked
* Correctly display groups (and nested data columns)
* Support for group_by_no_leaf, with and without group_by fields
bzr revid: xmo@openerp.com-20110524140055-6g22b1xt7hz9ujrl
2011-05-24 16:00:55 +02:00
Xavier Morel
7e7034436c
[FIX] handling of group_by_no_leaf in case where there is no group_by field
...
bzr revid: xmo@openerp.com-20110524132729-6890kfrusn3w3fo0
2011-05-24 15:27:29 +02:00
niv-openerp
f1694ed583
[IMP] Improved menu css.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524132021-yctfwlehmgvn9uow
2011-05-24 15:20:21 +02:00
Xavier Morel
21e2edea63
[IMP] move selection checkbox after group and count columns
...
bzr revid: xmo@openerp.com-20110524115755-v7e3wmxk9r6bitn7
2011-05-24 13:57:55 +02:00
niv-openerp
d2685b5b48
[IMP] Improvements to sidebar and viewmanager-free views.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524113013-nh28hirqpmq17e0t
2011-05-24 13:30:13 +02:00
Fabien Meghazi
48f6008666
[IMP] Sidebar cleanup
...
bzr revid: fme@openerp.com-20110524103417-f077y3syyo2cmria
2011-05-24 12:34:17 +02:00
Xavier Morel
96fabdeff6
[IMP] display group length even for terminal groups in group_by_no_leaf
...
bzr revid: xmo@openerp.com-20110524102654-vrjiu7pht02n7v6p
2011-05-24 12:26:54 +02:00
Fabien Meghazi
886ec09070
[FIX] No sidebar for dashboards
...
bzr revid: fme@openerp.com-20110524095024-jp4hfw65r6r84ylv
2011-05-24 11:50:24 +02:00
niv-openerp
7cca89c44d
[FIX] Disabled sidebar by default with popups.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524094649-i0brp02sprgfxa1d
2011-05-24 11:46:49 +02:00
niv-openerp
ab608efce9
[FIX] Fixed form view problem in m2o && m2m.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524093737-0u1rkpwj9n3mpie3
2011-05-24 11:37:37 +02:00
Xavier Morel
7758f281ed
[ADD] handling of group_by_no_leaf
...
bzr revid: xmo@openerp.com-20110524091125-ltohsi2zy6nbmi3p
2011-05-24 11:11:25 +02:00
Xavier Morel
8a50dd1609
[FIX] handling of context in DataGroup.read, context is put in request.context not provided as part of the function's kwargs dammit
...
bzr revid: xmo@openerp.com-20110524091114-201ar78ijsh2ntj8
2011-05-24 11:11:14 +02:00
niv-openerp
deb8744071
[FIX] Bug in popup search for m2x.
...
bzr revid: nicolas.vanhoren@openerp.com-20110524083558-x3evc3cop9tael9o
2011-05-24 10:35:58 +02:00
Xavier Morel
7321970cf9
[ADD] switch to adding special group and count columns, correctly indent inner groups in tree-like structure
...
bzr revid: xmo@openerp.com-20110524065205-rxulby7dn9gk7qzj
2011-05-24 08:52:05 +02:00
Fabien Meghazi
d66a1ca348
[IMP] Moved binary controllers from FormView class to new Binary class
...
bzr revid: fme@openerp.com-20110523145219-0nwzvkm94bm5liag
2011-05-23 16:52:19 +02:00
Fabien Meghazi
fb9f16b6df
[FIX] Fixed tree variable declaration
...
bzr revid: fme@openerp.com-20110523144640-rnpiqxnzeuynjkr0
2011-05-23 16:46:40 +02:00
Fabien Meghazi
753f80e851
[FIX] Fixed file selector button hack for Firefox
...
bzr revid: fme@openerp.com-20110523133840-slawlyaexyq4l3j1
2011-05-23 15:38:40 +02:00
Xavier Morel
5ee4348ce7
[FIX] name of treeview JS file, whitespace in base.js
...
bzr revid: xmo@openerp.com-20110523112026-5s87jljtx207umuk
2011-05-23 13:20:26 +02:00