summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurnendu Singh (OpenERP) <psi@tinyerp.com>2012-06-04 18:21:17 +0530
committerPurnendu Singh (OpenERP) <psi@tinyerp.com>2012-06-04 18:21:17 +0530
commit6c1c93e6d87440aabafcf2cdce4db7a8d99b1d52 (patch)
treea5a5875a18aa4a9c80e583dd78886fe9a6711f13
parent48311327f0819371baab352dcce18d43e6b38509 (diff)
parent03dc0d1eeeddf72bd28e7449318dc4ba966acfa2 (diff)
[MERGE] merge wiht MMA branch to get all his changes in project branch
bzr revid: psi@tinyerp.com-20120604125117-q6xge3w03gzyh99l
-rw-r--r--addons/crm/crm_lead_menu.xml2
-rw-r--r--addons/crm/crm_lead_view.xml5
-rw-r--r--addons/crm/res_partner_view.xml3
-rw-r--r--addons/hr/hr_view.xml2
-rw-r--r--addons/hr_payroll/hr_payroll_view.xml2
-rw-r--r--addons/hr_recruitment/hr_recruitment_menu.xml1
-rw-r--r--addons/hr_recruitment/hr_recruitment_view.xml4
-rw-r--r--addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml2
-rw-r--r--addons/project_issue/project_issue_menu.xml1
-rw-r--r--addons/project_issue/project_issue_view.xml4
-rw-r--r--addons/project_issue/report/project_issue_report_view.xml2
-rw-r--r--addons/purchase/purchase_view.xml2
12 files changed, 15 insertions, 15 deletions
diff --git a/addons/crm/crm_lead_menu.xml b/addons/crm/crm_lead_menu.xml
index 02fc3369041..bd0933a81fd 100644
--- a/addons/crm/crm_lead_menu.xml
+++ b/addons/crm/crm_lead_menu.xml
@@ -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, 'stage_type': 'opportunity', 'default_type': 'opportunity'}</field>
+ <field name="context">{'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.
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml
index 9ab2c90c853..4298e3bd8ec 100644
--- a/addons/crm/crm_lead_view.xml
+++ b/addons/crm/crm_lead_view.xml
@@ -544,15 +544,12 @@
<search string="Search Opportunities">
<filter icon="terp-check"
string="New" help="New Opportunities"
- name="new"
domain="[('state','=','draft')]"/>
<filter icon="terp-camera_test"
string="Open" help="Open Opportunities"
- name="open"
domain="[('state','=','open')]"/>
<filter icon="terp-gtk-media-pause"
string="Pending" help="Pending Opportunities"
- name="pending"
domain="[('state','=','pending')]"/>
<separator orientation="vertical"/>
<field name="name" string="Opportunity / Customer"
@@ -563,6 +560,8 @@
domain="[('user_id','=', False)]"
help="Unassigned Opportunities" />
</field>
+ <field name="country"/>
+ <field name="partner_id"/>
<field name="section_id"
context="{'invisible_section': False, 'default_section_id': self}">
<filter string="My Sales Team(s)" icon="terp-personal+"
diff --git a/addons/crm/res_partner_view.xml b/addons/crm/res_partner_view.xml
index fe880d29bd3..cac0998f879 100644
--- a/addons/crm/res_partner_view.xml
+++ b/addons/crm/res_partner_view.xml
@@ -39,6 +39,9 @@
<field name="category_id" position="after">
<field name="section_id" completion="1" widget="selection"/>
</field>
+ <xpath expr="//filter[@string='Company']" position="after">
+ <field name="country_id"/>
+ </xpath>
</field>
</record>
diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml
index 32eb3a84c83..6c649bae3b8 100644
--- a/addons/hr/hr_view.xml
+++ b/addons/hr/hr_view.xml
@@ -108,7 +108,7 @@
<field name="department_id" widget="selection">
</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...">
diff --git a/addons/hr_payroll/hr_payroll_view.xml b/addons/hr_payroll/hr_payroll_view.xml
index 93e875b61be..e6b54b802c8 100644
--- a/addons/hr_payroll/hr_payroll_view.xml
+++ b/addons/hr_payroll/hr_payroll_view.xml
@@ -654,7 +654,7 @@
<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>
diff --git a/addons/hr_recruitment/hr_recruitment_menu.xml b/addons/hr_recruitment/hr_recruitment_menu.xml
index 058eb3e2e6c..512e49b871f 100644
--- a/addons/hr_recruitment/hr_recruitment_menu.xml
+++ b/addons/hr_recruitment/hr_recruitment_menu.xml
@@ -8,7 +8,6 @@
<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}</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>
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index 7683bf90c95..95b781c9233 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -181,11 +181,11 @@
<field name="type">search</field>
<field name="arch" type="xml">
<search string="Search Jobs">
- <filter icon="terp-document-new" string="New" name="filter_new"
+ <filter icon="terp-document-new" string="New"
domain="[('state','=','draft')]"
help="All Initial Jobs"
/>
- <filter icon="terp-camera_test" string="In Progress" name="filter_inprogress"
+ <filter icon="terp-camera_test" string="In Progress"
domain="[('state','=','open')]"
help="Open Jobs"
/>
diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
index aa815df5337..70cd19f4046 100644
--- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
+++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml
@@ -253,7 +253,7 @@
<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>
diff --git a/addons/project_issue/project_issue_menu.xml b/addons/project_issue/project_issue_menu.xml
index 4c3be9e1327..8044d149901 100644
--- a/addons/project_issue/project_issue_menu.xml
+++ b/addons/project_issue/project_issue_menu.xml
@@ -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}</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>
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index 23b90fe8995..f256fdd6bb2 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -164,8 +164,8 @@
<field name="arch" type="xml">
<search string="Issue Tracker Search">
<group>
- <filter string="New" icon="terp-document-new" name="draft" domain="[('state','=','draft')]" help="New Issues"/>
- <filter string="To Do" name="todo" domain="[('state','=','open')]" help="To Do Issues" icon="terp-check"/>
+ <filter string="New" icon="terp-document-new" domain="[('state','=','draft')]" help="New Issues"/>
+ <filter string="To Do" domain="[('state','=','open')]" help="To Do Issues" icon="terp-check"/>
<filter string="Pending" domain="[('state','=','pending')]" help="Pending Issues" icon="terp-gtk-media-pause"/>
<separator orientation="vertical"/>
<field name="name" string="Issue / Partner" filter_domain="['|', '|', ('partner_id','ilike',self), ('email_from','ilike',self), ('name','ilike',self)]"/>
diff --git a/addons/project_issue/report/project_issue_report_view.xml b/addons/project_issue/report/project_issue_report_view.xml
index 5d7f9c7c671..bc6a020512d 100644
--- a/addons/project_issue/report/project_issue_report_view.xml
+++ b/addons/project_issue/report/project_issue_report_view.xml
@@ -69,7 +69,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" />
<field name="creation_date"/>
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index ce2a9d85b5e..c6a85aaf44d 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -324,7 +324,7 @@
<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>