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
Xavier Morel
e549c9f7cb
[IMP] cleanup initialization of evaluation context on eval_domain and eval_context
...
bzr revid: xmo@openerp.com-20110329082034-zh2gx656806bu2se
2011-03-29 10:20:34 +02:00
Xavier Morel
5e426a9c31
[IMP] move storage of contexts to OpenERPSession.context_store, fix a number of tests it broke including one it revealed was completely broken
...
test_retrieve_second_domain passing relied on domains and contexts being stored in the same place, as it created a domain from a context key and tried to check if that worked. It did...
bzr revid: xmo@openerp.com-20110329082002-8rnvnp9cog9gr7zd
2011-03-29 10:20:02 +02:00
Xavier Morel
6f3862e101
[ADD] non-literal contexts
...
bzr revid: xmo@openerp.com-20110328151410-6ep57ay6sdc2k39r
2011-03-28 17:14:10 +02:00
Xavier Morel
e7860c7e63
[IMP] use non-literal domains to and from client, add a bunch of tests
...
Converted OpenERPSession's evaluations to be based on literal (dict) or nonliteral (Domain) objects. OpenERPSession will *not accept* to eval strings
bzr revid: xmo@openerp.com-20110328141920-hlp6sb173o2j6ldw
2011-03-28 16:19:20 +02:00
Xavier Morel
fd9da7558a
[ADD] start working on adding the concept of literal and non-lit domains, non-lit domains will *not* be pushed to the client but will be stored locally and only a ref will go through
...
bzr revid: xmo@openerp.com-20110328122724-gnxn8cnta4xyotab
2011-03-28 14:27:24 +02:00
Xavier Morel
ec7510b839
[FIX] documentation handling issues
...
bzr revid: xmo@openerp.com-20110328091809-kju0n2rw232z1pxf
2011-03-28 11:18:09 +02:00
Xavier Morel
b49ece30d3
[FIX] evaluation context should contain itself (as some domains go get stuff via context.get)
...
bzr revid: xmo@openerp.com-20110325150838-qxo8ruf6i2v3jt5l
2011-03-25 16:08:38 +01:00
Xavier Morel
632d93afa7
[ADD] evaluation of search contexts and domains, hook ViewManager to the dataset in order to perform the correct search.
...
I'm pretty sure there's a race condition somewhere in there, in the initial loading of the whole mess I bet we can have the auto_search triggering before the list controller is done loading...
We probably need some deferred (one for each searchable view in the manager + one for the searchview itself) and a final one waiting on them all (I don't think jquery's deferred can do that built-in) before launching the auto_search
bzr revid: xmo@openerp.com-20110325123252-fjrgj4aicac3fo3b
2011-03-25 13:32:52 +01:00