mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] account_reconcile_oca : keep partner line case of manual button reconcile
This commit is contained in:
@@ -516,6 +516,8 @@ class AccountBankStatementLine(models.Model):
|
||||
line["partner_id"],
|
||||
self.env["res.partner"].browse(line["partner_id"]).display_name,
|
||||
)
|
||||
elif self.partner_id:
|
||||
new_line["partner_id"] = self.partner_id.name_get()[0]
|
||||
new_data.append(new_line)
|
||||
return new_data, reconcile_auxiliary_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user