Xavier Morel
8507ceddcf
[IMP] make resolve_o2m_commands_to_record_dicts's result eager as per vmt's suggestion
...
bzr revid: xmo@openerp.com-20111011085715-cvcficcy4di9q29i
2011-10-11 10:57:15 +02:00
Xavier Morel
2646a34cf0
[ADD] don't blow up on a singleton DELETE_ALL command (that command takes no parameters, so can have just (5,))
...
bzr revid: xmo@openerp.com-20111011084852-hborz317ru5pbzux
2011-10-11 10:48:52 +02:00
Xavier Morel
8734ffb6c2
[IMP] raise assertion error if an o2m command is not one of CREATE, UPDATE or LINK_TO
...
bzr revid: xmo@openerp.com-20111011083824-4g0ros6f3xgslkq4
2011-10-11 10:38:24 +02:00
Xavier Morel
4d0a189796
[IMP] handle case where o2m commands are pairs instead of triplets
...
bzr revid: xmo@openerp.com-20111011081202-y1ou74u038o2kl58
2011-10-11 10:12:02 +02:00
Xavier Morel
b5ee13a845
[IMP] rename serialize_o2m_commands to resolve_o2m_commands_to_record_dicts
...
bzr revid: xmo@openerp.com-20111011080338-hup42vivlvk4dly0
2011-10-11 10:03:38 +02:00
Xavier Morel
d5accc0fae
[ADD] method to correctly serialize o2m commands into a sequence of record-dicts for e.g. onchanges
...
also alters res.partner.bank _default_value to use it with res.partner addresses, and adds a few tests to ensure behavior is correct
bzr revid: xmo@openerp.com-20111010135157-dafgcwwcni5gkeom
2011-10-10 15:51:57 +02:00
Vo Minh Thu
608274e292
[FIX] use the new xmlrpc-1 URIs in the tests.
...
bzr revid: vmt@openerp.com-20111003093355-2agzw7euaphdq7yr
2011-10-03 11:33:55 +02:00
Antony Lesuisse
ace4703440
[MERGE] trunk
...
bzr revid: al@openerp.com-20111001012210-uqqso9y80a21hgeo
2011-10-01 03:22:10 +02:00
Vo Minh Thu
106e8d48da
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20110930151533-7mhnk5bbtwx0rjjq
2011-09-30 17:15:33 +02:00
Vo Minh Thu
d273e72f35
[IMP] xmlrpc/exceptions: added a model and a view to exercise exception handling.
...
bzr revid: vmt@openerp.com-20110930093755-ee6569l3bhgrervp
2011-09-30 11:37:55 +02:00
Vo Minh Thu
b917742f15
[IMP] ir_sequence: added a simple test.
...
bzr revid: vmt@openerp.com-20110928151704-tqsr5h8zqs0vr32f
2011-09-28 17:17:04 +02:00
Vo Minh Thu
538cc0e92f
[FIX] ir_sequence: typo in read().
...
bzr revid: vmt@openerp.com-20110928141520-9yx9sogoetizb9nn
2011-09-28 16:15:20 +02:00
Vo Minh Thu
eeaa2a7f80
[FIX] ir_sequence: do the FOR UPDATE NO WAIT only in the No-gap sequence.
...
bzr revid: vmt@openerp.com-20110928114229-1g6r5et5frj26wam
2011-09-28 13:42:29 +02:00
Vo Minh Thu
f2c5556b68
[FIX] ir_sequence: forgot id argument in _create_sequence().
...
bzr revid: vmt@openerp.com-20110928103009-17rw1af5ebauu3f5
2011-09-28 12:30:09 +02:00
Vo Minh Thu
a254a13dc3
[IMP] xmlrpc: versioned API.
...
bzr revid: vmt@openerp.com-20110925150923-au0u0nply8lriise
2011-09-25 17:09:23 +02:00
Vo Minh Thu
cc26f2b5d2
[IMP] tests: added a simple test case to create a database via XML-RPC.
...
The test setup starts an OpenERP server similarly to the
openerp-server script. For this to be possible, some of
its code is moved to openerp.services.
bzr revid: vmt@openerp.com-20110923133408-qqf4i5l86pkk7xn5
2011-09-23 15:34:08 +02:00