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..77dd0984cf5 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 _ @@ -51,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 5e9f8cfae07..c27abb6f609 100644 --- a/addons/hr_holidays/hr_holidays_demo.xml +++ b/addons/hr_holidays/hr_holidays_demo.xml @@ -5,38 +5,46 @@ Casual Leave - red + black - - - - 12 - + + 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-03 18:00 - 3 + 1 - Sickness Leave - black + Sick Leave + red - - - - 6 - + + 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_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} + - + + + - - @@ -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"/> + + - + 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 - +