diff --git a/addons/account/wizard/account_financial_report_view.xml b/addons/account/wizard/account_financial_report_view.xml index f587141da1e..39c4fac83fd 100644 --- a/addons/account/wizard/account_financial_report_view.xml +++ b/addons/account/wizard/account_financial_report_view.xml @@ -53,7 +53,7 @@ form new - + {} diff --git a/addons/crm/crm_lead_menu.xml b/addons/crm/crm_lead_menu.xml index 3cd45fd5cd1..02fc3369041 100644 --- a/addons/crm/crm_lead_menu.xml +++ b/addons/crm/crm_lead_menu.xml @@ -9,7 +9,7 @@ ['|', ('type','=','lead'), ('type','=',False)] - {'default_type': 'lead', 'search_default_section_id': section_id, 'stage_type': 'lead'} + {'default_type':'lead', 'stage_type':'lead'} <img src="http://www.thaicrmsoftware.com/wp-content/uploads/2011/11/lead-conversion.jpg" align="right" style="padding: 6px" width="306" height="223"> <h2>Create your first OpenERP Lead </h2> @@ -66,7 +66,7 @@ crm.lead kanban,tree,form,graph,calendar [('type','=','opportunity')] - {'search_default_new':1, 'search_default_open':1, 'search_default_section_id':section_id, 'stage_type': 'opportunity', 'default_type': 'opportunity'} + {'search_default_new':1, 'search_default_open':1, 'stage_type': 'opportunity', 'default_type': 'opportunity'} 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 5295695369d..6241b831b66 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -358,7 +358,7 @@ context="{'invisible_section': False}"> form tree,calendar - {"search_default_user_id":uid, 'search_default_section_id': section_id} + {"search_default_user_id":uid} @@ -67,7 +67,7 @@ tree,calendar [] - + {} This tool allows you to log your inbound calls on the fly. Each call you get will appear on the partner form to trace every contact you have with a partner. From the phone call form, you can trigger a request for another call, a meeting or an opportunity. @@ -105,7 +105,7 @@ tree,calendar [('state','!=','done')] - + Scheduled calls list all the calls to be done by your sales team. A salesman can record the information about the call in the form view. This information will be stored in the partner form to trace every contact you have with a customer. You can also import a .CSV file with a list of calls to be done by your sales team. diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml index af49956eda8..136af4cf51e 100644 --- a/addons/crm/crm_phonecall_view.xml +++ b/addons/crm/crm_phonecall_view.xml @@ -211,7 +211,7 @@ @@ -261,7 +261,7 @@ diff --git a/addons/crm_claim/crm_claim_menu.xml b/addons/crm_claim/crm_claim_menu.xml index 2f87da24b4c..734302fa7f9 100644 --- a/addons/crm_claim/crm_claim_menu.xml +++ b/addons/crm_claim/crm_claim_menu.xml @@ -20,7 +20,7 @@ form tree,calendar,form - {'search_default_section_id': section_id,"search_default_user_id":uid, "stage_type":'claim'} + {"search_default_user_id":uid, "stage_type":'claim'} Record and track your customers' claims. Claims may be linked to a sales order or a lot. You can send emails with attachments and keep the full history for a claim (emails sent, intervention type and so on). Claims may automatically be linked to an email address using the mail gateway module. diff --git a/addons/crm_fundraising/crm_fundraising_menu.xml b/addons/crm_fundraising/crm_fundraising_menu.xml index ae758a58392..38187ed1d4d 100644 --- a/addons/crm_fundraising/crm_fundraising_menu.xml +++ b/addons/crm_fundraising/crm_fundraising_menu.xml @@ -13,7 +13,7 @@ crm.fundraising tree,form,graph - {"search_default_user_id":uid, 'search_default_section_id': section_id} + {"search_default_user_id":uid} If you need to collect money for your organization or a campaign, Fund Raising allows you to track all your fund raising activities. In the search list, filter by funds description, email, history and probability of success. diff --git a/addons/crm_fundraising/crm_fundraising_view.xml b/addons/crm_fundraising/crm_fundraising_view.xml index 48eb1aa3072..41a4a4ed4fc 100644 --- a/addons/crm_fundraising/crm_fundraising_view.xml +++ b/addons/crm_fundraising/crm_fundraising_view.xml @@ -234,7 +234,7 @@ diff --git a/addons/crm_helpdesk/crm_helpdesk_menu.xml b/addons/crm_helpdesk/crm_helpdesk_menu.xml index b2c7337b7d3..f5c36eb1ab1 100644 --- a/addons/crm_helpdesk/crm_helpdesk_menu.xml +++ b/addons/crm_helpdesk/crm_helpdesk_menu.xml @@ -17,7 +17,7 @@ tree,calendar,form - {"search_default_user_id":uid, 'search_default_section_id': section_id} + {"search_default_user_id":uid} Helpdesk and Support allow you to track your interventions. Select a customer, add notes and categorize interventions with partners if necessary. You can also assign a priority level. Use the OpenERP Issues system to manage your support activities. Issues can be connected to the email gateway: new emails may create issues, each of them automatically gets the history of the conversation with the customer. diff --git a/addons/crm_helpdesk/crm_helpdesk_view.xml b/addons/crm_helpdesk/crm_helpdesk_view.xml index 48681357660..fb58c2dd058 100644 --- a/addons/crm_helpdesk/crm_helpdesk_view.xml +++ b/addons/crm_helpdesk/crm_helpdesk_view.xml @@ -232,7 +232,7 @@ diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 4147ebc30a9..a69be2e974a 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -106,7 +106,6 @@ - @@ -182,7 +181,7 @@ form kanban,tree,form [] - {"search_default_department_id": department_id} + {} Here you can manage your work force by creating employees and assigning them specific properties in the system. Maintain all employee related information and keep track of anything that needs to be recorded for them. The personal information tab will help you maintain their identity data. The Categories tab gives you the opportunity to assign them related employee categories depending on their position and activities within the company. A category can be a seniority level within the company or a department. The Timesheets tab allows to assign them a specific timesheet and analytic journal where they will be able to enter time through the system. In the note tab, you can enter text data that should be recorded for a specific employee. @@ -410,7 +409,6 @@ - @@ -428,7 +426,7 @@ form tree,form - {"search_default_Current":1,"search_default_department_id": department_id} + {"search_default_Current":1} Job Positions are used to define jobs and their requirements. You can keep track of the number of employees you have per job position and how many you expect in the future. You can also attach a survey to a job position that will be used in the recruitment process to evaluate the applicants for this job position. diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml index a62a9026ecf..1d4a3162f42 100644 --- a/addons/hr_expense/hr_expense_view.xml +++ b/addons/hr_expense/hr_expense_view.xml @@ -148,12 +148,9 @@ - - diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 9f8f998cbd9..a00deb5bcd4 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -262,7 +262,7 @@ hr.holidays form - {"search_default_department_id": department_id} + {} [('type','=','remove')] Leave requests can be recorded by employees and validated by their managers. Once a leave request is validated, it appears automatically in the agenda of the employee. You can define several allowance types (paid holidays, sickness, etc.) and manage allowances per type. @@ -295,7 +295,7 @@ Requests Approve hr.holidays form - {'default_type': 'add', 'search_default_approve':1,"search_default_department_id": department_id} + {'default_type': 'add', 'search_default_approve':1} [('type','=','remove')] @@ -321,7 +321,7 @@ Allocation Requests hr.holidays form - {'default_type':'add',"search_default_department_id": department_id} + {'default_type':'add'} [('type','=','add')] diff --git a/addons/hr_recruitment/hr_recruitment_menu.xml b/addons/hr_recruitment/hr_recruitment_menu.xml index 04d73dcd2a8..426185abf86 100644 --- a/addons/hr_recruitment/hr_recruitment_menu.xml +++ b/addons/hr_recruitment/hr_recruitment_menu.xml @@ -8,7 +8,7 @@ hr.applicant kanban,tree,form,graph,calendar - {'search_default_filter_inprogress':1,'search_default_filter_new':1,"search_default_department_id": department_id} + {'search_default_filter_inprogress':1,'search_default_filter_new':1} 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. diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml index d822f10d944..f6323ffbc29 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_view.xml @@ -165,11 +165,7 @@ - - - + diff --git a/addons/l10n_be/account_financial_report.xml b/addons/l10n_be/account_financial_report.xml index 6f386b89184..ccc118d30ae 100644 --- a/addons/l10n_be/account_financial_report.xml +++ b/addons/l10n_be/account_financial_report.xml @@ -738,7 +738,7 @@ form new - + {} diff --git a/addons/project/project.py b/addons/project/project.py index 7f4e104db81..ef58c0c5466 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -517,11 +517,11 @@ class task(osv.osv): context key, or None if it cannot be resolved to a single project. """ if context is None: context = {} - if type(context.get('project_id')) in (int, long): - project_id = context['project_id'] + if type(context.get('default_project_id')) in (int, long): + project_id = context['default_project_id'] return project_id - if isinstance(context.get('project_id'), basestring): - project_name = context['project_id'] + if isinstance(context.get('default_project_id'), basestring): + project_name = context['default_project_id'] project_ids = self.pool.get('project.project').name_search(cr, uid, name=project_name) if len(project_ids) == 1: return project_ids[0][0] diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 344942cb3d5..61a445d4c59 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -624,7 +624,7 @@ kanban,tree,form,calendar,gantt,graph - {"search_default_project_id": project_id} + {} A task represents a work that has to be done. Each user works in his own list of tasks where he can record his task work in hours. He can work and close the task itself or delegate it to another user. If you delegate a task to another user, you get a new task in pending state, which will be reopened when you have to review the work achieved. If you install the project_timesheet module, task work can be invoiced based on the project configuration. With the project_mrp module, sales orders can create tasks automatically when they are confirmed. diff --git a/addons/project_issue/project_issue_menu.xml b/addons/project_issue/project_issue_menu.xml index 1c4cecfe439..4c3be9e1327 100644 --- a/addons/project_issue/project_issue_menu.xml +++ b/addons/project_issue/project_issue_menu.xml @@ -12,7 +12,7 @@ kanban,tree,calendar - {"search_default_user_id": uid, "search_default_draft": 1,"search_default_todo": 1,"search_default_project_id":project_id} + {"search_default_user_id": uid, "search_default_draft": 1,"search_default_todo": 1} 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)