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
e49be016f3
[ADD] tests for the root dispatcher, fix dispatching: start from the *end* of the url and walk backwards to try to find a dispatcher and its method
...
bzr revid: xmo@openerp.com-20110321170357-6k9f7qjww1s2wj3g
2011-03-21 18:03:57 +01:00
Xavier Morel
68e4357e47
[FIX] root dispatcher should raise a 404 error when a controller is not found
...
bzr revid: xmo@openerp.com-20110321162904-33ai6lqaty0unhro
2011-03-21 17:29:04 +01:00
Xavier Morel
698875cc27
[ADD] basic test to openerpweb (to test the behavior of OpenERPModels)
...
bzr revid: xmo@openerp.com-20110321121447-c81cg3n3a97nx15h
2011-03-21 13:14:47 +01:00