From e6a22e6da2cfeca29353431959c462d46b813f05 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Fri, 19 Jul 2019 17:11:12 +0200 Subject: [PATCH] [FIX] account_bank_statement_import_paypal: Don't populate partner account This makes the statement lines to not appear on reconciliation widget. --- account_bank_statement_import_paypal/__manifest__.py | 2 +- .../wizards/account_bank_statement_import_paypal.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/account_bank_statement_import_paypal/__manifest__.py b/account_bank_statement_import_paypal/__manifest__.py index 701d6bf8..fcb02832 100644 --- a/account_bank_statement_import_paypal/__manifest__.py +++ b/account_bank_statement_import_paypal/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Import Paypal Bank Statements", 'summary': 'Import Paypal CSV files as Bank Statements in Odoo', - "version": "12.0.1.0.0", + "version": "12.0.1.0.1", "category": "Accounting", "website": "https://github.com/OCA/bank-statement-import", "author": " Akretion, Odoo Community Association (OCA)", diff --git a/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py b/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py index ba79b534..44feb5b7 100644 --- a/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py +++ b/account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal.py @@ -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