[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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user