Mayur Maheshwari(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-opw-381849-port-mma into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #920530 in OpenERP Addons: "warning module on_change_partner_id"
https://bugs.launchpad.net/openobject-addons/+bug/920530
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-381849-port-mma/+merge/136574
Hello,
[FIX] In warning module onchange_partner_id has some re assignation of
values"
code is forward port from 6.1
Thanks,
Mayur
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-381849-port-mma/+merge/136574
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-opw-381849-port-mma.
=== modified file 'warning/warning.py'
--- warning/warning.py 2012-11-26 18:28:11 +0000
+++ warning/warning.py 2012-11-28 06:24:21 +0000
@@ -136,7 +136,7 @@
'message': message
}
result = super(account_invoice, self).onchange_partner_id(cr, uid, ids, type, partner_id,
- date_invoice=False, payment_term=False, partner_bank_id=False)
+ date_invoice, payment_term, partner_bank_id, company_id)
if result.get('warning',False):
warning['title'] = title and title +' & '+ result['warning']['title'] or result['warning']['title']
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp