[FIX] payment order: add missing onchange dependencies in move selection wizard

This commit is contained in:
Stéphane Bidoul
2016-07-20 10:52:52 +02:00
committed by Enric Tobella
parent 3dca43bcc1
commit 3b0a4a95bf

View File

@@ -140,7 +140,8 @@ class AccountPaymentLineCreate(models.TransientModel):
return action
@api.onchange(
'date_type', 'move_date', 'due_date', 'journal_ids', 'invoice')
'date_type', 'move_date', 'due_date', 'journal_ids', 'invoice',
'target_move', 'allow_blocked', 'invoice', 'payment_mode')
def move_line_filters_change(self):
domain = self._prepare_move_line_domain()
res = {'domain': {'move_line_ids': domain}}