← Back to team overview

openerp-dev-web team mailing list archive

lp:~openerp-dev/openobject-addons/trunk-crm_domain_missing_on_opportunity-bugfix-ind-ach into lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind

 

Anup(OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-crm_domain_missing_on_opportunity-bugfix-ind-ach into lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.

Requested reviews:
  Husen Daudi (husendaudi)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-crm_domain_missing_on_opportunity-bugfix-ind-ach/+merge/58275

Hello,

In th Phone Call view Oppurtunity should have a domain.

When searching for opportunity leads also come there.


Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-crm_domain_missing_on_opportunity-bugfix-ind-ach/+merge/58275
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.
=== modified file 'crm/crm_phonecall_view.xml'
--- crm/crm_phonecall_view.xml	2011-01-17 22:22:19 +0000
+++ crm/crm_phonecall_view.xml	2011-04-19 11:17:25 +0000
@@ -101,7 +101,7 @@
                         domain="[('object_id.model', '=', 'crm.phonecall')]"
                         string="Type" />
                     <field name="priority"/>
-                    <field name="opportunity_id"/>
+                    <field name="opportunity_id" domain="[('type','=','opportunity')]"/>
                 </group>
                 <separator string="Description" colspan="4" />
                 <field name="description" nolabel="1" colspan="4" />
@@ -180,7 +180,7 @@
                         domain="[('object_id.model', '=', 'crm.phonecall')]"
                         string="Type" />
                     <field name="priority"/>
-                    <field name="opportunity_id"/>
+                    <field name="opportunity_id" domain="[('type','=','opportunity')]"/>
                 </group>
                 <separator string="Description" colspan="4" />
                 <field name="description" nolabel="1" colspan="4" />


Follow ups