[FIX] account: Fix missing parenthesis in reversal wizard

closes odoo/odoo#38095

X-original-commit: 431d6058afe71efa6078cb5d18c547ee2a910484
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
Laurent Smet
2019-10-07 13:14:02 +00:00
committed by fw-bot
parent a5dba54232
commit bb53ee456d
@@ -21,7 +21,7 @@ class AccountMoveReversal(models.TransientModel):
return self.env['account.move']
move_id = fields.Many2one('account.move', string='Journal Entry',
default=lambda self: self._get_default_move,
default=lambda self: self._get_default_move(),
domain=[('state', '=', 'posted'), ('type', 'not in', ('out_refund', 'in_refund'))])
date = fields.Date(string='Reversal date', default=fields.Date.context_today, required=True)
reason = fields.Char(string='Reason')