Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account_payment_pro/models/account_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ def _compute_to_pay_move_lines(self):
records = self.filtered(lambda x: x.state == "draft")
internal_transfers = records.filtered(lambda x: x.is_internal_transfer)

with_payment_pro = self._get_filter_payments(records, ["direct_debit_mandate_id"])
with_payment_pro = self._get_filter_payments(records, ["direct_debit_mandate_id", "pos_session_id"])

if internal_transfers or not self.env.context.get("pay_now"):
((internal_transfers or self) - with_payment_pro).to_pay_move_line_ids = [Command.clear()]
Expand Down
Loading