From b22d6086ec7181d91273833f877720ca659fd9fa Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Mon, 14 Feb 2011 17:04:13 +0530 Subject: [PATCH 1/3] [FIX]account id - domain must check for <> view and consolidation and matching company_id lp bug: https://launchpad.net/bugs/717874 fixed bzr revid: ara@tinyerp.com-20110214113413-96kztac5t4aetdnt --- addons/account/account_view.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index e4e12f63490..38af4a3a7ad 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -582,7 +582,7 @@ - + @@ -1048,7 +1048,7 @@ - + @@ -1343,7 +1343,7 @@ - + From 9488656005ce1007e727f9f2332acadc2272fa53 Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Tue, 15 Feb 2011 12:40:01 +0530 Subject: [PATCH 2/3] [FIX] account_voucher bzr revid: mra@mra-laptop-20110215071001-ussdmt3p6cq5yz0v --- addons/account_voucher/account_voucher.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index f4fde5f24ae..63c4e13e7c7 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -752,15 +752,16 @@ class account_voucher(osv.osv): if not currency_pool.is_zero(cr, uid, inv.currency_id, line_total): diff = line_total account_id = False + write_off_name = '' if inv.payment_option == 'with_writeoff': account_id = inv.writeoff_acc_id.id - name = inv.comment + write_off_name = inv.comment elif inv.type in ('sale', 'receipt'): account_id = inv.partner_id.property_account_receivable.id else: account_id = inv.partner_id.property_account_payable.id move_line = { - 'name': name, + 'name': write_off_name or name, 'account_id': account_id, 'move_id': move_id, 'partner_id': inv.partner_id.id, From c23e5e413514fd1b3a741b55365de8a1ccaad5aa Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Tue, 15 Feb 2011 15:14:10 +0530 Subject: [PATCH 3/3] [FIX]account id - domain must check for <> view and consolidation and matching company_id bzr revid: ara@tinyerp.com-20110215094410-i9g2eowwutv1cr9v --- addons/account/account_view.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 38af4a3a7ad..43a7803fb5c 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -572,7 +572,7 @@ - + @@ -582,7 +582,7 @@ - + @@ -1013,7 +1013,7 @@ - + @@ -1048,7 +1048,7 @@ - + @@ -1122,7 +1122,7 @@ - + @@ -1405,7 +1405,7 @@ - + @@ -2576,7 +2576,7 @@ action = self.pool.get('res.config').next(cr, uid, [], context) - + @@ -2586,7 +2586,7 @@ action = self.pool.get('res.config').next(cr, uid, [], context) - +