Commit Graph
29576 Commits
Author SHA1 Message Date
Xavier Morel efbde798bc [FIX] handling of editable list views via @editable, add basis for adding records in editable list mode
bzr revid: xmo@openerp.com-20110606095918-9kcm3x1m8bncl092
2011-06-06 11:59:18 +02:00
Xavier Morel 69132745e0 [FIX] remove fields_view_get preprocessing of set_editable/@editable, done in JS
bzr revid: xmo@openerp.com-20110606095254-h7r8v42y8q42sjj4
2011-06-06 11:52:54 +02:00
Xavier Morel 8d35fb9a73 [FIX] send current search context to listview load (fields_view_get) so @invisible can be computed correctly
bzr revid: xmo@openerp.com-20110606084622-iwq5tn3lpegabibe
2011-06-06 10:46:22 +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
Xavier Morel aaa459a29d [ADD] edition cancelling
bzr revid: xmo@openerp.com-20110603141638-giwlzwrp795bq78h
2011-06-03 16:16:38 +02:00
Xavier Morel 9250a5a3f6 [IMP] re-render record to readonly after saving it
bzr revid: xmo@openerp.com-20110603132438-uhkzql3lsy6h9ptn
2011-06-03 15:24:38 +02:00
Xavier Morel af71f903dc [ADD] basic (and crummy) saving of editable rows
TODO:
* Switch back to read row after saving
* Edit next row if [return]
* How do things interact with onchanges?
* Handle validation errors

bzr revid: xmo@openerp.com-20110603122443-fvmfouuybh69b48g
2011-06-03 14:24:43 +02:00
Xavier Morel 47d696ef4e [IMP] awful hack to hide the value but not the cell itself in editable row cells when it is invisible from an attrs evaluation rather than from @invisible
bzr revid: xmo@openerp.com-20110603115757-4z67r08g1sfogfgw
2011-06-03 13:57:57 +02:00
Xavier Morel 8c9d79e132 [IMP] move addition of oe-field-cell on cells of editable rows to post-processing rather than template alteration
bzr revid: xmo@openerp.com-20110603111044-hcrqubshpnc6mzux
2011-06-03 13:10:44 +02:00
Xavier Morel 63484a8570 [FIX] style of listview editable row buttons, remove borders (to match non-editable rows)
bzr revid: xmo@openerp.com-20110603110639-9j17krhnsuf5q1bg
2011-06-03 13:06:39 +02:00
Xavier Morel 6037c0a650 [ADD] basic overriding of WidgetFrame template: remove <table> and <tr> display levels
bzr revid: xmo@openerp.com-20110603103100-c0di95c1z5rd1ogh
2011-06-03 12:31:00 +02:00
Xavier Morel a2ba109315 [IMP] make form widgets registry pluggable, have form go get its root Frame widget in the registry instead of hardcoding the relevant class
bzr revid: xmo@openerp.com-20110603094302-hh09kzswb5kcfpye
2011-06-03 11:43:02 +02:00
Xavier Morel 3990af373c [IMP] add ability to clone-and-extend registries
bzr revid: xmo@openerp.com-20110603093817-om68h34w9s8qhxpv
2011-06-03 11:38:17 +02:00
Xavier Morel 3895bcb954 [MOVE] editability code for listviews in a separate files: customizations of Form View require load-time dependencies on form.js, but form.js already depends on ListView (in order to create m2m widgets and sub-widgets), so we need to execute that part after both openep.base.list and openerp.base.form have loaded
bzr revid: xmo@openerp.com-20110603093606-gw00iidxfakjmvt3
2011-06-03 11:36:06 +02:00
Xavier Morel 0d21e3b074 [ADD] display editable rows when selecting row in editable mode
bzr revid: xmo@openerp.com-20110601124954-vog8ceoohczxgmqe
2011-06-01 14:49:54 +02:00
Xavier Morel cd3e60aef1 [ADD] editability status to ListView options (hence all sub-objects of the list view)
bzr revid: xmo@openerp.com-20110531112339-701lpf42p8h19mfj
2011-05-31 13:23:39 +02:00
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
Launchpad Translations on behalf of openerp f9f3fcca30 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110531044750-6p5w7mfp6bow8hl6
2011-05-31 04:47:50 +00:00
Launchpad Translations on behalf of openerp 8dc31b78ab Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110531044735-dhu40as3jjdi6qwe
2011-05-31 04:47:35 +00:00
Quentin (OpenERP) f1658260e4 [MERGE] bugfix for assert error: Human Resources/Configuration/Human Resources/Employees/Categories of Employee/Categories structure
while open the employee view form above menu and try to filter results, i am getting this assertion error.

bzr revid: qdp-launchpad@openerp.com-20110530165804-h46rxi92qxzljr8w
2011-05-30 18:58:04 +02:00
Quentin (OpenERP) ba3ee64859 [MERGE] lp:777803
bzr revid: qdp-launchpad@openerp.com-20110530163158-0tnmt1b96omcjbft
2011-05-30 18:31:58 +02:00
Quentin (OpenERP) 95942eff53 [MERGE] lp:773128
bzr revid: qdp-launchpad@openerp.com-20110530162749-mgix0v37qag65q06
2011-05-30 18:27:49 +02:00
Quentin (OpenERP) d124481632 [MERGE] lp:777121
bzr revid: qdp-launchpad@openerp.com-20110530162143-0jkl2zvcmnaw63av
2011-05-30 18:21:43 +02:00
Quentin (OpenERP) 002d27a81e [MERGE] lp:778473
bzr revid: qdp-launchpad@openerp.com-20110530150655-pv24ogkrchnooib1
2011-05-30 17:06:55 +02:00
Quentin (OpenERP) edc8ebc7c5 [MERGE] lp:780668
bzr revid: qdp-launchpad@openerp.com-20110530150102-5dpu652vgz4by2dc
2011-05-30 17:01:02 +02:00
Quentin (OpenERP) 99ce8bc19b [MERGE] lp:764855
bzr revid: qdp-launchpad@openerp.com-20110530145526-t22u7m93fdse1zp6
2011-05-30 16:55:26 +02:00
Quentin (OpenERP) 13d5e05e0c [MERGE] lp:767039
bzr revid: qdp-launchpad@openerp.com-20110530144537-7l7l518a0hzhzlwr
2011-05-30 16:45:37 +02:00
Quentin (OpenERP) c8bed1299f [MERGE] lp:689547
bzr revid: qdp-launchpad@openerp.com-20110530144236-06kd5exja9ltn72s
2011-05-30 16:42:36 +02:00
Quentin (OpenERP) e7ae483c05 [MERGE] lp:781656
bzr revid: qdp-launchpad@openerp.com-20110530143432-2mxbtxlpg0zy6vbc
2011-05-30 16:34:32 +02:00
Quentin (OpenERP) f6b1235dd3 [MERGE] lp:782163
bzr revid: qdp-launchpad@openerp.com-20110530142421-94oxsuut60kw206g
2011-05-30 16:24:21 +02:00
Quentin (OpenERP) c3b44ca55b [MERGE] lp:782196
bzr revid: qdp-launchpad@openerp.com-20110530142156-vg6jsp9eo103k3nh
2011-05-30 16:21:56 +02:00
Quentin (OpenERP) 689cb4e866 [MERGE] lp:783837
bzr revid: qdp-launchpad@openerp.com-20110530141932-whj2sfw7dk4hlwtt
2011-05-30 16:19:32 +02:00
Quentin (OpenERP) 909770517d [MERGE] lp:772476
bzr revid: qdp-launchpad@openerp.com-20110530141451-ocblibm1pq72069c
2011-05-30 16:14:51 +02:00
Quentin (OpenERP) 9af10acac9 [MERGE] lp:784363
bzr revid: qdp-launchpad@openerp.com-20110530131759-mb15kw86o8ishd0r
2011-05-30 15:17:59 +02:00
Quentin (OpenERP) 523639dff3 [MERGE] lp:751411
bzr revid: qdp-launchpad@openerp.com-20110530131523-rb7l2i57zuel6zu0
2011-05-30 15:15:23 +02:00
Quentin (OpenERP) 23179dc69e [MERGE] lp:710689
bzr revid: qdp-launchpad@openerp.com-20110530130419-l8lo9g325me5f5ur
2011-05-30 15:04:19 +02:00
niv-openerp 6be88ddd66 [imp] gantt view improvements.
bzr revid: nicolas.vanhoren@openerp.com-20110530111444-koe0m1yl1ftckkpr
2011-05-30 13:14:44 +02:00
niv-openerp e3a22c89e5 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110530111402-14nl10jtj5wdfow2
2011-05-30 13:14:02 +02:00
Quentin (OpenERP) 8d3685adf4 [MERGE] lp:782164
bzr revid: qdp-launchpad@openerp.com-20110530110826-48ripft49ehj1r9q
2011-05-30 13:08:26 +02:00
Vo Minh Thu 52731ee4b8 [MERGE] osv: osv classes merged inside orm classes.
bzr revid: vmt@openerp.com-20110530074205-98kdkwhpbu9e19qw
2011-05-30 09:42:05 +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
Launchpad Translations on behalf of openerp d08352c14e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110526043628-iggxpe3dtuzm615i
bzr revid: launchpad_translations_on_behalf_of_openerp-20110527044622-w39rbfftxxgek3f8
bzr revid: launchpad_translations_on_behalf_of_openerp-20110529043625-9tpnzf4lz10ypg5f
bzr revid: launchpad_translations_on_behalf_of_openerp-20110530045915-u5a8nm8u0h54ujyv
2011-05-30 04:59:15 +00:00
Launchpad Translations on behalf of openerp b166b367be Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110527044550-75mzo90wnocq320y
bzr revid: launchpad_translations_on_behalf_of_openerp-20110530045832-ce820mg8qb8eukga
2011-05-30 04:58:32 +00: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
Vo Minh Thu 3fa8c6beb7 [FIX] osv/ir_model: forgot to remove the module arg in ir_model.
bzr revid: vmt@openerp.com-20110527124051-hqc566wumejw4u1s
2011-05-27 14:40:51 +02:00
Vo Minh Thu 554b33978a [IMP] osv: removed unnecessary module arg, added comments.
bzr revid: vmt@openerp.com-20110527123236-tvd4jgco8iigmrxh
2011-05-27 14:32:36 +02:00
niv-openerp 1cf9b3350e [imp] filters improvements
bzr revid: nicolas.vanhoren@openerp.com-20110527102628-4b0x3uoatxsei423
2011-05-27 12:26:28 +02:00
niv-openerp 3c9b737060 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110527102610-jkpryhj9wo21z773
2011-05-27 12:26:10 +02:00