Commit Graph
148 Commits
Author SHA1 Message Date
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
niv-openerp aece1cf7c1 [imp] improvements related to embedded views.
bzr revid: nicolas.vanhoren@openerp.com-20110606070451-vn321aqrzi28akgj
2011-06-06 09:04:51 +02:00
Fabien Meghazi dac344cf31 [ADD] Add custom views management (add, undo) in View controller
bzr revid: fme@openerp.com-20110601134514-dv91qpjl50ptf161
2011-06-01 15:45:14 +02:00
Fabien Meghazi 4705e30d0b [FIX] Fixed load() in action controller. Was not calling clean_action()
bzr revid: fme@openerp.com-20110531195202-6z6veclumppp1mlr
2011-05-31 21:52:02 +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 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
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
Fabien Meghazi e3eb23b96c [ADD] Added Binary#upload_attachment controller
bzr revid: fme@openerp.com-20110526210641-geszqjfcw3vx0vq8
2011-05-26 23:06:41 +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 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
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
Xavier Morel 802a039429 [FIX] read_group call: don't provide a False domain, the server does *not* like it
bzr revid: xmo@openerp.com-20110520120202-02thl4b63bw8nxig
2011-05-20 14:02:02 +02:00
Xavier Morel 3fd459098a [FIX] 'except Exception as variable' is invalid syntax in Python 2.5
bzr revid: xmo@openerp.com-20110520082343-y7uhx6vbf1afwfxj
2011-05-20 10:23:43 +02:00
niv-openerp b98f1f5415 [IMP] Added all fields in custom filters.
bzr revid: nicolas.vanhoren@openerp.com-20110519151249-jsla662056a8r01m
2011-05-19 17:12:49 +02:00