Merge lp:~openerp-dev/openobject-addons/trunk-opw-381849-port-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Merged
Merged at revision: 8328
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-opw-381849-port-mma
Merge into: lp:openobject-addons
Diff against target: 13 lines (+2/-1)
1 file modified
warning/warning.py (+2/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-381849-port-mma
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+136574@code.launchpad.net

Description of the change

Hello,

   [FIX] In warning module onchange_partner_id has some re assignation of values"
   code is forward port from 6.1

Thanks,
Mayur

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'warning/warning.py'
2--- warning/warning.py 2012-11-26 18:28:11 +0000
3+++ warning/warning.py 2012-11-28 06:55:22 +0000
4@@ -136,7 +136,8 @@
5 'message': message
6 }
7 result = super(account_invoice, self).onchange_partner_id(cr, uid, ids, type, partner_id,
8- date_invoice=False, payment_term=False, partner_bank_id=False)
9+ date_invoice=date_invoice, payment_term=payment_term,
10+ partner_bank_id=partner_bank_id, company_id=company_id)
11
12 if result.get('warning',False):
13 warning['title'] = title and title +' & '+ result['warning']['title'] or result['warning']['title']

Subscribers

People subscribed via source and target branches

to all changes: