Merge lp:~openerp-dev/openobject-addons/trunk-bug-901559-bde into lp:openobject-addons

Proposed by Bharat Devnani (Open ERP)
Status: Merged
Merged at revision: 6004
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-901559-bde
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
account_voucher/wizard/account_statement_from_invoice.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-901559-bde
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
qdp (OpenERP) Pending
Review via email: mp+85071@code.launchpad.net

Description of the change

Hello Sir,

I have done some modification in arguments of onchange_partner_id
of account_voucher/wizard/account_statement_from_invoice.py.

Thanks & Regards,
Devnani Bharat R.

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_voucher/wizard/account_statement_from_invoice.py'
2--- account_voucher/wizard/account_statement_from_invoice.py 2011-10-16 01:28:00 +0000
3+++ account_voucher/wizard/account_statement_from_invoice.py 2011-12-09 07:24:27 +0000
4@@ -75,7 +75,7 @@
5 statement.currency.id, amount, context=ctx)
6
7 context.update({'move_line_ids': [line.id]})
8- result = voucher_obj.onchange_partner_id(cr, uid, [], partner_id=line.partner_id.id, journal_id=statement.journal_id.id, price=abs(amount), currency_id= statement.currency.id, ttype=(amount < 0 and 'payment' or 'receipt'), date=line_date, context=context)
9+ result = voucher_obj.onchange_partner_id(cr, uid, [], partner_id=line.partner_id.id, journal_id=statement.journal_id.id, amount=abs(amount), currency_id= statement.currency.id, ttype=(amount < 0 and 'payment' or 'receipt'), date=line_date, context=context)
10 voucher_res = { 'type':(amount < 0 and 'payment' or 'receipt'),
11 'name': line.name,
12 'partner_id': line.partner_id.id,

Subscribers

People subscribed via source and target branches

to all changes: