[FIX] document: removed dangerous and useless commits
authorOlivier Dony <odo@openerp.com>
Wed, 30 Nov 2011 12:02:39 +0000 (13:02 +0100)
committerOlivier Dony <odo@openerp.com>
Wed, 30 Nov 2011 12:02:39 +0000 (13:02 +0100)
commitc5c88c43c07dfb2ef2f3def2bd9441a3cbd1fba0
treebd6de28f5a18121fb1fc7ad982bf6b0e325df24c
parent84f0f3efeca65692c4c82ca3db67bd3b391fe51a
[FIX] document: removed dangerous and useless commits

These commits were introduce mostly at revision
1849.1.1 revid:hmo@tinyerp.com-20081111052750-zqzvr6oaihvt103t
in an attempt to fix an issue with transactions
originating from FTP connections.
This was wrong: the virtual FTP filesystem should
perform its own transaction management for each
operation, just like the RPC layer does it for
each request. Forcing a commit in the business
code during the course of a normal transaction is
totally *forbidden*!
In addition, the FTP layer now properly manages
its transactions, so the commit calls were useless
anyway.

bzr revid: odo@openerp.com-20111130120239-5fcavvpd14w056zb
addons/document/document.py
addons/document/test/document_test2.yml