Commit Graph

80 Commits

Author SHA1 Message Date
niv-openerp 63a5ac2355 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110628140534-3lvqp50zrav7s7ld
2011-06-28 16:05:34 +02:00
niv-openerp 58e236eb44 [fix] redesigned evaluation contexts
bzr revid: nicolas.vanhoren@openerp.com-20110628140418-lxmclab51ll0iwdd
2011-06-28 16:04:18 +02:00
niv-openerp aa9eedee9e [imp] added evaluation context into compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628133407-yoqcfl6z3gm90ct6
2011-06-28 15:34:07 +02:00
niv-openerp 46d87b34b0 [imp] added evaluation context to compound context
bzr revid: nicolas.vanhoren@openerp.com-20110628121747-e8y1y3avglshzxv1
2011-06-28 14:17:47 +02:00
Fabien Meghazi 97da93d3a1 [IMP] Added on_act_window_closed in ViewManager
bzr revid: fme@openerp.com-20110628103049-n7aje7d1a81zjnq3
2011-06-28 12:30:49 +02:00
Fabien Meghazi d106b1479d [FIX] Correctly set index in DataSetStatic constructor
bzr revid: fme@openerp.com-20110628095858-euv72cho29rbu3hl
2011-06-28 11:58:58 +02:00
Fabien Meghazi 597f850be5 [IMP] Pass context & dataset in constructor of DataSetSearch
bzr revid: fme@openerp.com-20110628093559-dvzvbi51o2xf7kmy
2011-06-28 11:35:59 +02:00
niv-openerp fe6536132f [imp] refactored one2many dataset & created read only search dataset & used it in the select create popup
bzr revid: nicolas.vanhoren@openerp.com-20110623165717-di9r0i463tm4wm7a
2011-06-23 18:57:17 +02:00
Fabien Meghazi b91fca6709 [FIX] Dataset's index default value should be null
bzr revid: fme@openerp.com-20110623155218-205t5nb0etjdgfc4
2011-06-23 17:52:18 +02:00
niv-openerp 9eede2e3a4 [fix] added setTimeout to all methods of o2m dataset to avoid lot of potential bugs in the views
bzr revid: nicolas.vanhoren@openerp.com-20110623122110-4cst4fm1dzup5z69
2011-06-23 14:21:10 +02:00
niv-openerp 58291d4ab6 [imp] added unlink to dataset and list_view (currently just reloads the whole list)
bzr revid: nicolas.vanhoren@openerp.com-20110622144916-cst2ad1s0gtchlxi
2011-06-22 16:49:16 +02:00
Fabien Meghazi c57a3e0d98 [FIX] Fixed active_is in context for dialog actions
bzr revid: fme@openerp.com-20110621143804-b51tp8n0a393oixi
2011-06-21 16:38:04 +02:00
niv-openerp 157273f15a [imp] added default name on false quick create in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110617141945-wnnhkhf8wezwfyed
2011-06-17 16:19:45 +02:00
niv-openerp e975b4ac1e [imp] added compound context and compound domain and implemented correctly context & domain handling in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110617120834-c616130ueklb3rxs
2011-06-17 14:08:34 +02:00
niv-openerp 858f61c6be [imp] added compound domains and contexts
bzr revid: nicolas.vanhoren@openerp.com-20110617095835-oymrh9u459hhwqa1
2011-06-17 11:58:35 +02:00
niv-openerp cb50260aa8 [imp] o2m wip
bzr revid: nicolas.vanhoren@openerp.com-20110616163709-gztnhlqhgvprtirf
2011-06-16 18:37:09 +02:00
niv-openerp 7c7514654f [imp] improved design of name_search
bzr revid: nicolas.vanhoren@openerp.com-20110614093844-vurmvtar87wq486c
2011-06-14 11:38:44 +02:00
niv-openerp c73df94a6c [imp] added quick create
bzr revid: nicolas.vanhoren@openerp.com-20110610161629-13jcm1obpahfrokx
2011-06-10 18:16:29 +02:00
niv-openerp 7d05822051 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110609132026-bql0r43umfho1kcj
2011-06-09 15:20:26 +02:00
niv-openerp 28c6b1c7d8 [imp] improvements of the m2o
bzr revid: nicolas.vanhoren@openerp.com-20110609132004-vac8h7r2im3wdlq5
2011-06-09 15:20:04 +02:00
niv-openerp a4e8b8e017 [deep-cleaning] first step of rewriting m2o
bzr revid: nicolas.vanhoren@openerp.com-20110606165043-dae2xm6d48vq4z7m
2011-06-06 18:50:43 +02:00
Xavier Morel c452d85a7a [MERGE] from trunk
bzr revid: xmo@openerp.com-20110606113621-r3q0otfjdu7l0ubp
2011-06-06 13:36:21 +02:00
Xavier Morel 7ba2688e39 [IMP] reload of rows after action: only reload the row, not the whole tree
Also improve DataSet slightly: have read_index and read_ids return their RPC promises

bzr revid: xmo@openerp.com-20110603143723-go25vripams72bqb
2011-06-03 16:37:23 +02:00
niv-openerp 03c9889964 [imp] simplified design of static datasets and non-action view managers for m2m & o2m
bzr revid: nicolas.vanhoren@openerp.com-20110531141119-39chys078m5g0jo4
2011-05-31 16:11:19 +02:00
niv-openerp f6d4bdc555 Import old branch.
bzr revid: nicolas.vanhoren@openerp.com-20110531130154-45t27asxk5pcr7sd
2011-05-31 15:01: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
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 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
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
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 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
Xavier Morel 96c7c16b5f [FIX] moving between list and form views
bzr revid: xmo@openerp.com-20110520142041-7wk4d53459fvjbra
2011-05-20 16:20:41 +02:00
Xavier Morel ccf8031e6b [IMP] Break list views completely, change DataGroup API to work better, improve columns management to handle groupby-reordering
bzr revid: xmo@openerp.com-20110517140358-vtank237dh5hso8i
2011-05-17 16:03:58 +02:00
Xavier Morel b78b3d4ead [IMP] document transformation of read_group fields, add an 'aggregates' property to handle aggregate fields of read_group in a cleaner manner
bzr revid: xmo@openerp.com-20110516080539-4ltj6um1htwdzndb
2011-05-16 10:05:39 +02:00
Xavier Morel 24275a1de5 [FIX] listview tests: ListView.do_fill_table not asynchronous anymore, ListView.get_selection moved to ListView.List
bzr revid: xmo@openerp.com-20110516073519-25veovu7tvl31j4d
2011-05-16 09:35:19 +02:00
niv-openerp ce6efa372a [MERGE] many2one and many2many
bzr revid: nicolas.vanhoren@openerp.com-20110513142038-wa87m5kbfviqstvr
2011-05-13 16:20:38 +02:00
niv-openerp 3bc12005bd [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110513141459-g5b19i83hqvy9cnh
2011-05-13 16:14:59 +02:00
Xavier Morel bfd76b67d5 [IMP] DataGroup API doc
bzr revid: xmo@openerp.com-20110511121021-ivie7r93fc6u6quf
2011-05-11 14:10:21 +02:00
Xavier Morel 6aae474545 [FIX] callback parameters to DataGroup.get should use the root DataGroup as their context
bzr revid: xmo@openerp.com-20110510111250-6bfx1bmq87od8n9e
2011-05-10 13:12:50 +02:00
Xavier Morel 1e6e428d7e [IMP] don't use a parameter object for DataGroup, provide each parameter individually
bzr revid: xmo@openerp.com-20110510111204-8ypp5zdujd0azncf
2011-05-10 13:12:04 +02:00
Xavier Morel 45f47ae65c [ADD] display groups in a most dreadful manner, need to cleanup the generation function and to handle displaying it in the correct table
bzr revid: xmo@openerp.com-20110510110723-ic13ty3rs92zg9z9
2011-05-10 13:07:23 +02:00
Xavier Morel 0dcd78a54e [ADD] DataGroup API
bzr revid: xmo@openerp.com-20110510083420-18zr6j8ab5d9c023
2011-05-10 10:34:20 +02:00
niv-openerp c828a5e872 [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110506115607-c23lh5skwx5qtt82
2011-05-06 13:56:07 +02:00
sma (Tiny) 8e7459c3b5 [IMP] Create initiall 'create', 'edit', 'close' from m2o auto creation.
bzr revid: sma@tinyerp.com-20110505070146-2be5r6tj7tavv3hl
2011-05-05 12:31:46 +05:30
Xavier Morel 075902f5c2 [IMP] make sortable columns look sortable (and sorted) a bit
bzr revid: xmo@openerp.com-20110504144753-zemygt44re3o8z0m
2011-05-04 16:47:53 +02:00
Xavier Morel ff691a34b5 [ADD] sorting support in list views
* Fix sorting in DataSet.do_search_read (would not fix ordering of read results, yielding a semi-random order instead of the one returned by search)
* Add sort parameter support to ListView.fill()
* Improve handling of sort parameter on DataSetSearch
  - Queue up fields to sort on (most important last) by calling 'dataset.sort(fieldname)' repeatedly
  - Get back a sort string fit for sending to OpenERP (server) by calling 'dataset.sort()' (without arguments)
* Adds sorting on list view by clicking on headers

bzr revid: xmo@openerp.com-20110504140535-ydj8zs33lt0dgcwy
2011-05-04 16:05:35 +02:00
niv-openerp 63bed71ac3 [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110427143723-1po27vnufecyg4nq
2011-04-27 16:37:23 +02:00
sma (Tiny) 5060d7111c [IMP] Implement many2one initiall work.
bzr revid: sma@tinyerp.com-20110427122051-h80fka7fqjz0fcpz
2011-04-27 17:50:51 +05:30
niv-openerp 96c1dacf4c [IMP] m2m now support suppression of elements.
bzr revid: nicolas.vanhoren@openerp.com-20110426121146-kq1cuu7i1r0nwfiq
2011-04-26 14:11:46 +02:00
niv-openerp 2cfc487ccd [IMP] Read-only many2many implemented.
bzr revid: nicolas.vanhoren@openerp.com-20110426112413-nfoozpnol8zbli26
2011-04-26 13:24:13 +02:00