Somesh Khare(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-575213-skh into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575213-skh/+merge/107614

Hello Sir,

[FIX] Crm Claim:Inconsistency in process of setting Stage in a claim.

Steps to reproduce:
1. Install crm_claim module.
2. Create new record "Sales/After-Sale Services/Claims" and do not select 
"Sales Team". Try to select the stage from many2one field (No stages found), 
now try with the "Next/Previous" Button (stages changed).

Current Bevaiour:
No stages when using the many2one (search on the stages)

Expected bevaiour:
All stages should be shown here if No Sales Team defined (As in Crm Lead) or 
according to stages defined on the Sales team.

This branch fixes the issue.

Thanks,
Somesh Khare
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575213-skh/+merge/107614
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-575213-skh.
=== modified file 'crm_claim/crm_claim_view.xml'
--- crm_claim/crm_claim_view.xml	2012-01-31 13:36:57 +0000
+++ crm_claim/crm_claim_view.xml	2012-05-28 12:34:24 +0000
@@ -75,7 +75,7 @@
                         <field name="user_id"/>
                         <field name="section_id" widget="selection" />
                         <group colspan="2" col="4">
-                            <field name="stage_id" domain="[('section_ids','=',section_id)]"/>
+                            <field name="stage_id" domain="section_id and [('section_ids', '=', section_id)] or []"/>
                             <button name="stage_previous" string="" type="object" icon="gtk-go-back" />
                             <button name="stage_next" string="" type="object" icon="gtk-go-forward" />
                         </group>

_______________________________________________
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

Reply via email to