From 2b282ad6c99a9ada325df3d506adb55e208f85ef Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Fri, 21 Jan 2011 11:28:21 +0100 Subject: [PATCH 1/2] [FIX] fixed inversion of columns in the move_ids many2many fields in an account_move_line lp bug: https://launchpad.net/bugs/705797 fixed bzr revid: olivier@tempo-laptop-20110121102821-lbptsdh26wwqlfaf --- addons/account/account_bank_statement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py index a2e641dc39c..6d7e56d8360 100644 --- a/addons/account/account_bank_statement.py +++ b/addons/account/account_bank_statement.py @@ -463,7 +463,7 @@ class account_bank_statement_line(osv.osv): select=True, required=True, ondelete='cascade'), 'analytic_account_id': fields.many2one('account.analytic.account', 'Analytic Account'), 'move_ids': fields.many2many('account.move', - 'account_bank_statement_line_move_rel', 'move_id','statement_id', + 'account_bank_statement_line_move_rel', 'statement_id','move_id', 'Moves'), 'ref': fields.char('Reference', size=32), 'note': fields.text('Notes'), From 3e15579e3f0bf792d413fe60d2816aeb0a1a2893 Mon Sep 17 00:00:00 2001 From: mtr Date: Thu, 27 Jan 2011 12:56:35 +0530 Subject: [PATCH 2/2] [IMP] account:remove the print statement bzr revid: mtr@mtr-20110127072635-c3r0f3qndwk69pcc --- addons/account/report/account_report.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/account/report/account_report.py b/addons/account/report/account_report.py index 39edecbbbfc..8a77ce47280 100644 --- a/addons/account/report/account_report.py +++ b/addons/account/report/account_report.py @@ -99,7 +99,6 @@ class report_aged_receivable(osv.osv): return res def _calc_bal(self, cr, uid, ids, name, args, context=None): - print"-dfdfd-----" res = {} for period in self.read(cr, uid, ids, ['name'], context=context): date1,date2 = period['name'].split(' to ')