Nimesh Contractor(Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1019173-nco into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1019173-nco/+merge/112972
Hello,
I have fix the problem of saving contact us form.
Thanks,
NCO.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1019173-nco/+merge/112972
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1019173-nco.
=== modified file 'portal_crm/wizard/contact.py'
--- portal_crm/wizard/contact.py 2012-05-31 15:15:31 +0000
+++ portal_crm/wizard/contact.py 2012-07-02 06:10:30 +0000
@@ -27,7 +27,7 @@
crm_lead.create(cr, 1, dict(values,user_id=False), context)
""" Create an empty record in the portal_crm.crm_contact_us table """
- return super(crm_contact_us, self).create(cr, uid, {})
+ return super(crm_contact_us, self).create(cr, uid, dict(values,user_id=False))
def submit(self, cr, uid, ids, context=None):
""" When the form is submitted, redirect the user to a "Thanks" message """
_______________________________________________
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