Fix missing target field in operand of domain

This commit is contained in:
Cédric Krier
2024-11-01 09:00:07 +01:00
parent e61143c7ec
commit 2612aced12
6 changed files with 9 additions and 9 deletions
@@ -36,7 +36,7 @@ class InvoiceCorrectStart(ModelView):
lines = fields.Many2Many('account.invoice.line', None, None,
'Invoice Lines',
domain=[
('invoice', '=', Eval('invoice')),
('invoice', '=', Eval('invoice', -1)),
('type', '=', 'line'),
])