From e3b787689f1b410475664a21b611dccd26210af7 Mon Sep 17 00:00:00 2001 From: "ksa (Open ERP)" Date: Mon, 11 Apr 2011 18:47:19 +0530 Subject: [PATCH 1/2] [IMP]: Improve ir.actions.todo replace restart=type bzr revid: ksa@tinyerp.co.in-20110411131719-b5x6i11xvq8gdqjc --- .../account_analytic_plans_installer_view.xml | 2 +- addons/crm/crm_installer_view.xml | 4 ++-- addons/fetchmail/fetchmail_installer_view.xml | 2 +- addons/hr/hr_installer.xml | 2 +- addons/hr_evaluation/hr_evaluation_installer_view.xml | 2 +- addons/hr_expense/hr_expense_installer_view.xml | 2 +- addons/hr_recruitment/hr_recruitment_installer_view.xml | 2 +- .../hr_timesheet_invoice_installer_view.xml | 2 +- addons/lunch/lunch_installer_view.xml | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/addons/account_analytic_plans/account_analytic_plans_installer_view.xml b/addons/account_analytic_plans/account_analytic_plans_installer_view.xml index 4bc6c555611..6a07ae8c9e7 100644 --- a/addons/account_analytic_plans/account_analytic_plans_installer_view.xml +++ b/addons/account_analytic_plans/account_analytic_plans_installer_view.xml @@ -13,7 +13,7 @@ 15 - always + normal_recurring diff --git a/addons/crm/crm_installer_view.xml b/addons/crm/crm_installer_view.xml index 4f882728e9e..db6930b8259 100644 --- a/addons/crm/crm_installer_view.xml +++ b/addons/crm/crm_installer_view.xml @@ -77,7 +77,7 @@ 10 - always + normal_recurring @@ -92,7 +92,7 @@ 10 - always + normal_recurring diff --git a/addons/fetchmail/fetchmail_installer_view.xml b/addons/fetchmail/fetchmail_installer_view.xml index a3250fd6911..28c266dbc5e 100644 --- a/addons/fetchmail/fetchmail_installer_view.xml +++ b/addons/fetchmail/fetchmail_installer_view.xml @@ -13,7 +13,7 @@ 4 - always + normal_recurring \ No newline at end of file diff --git a/addons/hr/hr_installer.xml b/addons/hr/hr_installer.xml index a4951dcb121..f68b13ed54e 100644 --- a/addons/hr/hr_installer.xml +++ b/addons/hr/hr_installer.xml @@ -67,7 +67,7 @@ 3 - always + normal_recurring diff --git a/addons/hr_evaluation/hr_evaluation_installer_view.xml b/addons/hr_evaluation/hr_evaluation_installer_view.xml index dfadc640937..f7e8ecd45bd 100644 --- a/addons/hr_evaluation/hr_evaluation_installer_view.xml +++ b/addons/hr_evaluation/hr_evaluation_installer_view.xml @@ -13,7 +13,7 @@ 3 - always + normal_recurring diff --git a/addons/hr_expense/hr_expense_installer_view.xml b/addons/hr_expense/hr_expense_installer_view.xml index 1cbac325eda..3ec8f12c9ba 100644 --- a/addons/hr_expense/hr_expense_installer_view.xml +++ b/addons/hr_expense/hr_expense_installer_view.xml @@ -13,7 +13,7 @@ 3 - always + normal_recurring diff --git a/addons/hr_recruitment/hr_recruitment_installer_view.xml b/addons/hr_recruitment/hr_recruitment_installer_view.xml index 9826a8c5ad1..ca09ad8abe4 100644 --- a/addons/hr_recruitment/hr_recruitment_installer_view.xml +++ b/addons/hr_recruitment/hr_recruitment_installer_view.xml @@ -13,7 +13,7 @@ 3 - always + normal_recurring diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer_view.xml b/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer_view.xml index 274c215fd37..f09344dec37 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer_view.xml +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer_view.xml @@ -40,7 +40,7 @@ 3 - never + normal diff --git a/addons/lunch/lunch_installer_view.xml b/addons/lunch/lunch_installer_view.xml index bb5a7381b7a..d6bce31e80c 100644 --- a/addons/lunch/lunch_installer_view.xml +++ b/addons/lunch/lunch_installer_view.xml @@ -13,7 +13,7 @@ 50 - always + normal_recurring From 681183863c284a6318ab7d6cd3c0563c354c8eba Mon Sep 17 00:00:00 2001 From: "ksa (Open ERP)" Date: Tue, 12 Apr 2011 10:47:01 +0530 Subject: [PATCH 2/2] [IMP]: improve config wizard work in hr_timesheet_invoice wizard and hr_expense put also default value in context bzr revid: ksa@tinyerp.co.in-20110412051701-4p4aqcze24wvecke --- addons/hr_expense/__openerp__.py | 2 +- addons/hr_expense/hr_expense_installer_view.xml | 1 + addons/hr_timesheet_invoice/hr_timesheet_invoice_installer.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/hr_expense/__openerp__.py b/addons/hr_expense/__openerp__.py index 613198c3200..aa6dd557be8 100644 --- a/addons/hr_expense/__openerp__.py +++ b/addons/hr_expense/__openerp__.py @@ -46,6 +46,7 @@ re-invoice your customer's expenses if your work by project. 'init_xml': [], 'update_xml': [ 'security/ir.model.access.csv', + 'hr_expense_data.xml', 'hr_expense_sequence.xml', 'hr_expense_workflow.xml', 'hr_expense_view.xml', @@ -56,7 +57,6 @@ re-invoice your customer's expenses if your work by project. 'board_hr_expense_view.xml', 'board_hr_expense_manager_view.xml', 'hr_expense_installer_view.xml', - 'hr_expense_data.xml' ], 'demo_xml': [ 'hr_expense_demo.xml', diff --git a/addons/hr_expense/hr_expense_installer_view.xml b/addons/hr_expense/hr_expense_installer_view.xml index 3ec8f12c9ba..83c2b1fcda0 100644 --- a/addons/hr_expense/hr_expense_installer_view.xml +++ b/addons/hr_expense/hr_expense_installer_view.xml @@ -7,6 +7,7 @@ product.product form tree,form + diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer.py b/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer.py index 52b5ba5a301..b69765cfa2c 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer.py +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice_installer.py @@ -56,7 +56,7 @@ class hr_timesheet_invoice_wizard(osv.osv_memory): context = {} res = super(hr_timesheet_invoice_wizard, self).default_get(cr, uid, fields, context=context) emp_obj = self.pool.get('hr.employee') - emp_id = emp_obj.search(cr, uid, [('user_id', '=', uid)], context=context) + emp_id = emp_obj.search(cr, uid, [], context=context) result = [] data = {} for emp in emp_obj.browse(cr, uid, emp_id, context=context):