diff --git a/addons/portal_crm/wizard/contact.py b/addons/portal_crm/wizard/contact.py index 74ebe11cd7f..ffac2b7358d 100644 --- a/addons/portal_crm/wizard/contact.py +++ b/addons/portal_crm/wizard/contact.py @@ -24,7 +24,8 @@ class crm_contact_us(osv.TransientModel): Therefore, user #1 will perform the creation until a better workaround is figured out. """ - crm_lead.create(cr, 1, dict(values,create_uid=uid), context) + #todo: add all the extra values in the 'description' field + crm_lead.create(cr, 1, dict(values,user_id=uid), context) """ Create an empty record in the portal_crm.crm_contact_us table """ return super(crm_contact_us, self).create(cr, uid, {}) diff --git a/addons/portal_crm/wizard/contact_view.xml b/addons/portal_crm/wizard/contact_view.xml index c86efe81ca4..b754383ca7f 100644 --- a/addons/portal_crm/wizard/contact_view.xml +++ b/addons/portal_crm/wizard/contact_view.xml @@ -7,9 +7,8 @@ Contact Us portal_crm.crm_contact_us form - inline - + @@ -22,8 +21,21 @@
- + + + + + + + + + + +