Merge lp:~openerp-dev/openobject-addons/6.1-opw-586447-mma into lp:openobject-addons/6.1

Proposed by Mayur Maheshwari(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-586447-mma
Merge into: lp:openobject-addons/6.1
Diff against target: 11 lines (+0/-1)
1 file modified
account/account_move_line.py (+0/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-586447-mma
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+149202@code.launchpad.net

Description of the change

Hello

Steps:-
1] open accounting -> journal entries -> journal items
2] create journal items via tree view , select tax
when clikc on dropdown arrow it gives traceback

This Branch fix this issue.

Thanks,
Mayur

To post a comment you must log in.

Unmerged revisions

7156. By Mayur Maheshwari(OpenERP)

[FIX]account: Fix issue when selcet tex in journal iteams

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/account_move_line.py'
--- account/account_move_line.py 2012-09-06 14:35:17 +0000
+++ account/account_move_line.py 2013-02-19 07:06:34 +0000
@@ -1065,7 +1065,6 @@
10651065
1066 elif field == 'account_tax_id':1066 elif field == 'account_tax_id':
1067 f.set('domain', "[('parent_id', '=' ,False)]")1067 f.set('domain', "[('parent_id', '=' ,False)]")
1068 f.set('context', "{'journal_id': journal_id}")
10691068
1070 elif field == 'account_id' and journal.id:1069 elif field == 'account_id' and journal.id:
1071 f.set('domain', "[('journal_id', '=', journal_id),('type','!=','view'), ('type','!=','closed')]")1070 f.set('domain', "[('journal_id', '=', journal_id),('type','!=','view'), ('type','!=','closed')]")