← Back to team overview

banking-addons-team team mailing list archive

lp:~camptocamp/banking-addons/bank-statement-reconcile-7.0-fix-onchange-lep into lp:banking-addons/bank-statement-reconcile-7.0

 

Leonardo Pistone @ camptocamp has proposed merging lp:~camptocamp/banking-addons/bank-statement-reconcile-7.0-fix-onchange-lep into lp:banking-addons/bank-statement-reconcile-7.0.

Requested reviews:
  Banking Addons Core Editors (banking-addons-team)
Related bugs:
  Bug #1262304 in Banking Addons: "account_statement_ext: onchange_imp_config_id returns fields not in the view"
  https://bugs.launchpad.net/banking-addons/+bug/1262304

For more details, see:
https://code.launchpad.net/~camptocamp/banking-addons/bank-statement-reconcile-7.0-fix-onchange-lep/+merge/199518
-- 
https://code.launchpad.net/~camptocamp/banking-addons/bank-statement-reconcile-7.0-fix-onchange-lep/+merge/199518
Your team Banking Addons Core Editors is requested to review the proposed merge of lp:~camptocamp/banking-addons/bank-statement-reconcile-7.0-fix-onchange-lep into lp:banking-addons/bank-statement-reconcile-7.0.
=== modified file 'account_statement_ext/statement.py'
--- account_statement_ext/statement.py	2013-12-11 16:01:01 +0000
+++ account_statement_ext/statement.py	2013-12-18 18:09:50 +0000
@@ -552,12 +552,8 @@
         import_config = self.pool.get("account.statement.profile").browse(
                 cr, uid, profile_id, context=context)
         journal_id = import_config.journal_id.id
-        account_id = import_config.journal_id.default_debit_account_id.id
-        credit_partner_id = import_config.partner_id and import_config.partner_id.id or False
         return {'value': {'journal_id': journal_id,
-                          'account_id': account_id,
-                          'balance_check': import_config.balance_check,
-                          'credit_partner_id': credit_partner_id}}
+                          'balance_check': import_config.balance_check}}
 
 
 class AccountBankSatementLine(Model):


Follow ups