[IMP]all: remved default filters and select=1
authorMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Mon, 21 May 2012 12:50:14 +0000 (18:20 +0530)
committerMayur Maheshwari (OpenERP) <mma@tinyerp.com>
Mon, 21 May 2012 12:50:14 +0000 (18:20 +0530)
bzr revid: mma@tinyerp.com-20120521125014-7hf0ir1j11f3pc6b

addons/crm/crm_lead_menu.xml
addons/hr/hr_view.xml
addons/hr_payroll/hr_payroll_view.xml
addons/hr_recruitment/hr_recruitment_menu.xml
addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
addons/project_issue/project_issue_menu.xml
addons/project_issue/report/project_issue_report_view.xml
addons/project_long_term/project_long_term_view.xml
addons/purchase/purchase_view.xml

index 3cd45fd..676e6b1 100644 (file)
@@ -66,7 +66,7 @@
           <field name="res_model">crm.lead</field>
           <field name="view_mode">kanban,tree,form,graph,calendar</field>
           <field name="domain">[('type','=','opportunity')]</field>
-          <field name="context">{'search_default_new':1, 'search_default_open':1, 'search_default_section_id':section_id, 'stage_type': 'opportunity', 'default_type': 'opportunity'}</field>
+          <field name="context">{'search_default_section_id':section_id, 'stage_type': 'opportunity', 'default_type': 'opportunity'}</field>
           <field name="view_id" eval="False"/>
           <field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
           <field name="help">With opportunities you can manage and keep track of your sales pipeline by creating specific customer- or prospect-related sales documents to follow up potential sales. Information such as expected revenue, opportunity stage, expected closing date, communication history and much more can be stored. Opportunities can be connected to the email gateway: new emails may create opportunities, each of them automatically gets the history of the conversation with the customer.
index 4147ebc..59bf944 100644 (file)
                     <filter icon="terp-personal+" domain="[('department_id','=',context.get('department_id',False))]" string="My Departments Employee"/>
                     </field>
                     <field name="job_id" widget="selection"/>
-                    <field name="category_ids" select="1"/>
+                    <field name="category_ids"/>
                     <field name="parent_id"/>
                     <newline />
                     <group expand="0" string="Group By...">
index 3e993ad..3312c8d 100644 (file)
                 <search string="Search Salary Rule">
                     <group col="8" colspan="4">
                         <field name="name"/>
-                        <field name="code" select="1"/>
+                        <field name="code"/>
                         <field name="category_id"/>
                         <field name="condition_range_min"/>
                     </group>
index 04d73dc..6b43c06 100644 (file)
@@ -8,7 +8,7 @@
             <field name="res_model">hr.applicant</field>
             <field name="view_mode">kanban,tree,form,graph,calendar</field>
             <field name="view_id" eval="False"/>
-            <field name="context">{'search_default_filter_inprogress':1,'search_default_filter_new':1,"search_default_department_id": department_id}</field>            
+            <field name="context">{"search_default_department_id": department_id}</field>            
             <field name="search_view_id" ref="view_crm_case_jobs_filter"/>
             <field name="help">From this menu you can track applicants in the recruitment process and manage all operations: meetings, interviews, phone calls, etc. If you setup the email gateway, applicants and their attached CV are created automatically when an email is sent to jobs@yourcompany.com. If you install the document management modules, all documents (CV and motivation letters) are indexed automatically, so that you can easily search through their content.</field>
         </record>
index d822f10..284208a 100644 (file)
             <field name="inherit_id" ref="hr_attendance.view_hr_attendance_filter" />
             <field name="arch" type="xml">
                 <field name="action" position="after">
-                    <field name="sheet_id" select="1" />
+                    <field name="sheet_id"/>
                 </field>
             </field>
         </record>
index 1c4cecf..8044d14 100644 (file)
@@ -12,7 +12,6 @@
         <field name="view_mode">kanban,tree,calendar</field>
         <field name="view_id" eval="False"/>
         <field name="domain" eval=""/>
-        <field name="context">{"search_default_user_id": uid, "search_default_draft": 1,"search_default_todo": 1,"search_default_project_id":project_id}</field>
         <field name="search_view_id" ref="view_project_issue_filter"/>
         <field name="help">Issues such as system bugs, customer complaints, and material breakdowns are collected here. You can define the stages assigned when solving the project issue (analysis, development, done). With the mailgateway module, issues can be integrated through an email address (example: support@mycompany.com)</field>
     </record>
index 1695fa3..3e42bde 100644 (file)
@@ -81,7 +81,7 @@
                            <separator orientation="vertical" />
 
                           <field name="project_id"/>
-                          <field name="user_id"  select="1" widget="selection" filter_domain="[('user_id','ilike',self)]"/>
+                          <field name="user_id" widget="selection" filter_domain="[('user_id','ilike',self)]"/>
                           <field name="partner_id"/>
                           <field name="version_id" widget="selection" />
                    </group>
index 7e1b587..945ffa7 100644 (file)
             <field name="inherit_id" ref="project.view_task_search_form"/>
             <field name="arch" type="xml">
                 <field name="project_id" position="after">
-                    <field name="phase_id" select="1"/>
+                    <field name="phase_id"/>
                 </field>
             </field>
         </record>
index 9743fb5..8f2ce36 100644 (file)
             <field name="type">ir.actions.act_window</field>
             <field name="res_model">purchase.order</field>
             <field name="view_mode">tree,form,graph,calendar</field>
-            <field name="context">{'search_default_approved': 1,'search_default_create_uid':uid}</field>
+            <field name="context">{'search_default_approved': 1}</field>
             <field name="search_view_id" ref="view_purchase_order_filter"/>
             <field name="help">Use this menu to search within your purchase orders by references, supplier, products, etc. For each purchase order, you can track the products received, and control the supplier invoices.</field>
         </record>