Merge lp:~openerp-dev/openobject-addons/6.1-opw-381849-jcv into lp:openobject-addons/6.1

Proposed by Jean-Christophe VASSORT
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6646
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-381849-jcv
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
warning/warning.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-381849-jcv
Reviewer Review Type Date Requested Status
OpenERP R&D Team Pending
Review via email: mp+95919@code.launchpad.net

Description of the change

[FIX] In warning module onchange_partner_id has some re assignation of values

linked to bug https://bugs.launchpad.net/openobject-addons/+bug/920530

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-381849-port-mma/+merge/136574 and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6646. By Jean-Christophe VASSORT

[FIX] In warning module onchange_partner_id has some re assignation of values

linked to bug https://bugs.launchpad.net/openobject-addons/+bug/920530

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'warning/warning.py'
--- warning/warning.py 2011-10-27 21:11:24 +0000
+++ warning/warning.py 2012-03-05 15:23:28 +0000
@@ -138,7 +138,7 @@
138 'message': message138 'message': message
139 }139 }
140 result = super(account_invoice, self).onchange_partner_id(cr, uid, ids, type, partner_id,140 result = super(account_invoice, self).onchange_partner_id(cr, uid, ids, type, partner_id,
141 date_invoice=False, payment_term=False, partner_bank_id=False)141 date_invoice=date_invoice, payment_term=payment_term, partner_bank_id=partner_bank_id, company_id=company_id)
142142
143 if result.get('warning',False):143 if result.get('warning',False):
144 warning['title'] = title and title +' & '+ result['warning']['title'] or result['warning']['title']144 warning['title'] = title and title +' & '+ result['warning']['title'] or result['warning']['title']