From 5bdc51ff693a91be6f52a62701c152b39160370e Mon Sep 17 00:00:00 2001 From: "psi (Open ERP)" Date: Thu, 20 May 2010 14:34:43 +0530 Subject: [PATCH 1/4] [IMP] hr_timesheet_sheet: Improve search view and rename Menu bzr revid: psi@tinyerp.co.in-20100520090443-ebsxp8lx53ehdair --- .../hr_timesheet_invoice_report_view.xml | 30 ++++++++++++++----- 1 file changed, 22 insertions(+), 8 deletions(-) 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 ac56789dc8d..7a1226a69c4 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 @@ -482,23 +482,37 @@ ir.actions.act_window - Timesheet Lines + Working Hours random.timesheet.lines form tree,form {'search_default_user_id':uid } + - - + icon="terp-project" + id="base.menu_main_pm" + name="Project Management" + sequence="1"/> + + - + From 3863713d0cdf9c7904244caa84919d8d4801a3c3 Mon Sep 17 00:00:00 2001 From: "psi (Open ERP)" Date: Thu, 20 May 2010 16:47:06 +0530 Subject: [PATCH 2/4] [IMP] scrum: Added expected_hours in demo data bzr revid: psi@tinyerp.co.in-20100520111706-klkcishlpf0soecv --- addons/scrum/scrum_demo.xml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/addons/scrum/scrum_demo.xml b/addons/scrum/scrum_demo.xml index edb7e1f5857..9f41f17a86b 100644 --- a/addons/scrum/scrum_demo.xml +++ b/addons/scrum/scrum_demo.xml @@ -1,9 +1,9 @@ - + - + [24, 25, 28, 26, 27, 29, 30, 31, 32, 33, 34, 35, 37, 36, 38] @@ -12,9 +12,9 @@ Open ERP - dev branch - + - + 2005-12-20 Sprint for V3.2.0 @@ -23,12 +23,13 @@ open - + - + 3 Automatic migration system + 6.0 This new system will enable you to migrate automatically from an old version of Open ERP to a new one. This system will migrate not only the Open ERP system but also the customers particularities. This happens without any kind of script or programming. It has been possible to carry out such a system thanks to the descriptive approach of Open ERP components. @@ -36,6 +37,7 @@ 3 New accounting module + 111.0 The accounting module of Open ERP (financial accounting and management accounting) is being reshaped. New functionnalities will be added: intangible assets, a new way of presenting ledgers and bookings, new stock valuation calculation, and lots of predefined reports. @@ -43,41 +45,47 @@ 3 Automated Plugin System to install/uninstall modules + 4.0 We have to develop a plug-in system which will enable to install/remove modules. The basic version of Open ERP will include only the required minimum, and you will select the modules thanks to the plug-in manager. This allows you to limit your system to your real needs: quality management, localisations, project and service management, marketing campaigns, and so on... Review all terms + 8.0 Bugfixes + 6.0 Test for 3.2.0 Publishing + 5.0 Test Open ERP to release stable 3.2.0 version. (may be 3.2.0-pre1 ?) Reshape the complete menu + 4.0 Restrucutre the Open ERP menu to be more like others ERP. Editable Trees + 12.0 Editable trees in list and one2many_list widgets. - + - + 4.0 @@ -185,6 +193,6 @@ Editable trees - + From 7be3eedde5c88c28c43f7c1e6b8cb0ea95315097 Mon Sep 17 00:00:00 2001 From: "psi (Open ERP)" Date: Thu, 20 May 2010 16:51:31 +0530 Subject: [PATCH 3/4] [ADD] hr_holidays: Added demo data and improve search view bzr revid: psi@tinyerp.co.in-20100520112131-9knxyo6soclkzt32 --- addons/hr_holidays/__openerp__.py | 2 +- addons/hr_holidays/hr_holidays.py | 1 - addons/hr_holidays/hr_holidays_demo.xml | 31 ++++++++++------------ addons/hr_holidays/hr_holidays_view.xml | 35 ++++++++++++++----------- 4 files changed, 34 insertions(+), 35 deletions(-) diff --git a/addons/hr_holidays/__openerp__.py b/addons/hr_holidays/__openerp__.py index 83ce130e360..3f0cd36ce4e 100644 --- a/addons/hr_holidays/__openerp__.py +++ b/addons/hr_holidays/__openerp__.py @@ -61,7 +61,7 @@ 'wizard/hr_holidays_summary_employees_view.xml', #'process/hr_holidays_process.xml' ], - 'demo_xml': [], + 'demo_xml': ['hr_holidays_demo.xml',], 'installable': True, 'active': False, 'certificate': '0086579209325', diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index b8543d8a407..677157d316e 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -23,7 +23,6 @@ import time import datetime -import pooler import netsvc from osv import fields, osv from tools.translate import _ diff --git a/addons/hr_holidays/hr_holidays_demo.xml b/addons/hr_holidays/hr_holidays_demo.xml index 5e9f8cfae07..c5948b437f8 100644 --- a/addons/hr_holidays/hr_holidays_demo.xml +++ b/addons/hr_holidays/hr_holidays_demo.xml @@ -5,34 +5,31 @@ Casual Leave - red - - - - - - 12 + black Going For Tour 2010-01-01 08:00 - 2010-01-03 18:00 - 3 + 2010-01-01 18:00 + 1 + + Family Function + + 2010-03-10 08:00 + 2010-03-14 18:00 + 5 + + + - Sickness Leave - black - - - - - - 6 + Sick Leave + red diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 9a3a8921a70..062e0f500a2 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -13,7 +13,7 @@ - + form [('type','=','remove')] + {'search_default_user_id':uid} @@ -248,20 +249,21 @@ - + - - Allocation Requests - hr.holidays - form - {'type':'add'} - [('type','=','add')] - - + + Allocation Requests + hr.holidays + form + {'search_default_user_id':uid,'type':'add'} + [('type','=','add')] + + + @@ -288,8 +290,9 @@ hr.holidays form tree,form - - {'allocation_type':'company', 'report':True} + + {'search_default_user_id':uid,'allocation_type':'company', 'report':True} + Date: Fri, 21 May 2010 12:16:54 +0530 Subject: [PATCH 4/4] [IMP] hr_holidays: Improve demo data, hr_timesheet_invoice:Imoprove search view bzr revid: psi@tinyerp.co.in-20100521064654-buj0bu0pwaxfj8eu --- addons/hr_holidays/hr_holidays.py | 2 +- addons/hr_holidays/hr_holidays_demo.xml | 35 ++++++++++++------- .../hr_timesheet_invoice_report_view.xml | 6 ++-- 3 files changed, 27 insertions(+), 16 deletions(-) diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index 677157d316e..77dd0984cf5 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -50,7 +50,7 @@ class hr_holidays_status(osv.osv): def get_days(self, cr, uid, ids, employee_id, return_false, context={}): res = {} - for record in self.browse(cr, uid, ids, context): + for record in self.browse(cr, uid, ids, context=context): res[record.id] = {} max_leaves = leaves_taken = 0 if not return_false: diff --git a/addons/hr_holidays/hr_holidays_demo.xml b/addons/hr_holidays/hr_holidays_demo.xml index c5948b437f8..c27abb6f609 100644 --- a/addons/hr_holidays/hr_holidays_demo.xml +++ b/addons/hr_holidays/hr_holidays_demo.xml @@ -8,32 +8,43 @@ black + + Trip with Family + + add + 2010-01-01 08:00 + 2010-01-03 18:00 + 1 + + + - Going For Tour + Trip with Family 2010-01-01 08:00 - 2010-01-01 18:00 + 2010-01-03 18:00 1 - - Family Function - - 2010-03-10 08:00 - 2010-03-14 18:00 - 5 - - - Sick Leave red + + Doctor Appointment + + add + 2010-02-01 00:00 + 2010-02-03 08:00 + 3 + + + - Sickness + Doctor Appointment 2010-02-01 00:00 2010-02-03 08:00 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 7a1226a69c4..3f34f8f7830 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 @@ -443,11 +443,11 @@ - + + + - -