bzr revid: fp@tinyerp.com-20090129155216-coo7xd69aszefhjz
This commit is contained in:
Fabien Pinckaers 2009-01-29 16:52:16 +01:00
parent 300c48d859
commit 55ab099cb9
1 changed files with 2 additions and 0 deletions

View File

@ -935,6 +935,8 @@ class account_move(osv.osv):
# Validate a balanced move. If it is a centralised journal, create a move.
#
def validate(self, cr, uid, ids, context={}):
if '__last_update' in context:
del context['__last_update']
ok = True
for move in self.browse(cr, uid, ids, context):
#unlink analytic lines on move_lines