Merge lp:~openerp-dev/openobject-addons/6.0-opw-381849-ado into lp:openobject-addons/6.0
Proposed by
Amit Dodiya (OpenERP)
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.0-opw-381849-ado | ||||
Merge into: | lp:openobject-addons/6.0 | ||||
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.0-opw-381849-ado | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Amit Dodiya (OpenERP) (community) | Needs Resubmitting | ||
Jean-Christophe VASSORT (community) | Needs Fixing | ||
Naresh(OpenERP) (community) | Approve | ||
nel | Pending | ||
Review via email:
|
Description of the change
Hello,
[FIX] In warning module onchange_partner_id has some re assignation of values"
Thanks,
Amit Dodiya
To post a comment you must log in.
Unmerged revisions
- 5124. By Amit Dodiya (OpenERP)
-
[FIX] In warning module onchange_partner_id has some re assignation of values
In parent class, on account/invoice.py file, onchange_partner_id method signature is like this:
def onchange_ partner_ id(self, cr, uid, ids, type, partner_id,\
date_ invoice= False, payment_term=False, partner_ bank_id= False, company_id=False):
I think it is better to not forget the company_id parameter in the super() function, and wrote:
result = super(account_ invoice, self).onchange_ partner_ id(cr, uid, ids, type, partner_id,
date_ invoice= date_invoice, payment_ term=payment_ term, partner_ bank_id= partner_ bank_id, company_ id=company_ id)
What do you think about this ?