Amit Dodiya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-572695-ado into
lp:openobject-addons/6.1.
Requested reviews:
Jean-Christophe VASSORT (OpenERP) (jcv-openerp)
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-572695-ado/+merge/98816
Hello,
"[FIX] res_partner_address class deletes default_type from the context and
default_type is used by the opportunity action to force the creation of an
opportunity"
Steps:
Create a new small module that uses base_contact and crm from base. The only
class in the module extends crm.lead.
1. Using web client goto sales/opportunities/create
2. When we create opportunity leads is created.
3. In GTK this works fine. The issue is related to the event sequence when
handled by the web client.
Thanks,
Amit
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-572695-ado/+merge/98816
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-572695-ado.
=== modified file 'base_contact/base_contact.py'
--- base_contact/base_contact.py 2012-02-15 13:22:13 +0000
+++ base_contact/base_contact.py 2012-03-22 11:09:23 +0000
@@ -244,8 +244,6 @@
def default_get(self, cr, uid, fields=[], context=None):
if context is None:
context = {}
- if 'default_type' in context:
- del context['default_type']
return super(res_partner_address, self).default_get(cr, uid, fields, context)
res_partner_address()
_______________________________________________
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