Bharat Devnani (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-870242-bde into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #870242 in OpenERP Addons: "Bank Statement - Reference does not appear in
journal entry"
https://bugs.launchpad.net/openobject-addons/+bug/870242
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-870242-bde/+merge/79107
Hello Sir,
Thanks for your patch, i have applied and tested the given patch and it works
well with the Bank and Cash Payments.
Thanks & Regards,
Devnani Bharat R.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-870242-bde/+merge/79107
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-870242-bde.
=== modified file 'account/account_bank_statement.py'
--- account/account_bank_statement.py 2011-10-02 17:31:16 +0000
+++ account/account_bank_statement.py 2011-10-12 11:44:27 +0000
@@ -137,7 +137,7 @@
states={'confirm':[('readonly',True)]}),
'balance_end_real': fields.float('Ending Balance', digits_compute=dp.get_precision('Account'),
states={'confirm': [('readonly', True)]}),
- 'balance_end': fields.function(_end_balance,
+ 'balance_end': fields.function(_end_balance,
store = {
'account.bank.statement': (lambda self, cr, uid, ids, c={}: ids, ['line_ids','move_line_ids'], 10),
'account.bank.statement.line': (_get_statement, ['amount'], 10),
@@ -219,6 +219,7 @@
'period_id': st.period_id.id,
'date': st_line.date,
'name': st_line_number,
+ 'ref': st_line.ref,
}, context=context)
account_bank_statement_line_obj.write(cr, uid, [st_line.id], {
'move_ids': [(4, move_id, False)]
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp