summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2010-12-08 11:23:05 +0100
committerXavier Morel <xmo@openerp.com>2010-12-08 11:23:05 +0100
commitf21577dde96ff3374d394699b60640fb243bfbbc (patch)
tree1ff4df51ed9697bec2595430707ba3947a522ded /addons
parent00f2f6b97d71f43fe38c0ade7875864dd7ef564b (diff)
[REM] all @default attributes: they should not be there and they aren't handled by the GTK client (as far as I know)
bzr revid: xmo@openerp.com-20101208102305-yd96zmg10exredgq
Diffstat (limited to 'addons')
-rw-r--r--addons/account_budget/account_budget_view.xml2
-rw-r--r--addons/base_synchro/wizard/base_synchro_view.xml2
-rw-r--r--addons/crm/crm_lead_view.xml4
-rw-r--r--addons/crm/crm_opportunity_view.xml1
-rw-r--r--addons/crm/report/crm_lead_report_view.xml1
-rw-r--r--addons/crm/report/crm_phonecall_report_view.xml1
-rw-r--r--addons/crm_claim/crm_claim_view.xml3
-rw-r--r--addons/crm_claim/report/crm_claim_report_view.xml1
-rw-r--r--addons/crm_fundraising/report/crm_fundraising_report_view.xml1
-rw-r--r--addons/crm_helpdesk/report/crm_helpdesk_report_view.xml4
-rw-r--r--addons/crm_partner_assign/report/crm_lead_report_view.xml1
-rw-r--r--addons/event/event_view.xml2
-rw-r--r--addons/hr_holidays/hr_holidays_view.xml8
-rw-r--r--addons/hr_recruitment/hr_recruitment_view.xml1
-rw-r--r--addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml2
-rw-r--r--addons/mail_gateway/mail_gateway_view.xml2
-rw-r--r--addons/mrp/mrp_view.xml1
-rw-r--r--addons/mrp_operations/mrp_operations_view.xml1
-rw-r--r--addons/project/project_view.xml8
-rw-r--r--addons/project_issue/project_issue_view.xml2
-rw-r--r--addons/project_issue/report/project_issue_report_view.xml1
-rw-r--r--addons/project_long_term/project_long_term_view.xml2
-rw-r--r--addons/project_scrum/project_scrum_view.xml4
-rw-r--r--addons/project_timesheet/report/task_report_view.xml2
-rw-r--r--addons/sale_crm/sale_crm_view.xml2
-rw-r--r--addons/survey/survey_view.xml4
26 files changed, 24 insertions, 39 deletions
diff --git a/addons/account_budget/account_budget_view.xml b/addons/account_budget/account_budget_view.xml
index 3915463d8a2..02080a2bc2e 100644
--- a/addons/account_budget/account_budget_view.xml
+++ b/addons/account_budget/account_budget_view.xml
@@ -172,7 +172,7 @@
<field name="arch" type="xml">
<search string="Budget">
<group col="20" colspan="4">
- <filter string="Draft" icon="terp-document-new" domain="[('state','=','draft')]" help="Draft Budgets" default="1"/>
+ <filter string="Draft" icon="terp-document-new" domain="[('state','=','draft')]" help="Draft Budgets"/>
<filter string="To Approve" icon="terp-camera_test" domain="[('state','=','confirm')]" help="To Approve Budgets" />
<separator orientation="vertical"/>
<field name="name" select="1"/>
diff --git a/addons/base_synchro/wizard/base_synchro_view.xml b/addons/base_synchro/wizard/base_synchro_view.xml
index 291e2c4385e..c0c140f3791 100644
--- a/addons/base_synchro/wizard/base_synchro_view.xml
+++ b/addons/base_synchro/wizard/base_synchro_view.xml
@@ -10,7 +10,7 @@
<field name="arch" type="xml">
<form string="Transfer Data To Server">
<field name="server_url" colspan="4"/>
- <field name="user_id" default="uid"/>
+ <field name="user_id"/>
<newline/>
<separator string="" colspan="4"/>
<button special="cancel" string="_Close" icon="gtk-cancel"/>
diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml
index dff880c7fce..cda3c4fcc1f 100644
--- a/addons/crm/crm_lead_view.xml
+++ b/addons/crm/crm_lead_view.xml
@@ -289,7 +289,7 @@
<search string="Search Leads">
<filter icon="terp-check"
string="Current"
- default="1" name="current" help="Draft and Open Leads"
+ name="current" help="Draft and Open Leads"
domain="[('state','in',('draft','open'))]"/>
<filter icon="terp-camera_test"
string="Open"
@@ -315,7 +315,7 @@
domain="[('user_id','=', False)]"
help="Unassigned Leads" />
</field>
- <field name="section_id" default="context.get('section_id', False)" widget="selection"
+ <field name="section_id" widget="selection"
context="{'invisible_section': False}">
<filter icon="terp-personal+" groups="base.group_extended"
context="{'invisible_section': False}"
diff --git a/addons/crm/crm_opportunity_view.xml b/addons/crm/crm_opportunity_view.xml
index a13c3675fa1..5ca69c22790 100644
--- a/addons/crm/crm_opportunity_view.xml
+++ b/addons/crm/crm_opportunity_view.xml
@@ -290,7 +290,6 @@
help="Unassigned Opportunities" />
</field>
<field name="section_id"
- default="context.get('section_id', False)"
context="{'invisible_section': False}"
widget="selection">
<filter icon="terp-personal+" groups="base.group_extended"
diff --git a/addons/crm/report/crm_lead_report_view.xml b/addons/crm/report/crm_lead_report_view.xml
index fd27e55fc2e..de6411f52b0 100644
--- a/addons/crm/report/crm_lead_report_view.xml
+++ b/addons/crm/report/crm_lead_report_view.xml
@@ -97,7 +97,6 @@
<separator orientation="vertical" />
<field name="section_id"
- default="context.get('section_id', False)"
context="{'invisible_section': False}">
<filter icon="terp-personal+" groups="base.group_extended"
context="{'invisible_section': False}"
diff --git a/addons/crm/report/crm_phonecall_report_view.xml b/addons/crm/report/crm_phonecall_report_view.xml
index 5cb8a74b95b..bc2ce828f5e 100644
--- a/addons/crm/report/crm_phonecall_report_view.xml
+++ b/addons/crm/report/crm_phonecall_report_view.xml
@@ -78,7 +78,6 @@
help="Phone calls which are in pending state"/>
<separator orientation="vertical" />
<field name="section_id" string="Sales Team"
- default="context.get('section_id', False)"
context="{'invisible_section': False}">
<filter icon="terp-personal+" groups="base.group_extended"
context="{'invisible_section': False}"
diff --git a/addons/crm_claim/crm_claim_view.xml b/addons/crm_claim/crm_claim_view.xml
index d037b2884a2..6e7cc710dc2 100644
--- a/addons/crm_claim/crm_claim_view.xml
+++ b/addons/crm_claim/crm_claim_view.xml
@@ -244,8 +244,7 @@
<search string="Search Claims">
<filter icon="terp-check" string="Current" name="current"
domain="[('state','in',('draft', 'open'))]"
- separator="1" help="Draft and Open Claims" default="1"
- />
+ separator="1" help="Draft and Open Claims" />
<filter icon="terp-camera_test"
string="In Progress"
domain="[('state','=','open')]"
diff --git a/addons/crm_claim/report/crm_claim_report_view.xml b/addons/crm_claim/report/crm_claim_report_view.xml
index 4128bd7b31f..1fa47c09a9f 100644
--- a/addons/crm_claim/report/crm_claim_report_view.xml
+++ b/addons/crm_claim/report/crm_claim_report_view.xml
@@ -78,7 +78,6 @@
<separator orientation="vertical" />
<field name="section_id" string="Sales Team"
- default="context.get('section_id', False)"
context="{'invisible_section': False}">
<filter icon="terp-personal+" groups="base.group_extended"
diff --git a/addons/crm_fundraising/report/crm_fundraising_report_view.xml b/addons/crm_fundraising/report/crm_fundraising_report_view.xml
index 25222a56b2d..50ca70c5576 100644
--- a/addons/crm_fundraising/report/crm_fundraising_report_view.xml
+++ b/addons/crm_fundraising/report/crm_fundraising_report_view.xml
@@ -99,7 +99,6 @@
domain="[('state','=','pending')]"/>
<separator orientation="vertical" />
<field name="section_id" string="Sales Team"
- default="context.get('section_id', False)"
context="{'invisible_section': False}">
<filter icon="terp-personal+" groups="base.group_extended"
context="{'invisible_section': False}"
diff --git a/addons/crm_helpdesk/report/crm_helpdesk_report_view.xml b/addons/crm_helpdesk/report/crm_helpdesk_report_view.xml
index 1ae9224787b..1fea2a0f2d4 100644
--- a/addons/crm_helpdesk/report/crm_helpdesk_report_view.xml
+++ b/addons/crm_helpdesk/report/crm_helpdesk_report_view.xml
@@ -72,7 +72,6 @@
domain="[('state','=','cancel')]" />
<separator orientation="vertical" />
<field name="section_id" string="Sales Team"
- default="context.get('section_id', False)"
context="{'invisible_section': False}">
<filter icon="terp-personal+" groups="base.group_extended"
context="{'invisible_section': False}"
@@ -99,8 +98,7 @@
<newline/>
<group expand="1" string="Group By...">
<filter string="Salesman" icon="terp-personal"
- domain="[]" context="{'group_by':'user_id'}"
- default="1" />
+ domain="[]" context="{'group_by':'user_id'}"/>
<filter string="Sales Team" icon="terp-personal+"
domain="[]"
context="{'group_by':'section_id'}" />
diff --git a/addons/crm_partner_assign/report/crm_lead_report_view.xml b/addons/crm_partner_assign/report/crm_lead_report_view.xml
index 6562d17012d..9cb0f2e2d28 100644
--- a/addons/crm_partner_assign/report/crm_lead_report_view.xml
+++ b/addons/crm_partner_assign/report/crm_lead_report_view.xml
@@ -23,7 +23,6 @@
domain="[('state','=','done')]"/>
<separator orientation="vertical" />
<field name="section_id"
- default="context.get('section_id', False)"
widget="selection"
context="{'invisible_section': False}"/>
<field name="grade_id"/>
diff --git a/addons/event/event_view.xml b/addons/event/event_view.xml
index 04ea01915e2..1dbb0de48d2 100644
--- a/addons/event/event_view.xml
+++ b/addons/event/event_view.xml
@@ -239,7 +239,7 @@
domain="[('user_id','=',uid)]"/>
</field>
<field name="date_begin" select="1"/>
- <field name="section_id" default="context.get('section_id', False)" widget="selection" groups="base.group_extended">
+ <field name="section_id" widget="selection" groups="base.group_extended">
<filter icon="terp-personal+"
context="{'invisible_section': False}"
domain="[('section_id.user_id','=',uid)]"
diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml
index c76e8359b9e..d44b02a316f 100644
--- a/addons/hr_holidays/hr_holidays_view.xml
+++ b/addons/hr_holidays/hr_holidays_view.xml
@@ -9,8 +9,7 @@
<field name="arch" type="xml">
<search string="Search Leave">
<group col='8' colspan='4'>
- <filter icon="terp-camera_test" domain="[('state','=','validate')]" string="Validated"
- default="context.get('report', False)"/>
+ <filter icon="terp-camera_test" domain="[('state','=','validate')]" string="Validated"/>
<separator orientation="vertical"/>
<filter icon="terp-check" domain="[('state','=','draft')]" string="To Confirm"/>
<filter icon="terp-camera_test" domain="[('state','=','confirm')]" string="To Approve"/>
@@ -24,7 +23,7 @@
domain="[('employee_id.user_id','=', uid)]"
help="My Leaves" />
</field>
- <field name="department_id" widget="selection" default="context.get('department_id', False)" >
+ <field name="department_id" widget="selection">
<filter icon="terp-personal+" help="My Department Holidays"
domain="[('department_id.manager_id','=',uid)]" />
</field>
@@ -41,8 +40,7 @@
<filter string="Manager" icon="terp-personal" domain="[]" context="{'group_by':'manager_id'}"/>
<filter string="Department" icon="terp-personal+" domain="[]" context="{'group_by':'department_id','set_visible':True}"/>
<separator orientation="vertical"/>
- <filter name="group_type" string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'holiday_status_id'}"
- default="context.get('report', False)"/>
+ <filter name="group_type" string="Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'holiday_status_id'}"/>
<separator orientation="vertical"/>
<filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
</group>
diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml
index cf2097b2454..010a46faaf2 100644
--- a/addons/hr_recruitment/hr_recruitment_view.xml
+++ b/addons/hr_recruitment/hr_recruitment_view.xml
@@ -218,7 +218,6 @@
<filter icon="terp-check" string="Current"
domain="[('state','in',('draft','open'))]"
help="All new and in progress jobs"
- default="1"
name="current"
/>
<filter icon="terp-document-new" string="New"
diff --git a/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml b/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml
index 1d03581ca22..b763f96c10a 100644
--- a/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml
+++ b/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report_view.xml
@@ -458,7 +458,7 @@
<field name="arch" type="xml">
<search string="Search Timesheet Lines">
<group col='15' colspan='4'>
- <filter icon="terp-check" string="Current" default="1" domain="[('date','=',time.strftime('%%Y-%%m-%%d'))]"/>
+ <filter icon="terp-check" string="Current" domain="[('date','=',time.strftime('%%Y-%%m-%%d'))]"/>
<separator orientation="vertical"/>
<field name="user_id" widget="selection"/>
<field name="product_id" widget="selection"/>
diff --git a/addons/mail_gateway/mail_gateway_view.xml b/addons/mail_gateway/mail_gateway_view.xml
index b2aaab21a36..d05bfbc0d91 100644
--- a/addons/mail_gateway/mail_gateway_view.xml
+++ b/addons/mail_gateway/mail_gateway_view.xml
@@ -74,7 +74,7 @@
<search string="Email Search">
<field name="name" string="Subject"/>
<field name="date" />
- <field name="user_id" string="Owner" default="uid"/>
+ <field name="user_id" string="Owner"/>
<field name="partner_id" string="Partner Name"/>
<newline/>
<group expand="0" string="Group By..." groups="base.group_extended">
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index 14d0d11e7ea..25eb56673b0 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -726,7 +726,6 @@
domain="[('state','=','draft')]"
help="Non confirmed manufacturing orders"/>
<filter icon="terp-check" string="Current" name="current"
- default="1"
domain="[('state','in',('confirmed','ready','exception','in_production'))]"
help="Manufacturing Orders which are waiting for raw materials, confirmed, ready to start or currently in production."/>
<separator orientation="vertical"/>
diff --git a/addons/mrp_operations/mrp_operations_view.xml b/addons/mrp_operations/mrp_operations_view.xml
index 5996fe1f258..0b2a944e000 100644
--- a/addons/mrp_operations/mrp_operations_view.xml
+++ b/addons/mrp_operations/mrp_operations_view.xml
@@ -135,7 +135,6 @@
<filter icon="terp-document-new" string="Draft"
domain="[('state','=','draft')]"/>
<filter icon="terp-check" string="In Progress" name="Current"
- default="1"
domain="[('state','=','startworking')]"/>
<filter icon="terp-gtk-media-pause" string="Pending"
domain="[('state','=','pause')]"/>
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml
index 15c90caa6f4..a06397341bb 100644
--- a/addons/project/project_view.xml
+++ b/addons/project/project_view.xml
@@ -109,12 +109,12 @@
<field name="arch" type="xml">
<search string="Search Project">
<group col='15' colspan='4'>
- <filter icon="terp-check" string="Current" name="Current" domain="[('state', 'in',('open','pending'))]" help="Open and Pending Projects" default="1"/>
+ <filter icon="terp-check" string="Current" name="Current" domain="[('state', 'in',('open','pending'))]" help="Open and Pending Projects"/>
<separator orientation="vertical"/>
- <filter icon="terp-personal+" string="Member" domain="['|',('user_id', '=', uid),('members', '=', uid)]" help="Projects in which I am a member." default="1"/>
+ <filter icon="terp-personal+" string="Member" domain="['|',('user_id', '=', uid),('members', '=', uid)]" help="Projects in which I am a member."/>
<separator orientation="vertical"/>
<field name="name" string="Project Name"/>
- <field name="user_id" string="Project Manager" default="1">
+ <field name="user_id" string="Project Manager">
<filter domain="[('user_id','=',uid)]" help="Projects in which I am a manage" icon="terp-personal"/>
</field>
<field name="partner_id" string="Partner"/>
@@ -379,7 +379,7 @@
<field name="arch" type="xml">
<search string="Task Edition">
<group col="20" colspan="4">
- <filter string="Current" domain="[('state','in',('open','draft'))]" name="current" help="Draft and In Progress tasks" icon="terp-check" default="1"/>
+ <filter string="Current" domain="[('state','in',('open','draft'))]" name="current" help="Draft and In Progress tasks" icon="terp-check"/>
<filter string="In Progress" domain="[('state','=','open')]" help="In Progress Tasks" icon="terp-camera_test"/>
<filter string="Pending" domain="[('state','=','pending')]" context="{'show_delegated':False}" help="Pending Tasks" icon="terp-gtk-media-pause"/>
<separator orientation="vertical"/>
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index e3493f5af9b..0687c4fe26a 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -210,7 +210,7 @@
<field name="arch" type="xml">
<search string="Issue Tracker Search">
<group>
- <filter string="Current" name="current" domain="[('state','in',('open','draft'))]" help="Draft and To Do" icon="terp-check" default="1"/>
+ <filter string="Current" name="current" domain="[('state','in',('open','draft'))]" help="Draft and To Do" icon="terp-check"/>
<filter string="To Do" domain="[('state','=','open')]" help="To Do Issues" icon="terp-camera_test"/>
<filter string="Pending" domain="[('state','=','pending')]" help="Pending Issues" icon="terp-gtk-media-pause"/>
<separator orientation="vertical"/>
diff --git a/addons/project_issue/report/project_issue_report_view.xml b/addons/project_issue/report/project_issue_report_view.xml
index 5a8c4886d2f..c4bee877127 100644
--- a/addons/project_issue/report/project_issue_report_view.xml
+++ b/addons/project_issue/report/project_issue_report_view.xml
@@ -79,7 +79,6 @@
<separator orientation="vertical" />
<field name="section_id"
string="Sale Team "
- default="context.get('section_id', False)"
widget="selection"
context="{'invisible_section': False}">
diff --git a/addons/project_long_term/project_long_term_view.xml b/addons/project_long_term/project_long_term_view.xml
index 8c7595f24bc..39d9d1cfa8b 100644
--- a/addons/project_long_term/project_long_term_view.xml
+++ b/addons/project_long_term/project_long_term_view.xml
@@ -257,7 +257,7 @@
<field name="arch" type="xml">
<search string="Project Phases">
<group colspan="4" col="20">
- <filter string="Current" domain="[('state','in',('open','draft'))]" name="current" help="Draft and In Progress Phases" icon="terp-check" default="1"/>
+ <filter string="Current" domain="[('state','in',('open','draft'))]" name="current" help="Draft and In Progress Phases" icon="terp-check"/>
<filter string="In Progress" name="Progress" domain="[('state','=','open')]" help="In Progress Phases" icon="terp-camera_test"/>
<filter string="Pending" domain="[('state','=','pending')]" help="Pending Phases" icon="terp-gtk-media-pause"/>
<separator orientation="vertical"/>
diff --git a/addons/project_scrum/project_scrum_view.xml b/addons/project_scrum/project_scrum_view.xml
index 122f68edc16..f3f2b27c11d 100644
--- a/addons/project_scrum/project_scrum_view.xml
+++ b/addons/project_scrum/project_scrum_view.xml
@@ -130,7 +130,7 @@
<field name="arch" type="xml">
<search string="Product Backlogs">
<group col="10" colspan="4">
- <filter default="1"
+ <filter
icon="terp-check"
string="Current"
name="current"
@@ -429,7 +429,7 @@
<filter name="scrum_daily" icon="terp-go-today" string="Daily" domain="[('date','=',time.strftime('%%Y-%%m-%%d'))]" help="Daily Meetings"/>
<separator orientation="vertical"/>
<field name="sprint_id">
- <filter icon="terp-check" string="Current" domain="[('sprint_id.state','in',('draft','open'))]" help="Current Sprints" default="1"/>
+ <filter icon="terp-check" string="Current" domain="[('sprint_id.state','in',('draft','open'))]" help="Current Sprints"/>
</field>
<field name="date"/>
</group>
diff --git a/addons/project_timesheet/report/task_report_view.xml b/addons/project_timesheet/report/task_report_view.xml
index 8a6c3c0ce25..c73bc9dc039 100644
--- a/addons/project_timesheet/report/task_report_view.xml
+++ b/addons/project_timesheet/report/task_report_view.xml
@@ -48,7 +48,7 @@
</group>
<newline/>
<group expand="1" string="Group By..." colspan="4" col="3">
- <filter string="User" name="group_user_id" icon="terp-personal" context="{'group_by':'user_id'}" default="1" />
+ <filter string="User" name="group_user_id" icon="terp-personal" context="{'group_by':'user_id'}"/>
<separator orientation="vertical"/>
<filter string="Month" icon="terp-go-month" context="{'group_by':'month'}" help="Group by month of date"/>
<filter string="Year" icon="terp-go-year" context="{'group_by':'year'}" help="Group by year of date"/>
diff --git a/addons/sale_crm/sale_crm_view.xml b/addons/sale_crm/sale_crm_view.xml
index bac0051e0d1..b5d6a0ee0fc 100644
--- a/addons/sale_crm/sale_crm_view.xml
+++ b/addons/sale_crm/sale_crm_view.xml
@@ -33,7 +33,7 @@
<field name="inherit_id" ref="sale.view_sales_order_filter"/>
<field name="arch" type="xml">
<field name="date_order" position="after">
- <field name="section_id" default="context.get('section_id', False)" widget="selection" string="Sales Team" groups="base.group_extended">
+ <field name="section_id" widget="selection" string="Sales Team" groups="base.group_extended">
<filter icon="terp-personal+"
domain="[('section_id.user_id','=',uid)]"
groups="base.group_extended"
diff --git a/addons/survey/survey_view.xml b/addons/survey/survey_view.xml
index 1eee546a964..646f1d30f98 100644
--- a/addons/survey/survey_view.xml
+++ b/addons/survey/survey_view.xml
@@ -265,7 +265,7 @@
<separator orientation="vertical"/>
<field name="title" select="1"/>
<field name="type" select="1" widget="selection"/>
- <field name="responsible_id" select="1" default="1">
+ <field name="responsible_id" select="1">
<filter string="MY" icon="terp-personal" domain="[('responsible_id','=',uid)]" help="My Survey(s)"/>
</field>
</group>
@@ -1098,7 +1098,7 @@
<separator orientation="vertical"/>
<field name="survey_id" widget="selection" select="1"/>
<field name="email" select="1"/>
- <field name="user_id" select="1" default="1">
+ <field name="user_id" select="1">
<filter string="MY" icon="terp-personal" domain="[('user_id','=',uid)]"/>
</field>
</group>