[FIX] add missing return statement

This commit is contained in:
Stéphane Bidoul
2015-07-24 16:08:32 +02:00
parent 3124f0c144
commit 70ea73a034

View File

@@ -45,7 +45,7 @@ class account_move(models.Model):
# https://github.com/odoo/odoo/pull/7735 is merged
if self.env.context.get('novalidate'):
return
super(account_move, self).validate()
return super(account_move, self).validate()
@api.multi
def _move_reversal(self, reversal_date,