Commit Graph

81 Commits

Author SHA1 Message Date
Antony Lesuisse 66a054ab7d [IMP] get rid of base.html
bzr revid: al@openerp.com-20110722142824-u7j7gu3o00skliwi
2011-07-22 16:28:24 +02:00
Xavier Morel 2f8d2412ac [FIX] context recursion: create the recursion (context['context'] = context) at the latest possible moment, otherwise due to shallow dict copies not preserving recursion nested contexts don't contain all values of the toplevel context
setup recursion into OpenERPSession.evaluation_context, instead of doing this wherever (e.g. OpenERPSession.eval_context)

bzr revid: xmo@openerp.com-20110715092451-yz7f272uix1zqb8e
2011-07-15 11:24:51 +02:00
Antony Lesuisse 3acbdf8153 add --db-filter option
bzr revid: al@openerp.com-20110713102612-0lu8s1ausql3j07s
2011-07-13 12:26:12 +02:00
Xavier Morel 6d1263a97a [REM] conditional test, set json-rpc response result directly from method call instead of going through an intermediate variable
bzr revid: xmo@openerp.com-20110711114827-od8se08z08qentmm
2011-07-11 13:48:27 +02:00
Xavier Morel 7a88962d90 [IMP] None is the default 'default value' argument to dict.get, no need to explicitly provide it
bzr revid: xmo@openerp.com-20110711114135-vednxzi8ehcwi1l7
2011-07-11 13:41:35 +02:00
Xavier Morel f07a8ed24b [IMP] None should be checked via identity testing, clearer and cleaner
bzr revid: xmo@openerp.com-20110711113953-p2f6erihfsikj2dv
2011-07-11 13:39:53 +02:00
Xavier Morel 4d2bdaad26 [IMP] OptionParser.add_option does not hardcode a set number of short and long option names
no need to provide an empty string first argument to add a long-option-string-only option. Just don't provide a short option

bzr revid: xmo@openerp.com-20110711113909-sv487tcdcgh4qq2n
2011-07-11 13:39:09 +02:00
Antony Lesuisse 73f0f3f5d8 configurable server (host, port)
bzr revid: al@openerp.com-20110709161200-pbgam641ce4uzazh
2011-07-09 18:12:00 +02:00
niv-openerp eceae3def4 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110630123204-nhccni0tvm1bk4bb
2011-06-30 14:32:04 +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
Fabien Meghazi 987b8f1e9f [FIX] Need time & datetime modules for evaluation
bzr revid: fme@openerp.com-20110630095931-nysrcqz8666gafgb
2011-06-30 11:59:31 +02:00
niv-openerp 2810459e5e [imp] made some modifications in rpc() that could possibly break compatibility, made the error_callback consistant (never overwrites the default one) and removed the default context
bzr revid: nicolas.vanhoren@openerp.com-20110629102858-8e6xyhgpeyo5kml2
2011-06-29 12:28:58 +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 bbd9df8fc4 [imp] added super dict
bzr revid: nicolas.vanhoren@openerp.com-20110628131254-2cj2l9k4zsuxb7u0
2011-06-28 15:12:54 +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
Xavier Morel b8032a6eec [FIX] error reporting during domain and context evaluation failure
maybe, just maybe, interpolating reported data into the error string could be useful for debugging

bzr revid: xmo@openerp.com-20110627131247-lv38qdg77v22u4hx
2011-06-27 15:12:47 +02:00
Xavier Morel 65828ae0a1 [IMP] slightly improve handling of nonliterals
TODO: Should non_literal_decoder really call itself recursively like that?
TODO: tests for compound stuff

bzr revid: xmo@openerp.com-20110621084504-6cbkt6zd0rexfng8
2011-06-21 10:45:04 +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
niv-openerp a1da1b2351 [imp] now merges all contexts with the context of the session
bzr revid: nicolas.vanhoren@openerp.com-20110617163153-3d4vzctac8od1f9e
2011-06-17 18:31:53 +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
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
Jiten Rangwala (OpenERP) bd05395a35 Minor change.
bzr revid: jra@tinyerp.com-20110614123604-wss50dutxq104wdt
2011-06-14 18:06:04 +05:30
Jiten Rangwala (OpenERP) f6ac2e0d94 [ADD] Add web_mobile in to this new branch for mobile project.
bzr revid: jra@tinyerp.com-20110608055139-j5p8fnrwm0ju3ial
2011-06-08 11:21:39 +05:30
Fabien Meghazi 91e65e8f00 [IMP] Do not print non-string values of POST requests params in the log output (eg: multipart file upload)
bzr revid: fme@openerp.com-20110526203706-lvgqzxo2f0kqo6d2
2011-05-26 22:37:06 +02:00
Fabien Meghazi 0763b38c6e [ADD] Add session property to openerpweb.HttpRequest
bzr revid: fme@openerp.com-20110517155953-7e7a79a3nun3wzuf
2011-05-17 17:59:53 +02:00
niv-openerp a270b417aa [IMP] Improved configuration.
bzr revid: nicolas.vanhoren@openerp.com-20110513114228-owzkbb345dukdcxo
2011-05-13 13:42:28 +02:00
niv-openerp b76e1fab11 [IMP] Added documenation in dates.py.
bzr revid: nicolas.vanhoren@openerp.com-20110511145119-ds8j37n0l865jqqx
2011-05-11 16:51:19 +02:00
Xavier Morel 94b53db195 [FIX] incorrect documentation of get_*_string in nonliterals.Context and nonliterals.Domain: the 'session' parameter has not existed in a long time
bzr revid: xmo@openerp.com-20110505064143-1e25gm967nxb9gyb
2011-05-05 08:41:43 +02:00
Xavier Morel 87cb06d0d6 [IMP] remove timeouting XMLRPC socket
bzr revid: xmo@openerp.com-20110504064642-48u0giakycwqufwr
2011-05-04 08:46:42 +02:00
niv-openerp ead84d301c [FIX] Work-around to fix a problem in xml rpc classes that made them unusable using python 2.7.
bzr revid: nicolas.vanhoren@openerp.com-20110502131904-kkzkzl6jk5jsrv7x
2011-05-02 15:19:04 +02:00
niv-openerp be4b0194bf [IMP] Changed global timezone of python side.
bzr revid: nicolas.vanhoren@openerp.com-20110428151608-6vjegsfnm7sfu51v
2011-04-28 17:16:08 +02:00
niv-openerp 71e9f4a75b [IMP] Added dates conversion functions on the python side.
bzr revid: nicolas.vanhoren@openerp.com-20110428140328-b4phov2b0a7f5r5f
2011-04-28 16:03:28 +02:00
niv-openerp 66a14cfc0d [IMP] Added conversion functions for dates in javascript.
bzr revid: nicolas.vanhoren@openerp.com-20110428135045-ub5zuomewzjyob01
2011-04-28 15:50:45 +02:00
Fabien Meghazi 3e4c62c536 [ADD] Added exec_workflow controllers
bzr revid: fme@openerp.com-20110421155605-ek8effxz9xln26s4
2011-04-21 17:56:05 +02:00
Daniel Watkins 9c99f01964 Prettify JSON examples.
bzr revid: daniel@daniel-watkins.co.uk-20110414214332-2zsj9i4ogf3l7u1z
2011-04-14 22:43:32 +01:00
Xavier Morel ce82767d16 [FIX] eval_context and eval_domain should *not* modify the dicts they're given (without cloning them), especially since they're creating circular references (which blow up when they're serialized by simplejson)
bzr revid: xmo@openerp.com-20110412121305-mq6l9a4co5xxrfkz
2011-04-12 14:13:05 +02:00
niv-openerp 66a79b7e3f [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110408161023-barazui14iowxptr
2011-04-08 18:10:23 +02:00
Antony Lesuisse a590451a1b [MERGE] manually calendar view from trunk-proto61-dhtmlx-scheduler-vda
bzr revid: al@openerp.com-20110407164106-odb0y1qogrg4x2js
2011-04-07 18:41:06 +02:00
niv-openerp c8e100f8cd [MERGE]
bzr revid: nicolas.vanhoren@openerp.com-20110407101319-5axkyl54kts7u7n4
2011-04-07 12:13:19 +02:00
niv-openerp 0cab8e6972 [IMP] Actions handling wip
bzr revid: nicolas.vanhoren@openerp.com-20110407095912-r6cqswx9pvo684ek
2011-04-07 11:59:12 +02:00
Antony Lesuisse e8cbbeddff applicationsession
bzr revid: al@openerp.com-20110407030429-d6c26b10zduodir0
2011-04-07 05:04:29 +02:00
Antony Lesuisse df73cbb7a8 fix httprequest for web_chat
bzr revid: al@openerp.com-20110407024748-g2gf4u854qsu4eny
2011-04-07 04:47:48 +02:00
Antony Lesuisse d85a600824 split viewmanager and dataset
bzr revid: al@openerp.com-20110406005136-6w992t10sr2588c6
2011-04-06 02:51:36 +02:00
Antony Lesuisse c7e2d214ad renames part6 partially working
bzr revid: al@openerp.com-20110330143556-yogu79hyy5oojdvq
2011-03-30 16:35:56 +02:00
Xavier Morel c3d74fe290 [ADD] handling of own values on fields (e.g. self, values which are used to evaluate the field's context and domain, but not any other field's)
Also fix bugs in fields_view_get: didn't evaluate filter_domain to a nonliteral Domain (or a literal domain dict)

bzr revid: xmo@openerp.com-20110329090941-av5ymojubq23yjim
2011-03-29 11:09:41 +02:00