[FIX] crm opportunity bug
authorFabien Pinckaers <fp@tinyerp.com>
Fri, 30 Dec 2011 12:47:58 +0000 (13:47 +0100)
committerFabien Pinckaers <fp@tinyerp.com>
Fri, 30 Dec 2011 12:47:58 +0000 (13:47 +0100)
bzr revid: fp@tinyerp.com-20111230124758-rzm52wg42kor9hwc

addons/crm/crm_lead_view.xml

index fc10c7b..56ee5e3 100644 (file)
                     <group colspan="1" col="4">
                         <field name="stage_id" nolabel="1"
                             on_change="onchange_stage_id(stage_id)"
-                            domain="[section_id and [('section_ids', '=', section_id)] or []"/>
+                            domain="section_id and [('section_ids', '=', section_id)] or []"/>
                         <button name="stage_previous"
                             states="draft,open,pending" type="object"
                             icon="gtk-go-back" string="" context="{'stage_type': 'opportunity'}"/>