[FIX]: review sale_team to add groups on section_id field
authorMantavya Gajjar <mga@tinyerp.com>
Fri, 9 May 2014 07:38:26 +0000 (13:08 +0530)
committerMantavya Gajjar <mga@tinyerp.com>
Fri, 9 May 2014 07:38:26 +0000 (13:08 +0530)
addons/crm/crm_lead_view.xml
addons/sale_team/sale_team.xml

index dc29749..88d0349 100644 (file)
@@ -2,6 +2,7 @@
 <openerp>
     <data>
 
+      <!-- TODO: Apply group for the sales team where you find section_id fields in any view
         <!--
             CRM CASE STAGE
         -->
index 2512c20..8155fdd 100644 (file)
             <field name="model">crm.case.section</field>
             <field name="arch" type="xml">
                 <search string="Salesteams Search">
+                    <filter name="personal" string="My Salesteams" domain="['|', ('member_ids', '=', uid), ('user_id', '=', uid)]"/>
                     <field name="name"/>
                     <field name="parent_id"/>
                     <field name="user_id"/>
                     <field name="note"/>
                     <field name="code"/>
-                    <filter name="personal" string="My Salesteams" domain="['|', ('member_ids', '=', uid), ('user_id', '=', uid)]"/>
                     <group expand="0" string="Group By...">
                         <filter string="Team Leader" domain="[]" context="{'group_by':'user_id'}"/>
                         <filter string="Parent Sales Teams" domain="[]" context="{'group_by':'parent_id'}"/>