From 9a7b3658077c3298856ad5771ae2424f35497736 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 f4af6230..f7af71c1 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": "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)", 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