← Back to team overview

banking-addons-team team mailing list archive

lp:~akretion-team/banking-addons/bank-statement-reconcile-70-internal-transfers into lp:banking-addons/bank-statement-reconcile-7.0

 

Sébastien BEAU - http://www.akretion.com has proposed merging lp:~akretion-team/banking-addons/bank-statement-reconcile-70-internal-transfers into lp:banking-addons/bank-statement-reconcile-7.0.

Requested reviews:
  Frederic Clementi - Camptocamp (frederic-clementi)

For more details, see:
https://code.launchpad.net/~akretion-team/banking-addons/bank-statement-reconcile-70-internal-transfers/+merge/197773

Hi
In some case like CB import you need to store on the profile the internal transfers account.
Maybe adding this field directly in the base module is not a good idea, I let's you decide.
If not I will create a small module that add this field.

Thanks
-- 
https://code.launchpad.net/~akretion-team/banking-addons/bank-statement-reconcile-70-internal-transfers/+merge/197773
Your team Banking Addons Core Editors is subscribed to branch lp:banking-addons/bank-statement-reconcile-7.0.
=== modified file 'account_statement_ext/statement.py'
--- account_statement_ext/statement.py	2013-10-16 08:58:12 +0000
+++ account_statement_ext/statement.py	2013-12-04 18:02:13 +0000
@@ -100,6 +100,10 @@
                                               'profile_id',
                                               'Bank Statement Imported'),
         'company_id': fields.many2one('res.company', 'Company'),
+        'internal_account_transfer_id': fields.many2one('account.account',
+                                'Internal Account Transfer',
+                                help="Choose the default account for internal\
+                                bank transfer"),
     }
 
     def _check_partner(self, cr, uid, ids, context=None):

=== modified file 'account_statement_ext/statement_view.xml'
--- account_statement_ext/statement_view.xml	2013-06-28 15:00:20 +0000
+++ account_statement_ext/statement_view.xml	2013-12-04 18:02:13 +0000
@@ -16,6 +16,7 @@
                 <field name="commission_account_id" />
                 <field name="commission_analytic_id" />
                 <field name="receivable_account_id" />
+                <field name="internal_account_transfer_id"/>
                 <field name="force_partner_on_bank"/>
                 <field name="balance_check"/>
                 <field name="bank_statement_prefix"/>


Follow ups