Skip to content

Commit

Permalink
[UPD] ssi_voucher_mixin
Browse files Browse the repository at this point in the history
* Only posted journal entry can be imported
  • Loading branch information
andhit-r committed Feb 10, 2024
1 parent 1c928c9 commit b4de4a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ssi_voucher_mixin/wizards/wizard_import_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def onchange_move_line_ids(self):
("account_id.reconcile", "=", True),
("reconciled", "=", False),
("partner_id", "=", commercial_partner_id),
("state", "=", "posted"),
]
if self.import_type == "dr":
criteria.append(("debit", ">", 0))
Expand Down

0 comments on commit b4de4a2

Please sign in to comment.