Commit Graph

160 Commits

Author SHA1 Message Date
Xavier Morel d4dc9dec04 [MERGE] bunch of stuff from trunk
bzr revid: xmo@openerp.com-20110714102243-kiyp0o6hjbhmxecd
2011-07-14 12:22:43 +02:00
Xavier Morel 9d814c830b [FIX] remove bloody crazy (and useless) indirection keys in DataSet.call and DataSet.get_result RPC methods
bzr revid: xmo@openerp.com-20110714100522-94rp1otj1n4hrf2x
2011-07-14 12:05:22 +02:00
Xavier Morel d1209c847b [FIX] sorting list views
lp bug: https://launchpad.net/bugs/809309 fixed

bzr revid: xmo@openerp.com-20110713103725-y9fnpp36z78bjbhn
2011-07-13 12:37:25 +02:00
Antony Lesuisse a2e890635b db filter typo
bzr revid: al@openerp.com-20110713120411-tm9j4x9tmgw08mdy
2011-07-13 14:04:11 +02:00
Antony Lesuisse 3acbdf8153 add --db-filter option
bzr revid: al@openerp.com-20110713102612-0lu8s1ausql3j07s
2011-07-13 12:26:12 +02:00
Fabien Meghazi 3e79375a01 [FIX] clean_action not always return action
bzr revid: fme@openerp.com-20110712133430-l55d0bwxwb0znke1
2011-07-12 15:34:30 +02:00
Xavier Morel 8ac948f360 [FIX] explicitly pass a list of fields to read_group instead of False
read_group does not take inherited fields in its default list-of-fields-to-read, so if grouping on an inherited field it will blow up

conversely, read_group can not aggregate on inherited numerical fields, so if it reads *all* the columns (including inherited) it will try to aggregate on fields it's not reading and that's also going to blow up.

bzr revid: xmo@openerp.com-20110711113228-18mbcft9y2lf7ptm
2011-07-11 13:32:28 +02:00
Fabien Meghazi f0f386e748 [REM] Removed use of attrs and replaced it with modifiers
Warning ! You need server Revision: 3497 revid:vmt@openerp.com-20110705122222-bhim9uft3l3sqee8

bzr revid: fme@openerp.com-20110707103740-4m6vrj18wfi2hacy
2011-07-07 12:37:40 +02:00
niv-openerp ea9b60393e [imp] desactivated stupid hello module
bzr revid: nicolas.vanhoren@openerp.com-20110707084415-6or8nj1mrt9pql7e
2011-07-07 10:44:15 +02:00
Xavier Morel f7a47fe58c [MERGE] from trunk, in order to get some dataset & groupby fixes
bzr revid: xmo@openerp.com-20110706142536-dwxuq2v10u660703
2011-07-06 16:25:36 +02:00
Xavier Morel 1847dbc017 [MERGE] list pagination branch
bzr revid: xmo@openerp.com-20110706083214-1thifexcz5pk0jih
2011-07-06 10:32:14 +02:00
Xavier Morel 213b47685c [ADD] home action loading and execution
bzr revid: xmo@openerp.com-20110704141807-147dsoqrx6v53jl4
2011-07-04 16:18:07 +02:00
Xavier Morel 1e0fc68cad [IMP] rpc search_read and internal managment of DataSetSearch.read_slice to better handle pagination
* /base/dataset/search_read now returns a dict of {ids, records} where ids are *not* paginated and is an ordered sequence of all the ids matching the unpaginated search criteria (domain, context, sort)
    records is the old toplevel result: an ordered, paginated sequence of the records read (with fields correctly selected and everything)
* Removed context param to search_read since context comes from request object

bzr revid: xmo@openerp.com-20110622145559-3r2jszyddvbsz3hq
2011-06-22 16:55:59 +02:00
Xavier Morel 1b236bd882 [FIX] xmlrpclib being an asshole
xmlrpclib.ServerProxy will convert XMLRPC strings to 'str'. Or to 'unicode' if it does not feel right today, or just wants to fuck with you. Competence is overrated!

Check precise type of view archiectures and re-encode to str if we're facing unicode strings, so it's possible to feed these little bastards to ElementTree

bzr revid: xmo@openerp.com-20110630142528-1xtj61gaou2klzme
2011-06-30 16:25:28 +02:00
niv-openerp d80b269891 [imp] corrected some problems with context and domains in relation + evalution of non literal context/domains
bzr revid: nicolas.vanhoren@openerp.com-20110630123113-tnzb6owv8kxtl3sw
2011-06-30 14:31:13 +02:00
Xavier Morel 1e8072ea2d [FIX] act_window actions not coming from the db and missing a views key (and collection): generate views from whatever can be found in view_mode and view_id
bzr revid: xmo@openerp.com-20110630064651-701903va7mgbps7g
2011-06-30 08:46:51 +02:00
Xavier Morel 3cd6c86f87 [ADD] support for server actions
bzr revid: xmo@openerp.com-20110630062424-gmnlahmexklnftbk
2011-06-30 08:24:24 +02:00
Xavier Morel ef3a71fec3 [IMP] let non-act_window actions pass through unmolested by clean_action, which is currently mostly there to cleanup the junk in act_window actions
bzr revid: xmo@openerp.com-20110629151400-pyv48na2wecp7rhj
2011-06-29 17:14:00 +02:00
Xavier Morel e6483eb6ba [FIX] typos in python code
bzr revid: xmo@openerp.com-20110629131233-tvxwkrke73ytrw2a
2011-06-29 15:12:33 +02:00
Fabien Meghazi d933184dcc [ADD] Added Dataset#call_button for form's buttons triggering action that should be cleaned
bzr revid: fme@openerp.com-20110628155956-yj8m2r7kpjye5m8v
2011-06-28 17:59:56 +02:00
niv-openerp e819561d1a [imp] modified behavior of domain evaluation, now does not rely anymore on a context for evaluation
bzr revid: nicolas.vanhoren@openerp.com-20110628145413-ljqdmunxi7ykmytz
2011-06-28 16:54:13 +02:00
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
Fabien Meghazi 85e0fbc6fe [FIX] Removed global bin_size causing problems in context. Will activate it only when needed.
Don't forget to logout/login in order to purge context after you pull this revision

bzr revid: fme@openerp.com-20110628133044-dp9jm6aj7ixzc69p
2011-06-28 15:30:44 +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
niv-openerp 7f8b7e7bc1 [imp] removed useless method in main.py
bzr revid: nicolas.vanhoren@openerp.com-20110623155946-mj3lca6u617exxsn
2011-06-23 17:59:46 +02:00
niv-openerp 8ab9cd3411 [imp] changed bin_size behavior
bzr revid: nicolas.vanhoren@openerp.com-20110620105818-gq2ajlxl4npwn038
2011-06-20 12:58:18 +02:00
Fabien Meghazi 4b2ac6b298 [FIX] Fixed context support for action loaded by menu
bzr revid: fme@openerp.com-20110620095558-qstmnthsio1ig3n6
2011-06-20 11:55:58 +02:00
niv-openerp 23dbe20028 [imp] big improvements to context handling
bzr revid: nicolas.vanhoren@openerp.com-20110617160849-zevutg246ns1ghrk
2011-06-17 18:08:49 +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
Jiten Rangwala (OpenERP) f62459d5b2 [MERGE]
bzr revid: jra@tinyerp.com-20110614123000-2shwv7920bvwispu
2011-06-14 18:00:00 +05:30
Jiten Rangwala (OpenERP) 779c588478 [IMP] Improved code
- Remove methods(logout,records,fields_view_get) from base controller which are implemented for mobile.
- Use base dataset in to mobile code.

bzr revid: jra@tinyerp.com-20110614122626-sjodhex9ayp20ia1
2011-06-14 17:56:26 +05:30
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 6c0532ef92 [fix] fixed previous fix about onchanges
bzr revid: nicolas.vanhoren@openerp.com-20110614092420-isugm9lc7i3k0x9g
2011-06-14 11:24:20 +02:00
Fabien Meghazi feb346b1f6 [FIX] Repair callbacks
bzr revid: fme@openerp.com-20110614090050-fj59w1ntc2utq4eu
2011-06-14 11:00:50 +02:00
Jiten Rangwala (OpenERP) f05e45fdd7 [MERGE]
bzr revid: jra@tinyerp.com-20110613123026-yd479syow7wtyzcg
2011-06-13 18:00:26 +05:30
Jiten Rangwala (OpenERP) d0ecebc3a0 [IMP] Improve web mobile
- Change dependancy qweb to qweb2
- Remove unnecessary dependancy from mobile web
- Modify base js for mobile
- Add methods in base for shortcut list and logout

bzr revid: jra@tinyerp.com-20110610125006-7dg7f22uu5iazmhh
2011-06-10 18:20:06 +05:30
Jiten Rangwala (OpenERP) fc350d5775 [REM] Remove extra code from mobile controller
bzr revid: jra@tinyerp.com-20110609134500-fbc7gzeyj7h71w41
2011-06-09 19:15:00 +05:30
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
Antony Lesuisse 45eb411f04 [MERGE] xmo editable lists
bzr revid: al@openerp.com-20110609012045-off7e8p7qem11vza
2011-06-09 03:20:45 +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
niv-openerp 8f5088e127 [imp] added db selection
bzr revid: nicolas.vanhoren@openerp.com-20110606114306-bbb8r3fvtxvvamcq
2011-06-06 13:43:06 +02:00
Xavier Morel c452d85a7a [MERGE] from trunk
bzr revid: xmo@openerp.com-20110606113621-r3q0otfjdu7l0ubp
2011-06-06 13:36:21 +02:00
Fabien Meghazi 8011b649ee [ADD] "Reset" feature in dashboards
bzr revid: fme@openerp.com-20110606105436-wpo7xyiiy2o6jyzm
2011-06-06 12:54:36 +02:00
Fabien Meghazi 19382763fb [FIX] Fixed View controller
bzr revid: fme@openerp.com-20110606103502-wfph1zo7nnt2668p
2011-06-06 12:35:02 +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
niv-openerp 0422a69d6c [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110606070530-mi6q1qltcidao7us
2011-06-06 09:05:30 +02:00