mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] account_bank_statement_import_paypal: Don't populate partner account
This makes the statement lines to not appear on reconciliation widget.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{
|
||||
"name": "Import Paypal Bank Statements",
|
||||
'summary': 'Import Paypal CSV files as Bank Statements in Odoo',
|
||||
"version": "11.0.2.0.0",
|
||||
"version": "11.0.2.0.1",
|
||||
"category": "Accounting",
|
||||
"website": "https://github.com/OCA/bank-statement-import",
|
||||
"author": " Akretion, Odoo Community Association (OCA)",
|
||||
|
||||
@@ -274,8 +274,7 @@ class AccountBankStatementImport(models.TransientModel):
|
||||
if partner:
|
||||
return {
|
||||
'partner_id': partner.id,
|
||||
'account_id': partner.property_account_receivable_id.id,
|
||||
}
|
||||
}
|
||||
return None
|
||||
|
||||
@api.model
|
||||
|
||||
Reference in New Issue
Block a user