diff --git a/addons/account/account.py b/addons/account/account.py index 34b421c7e6f..1c185d795d7 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -1656,7 +1656,7 @@ class account_account_template(osv.osv): 'currency_id': fields.many2one('res.currency', 'Secondary Currency', help="Force all moves for this account to have this secondary currency."), 'code': fields.char('Code', size=64), 'type': fields.selection(_code_get, 'Account Type', required=True), - 'reconcile': fields.boolean('Reconcile', help="Check this option if the user can make a reconciliation of the entries in this account."), + 'reconcile': fields.boolean('Allow Reconciliation', help="Check this option if the user can make a reconciliation of the entries in this account."), 'shortcut': fields.char('Shortcut', size=12), 'note': fields.text('Note'), } diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 01b32235907..2505a6f7693 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -111,22 +111,23 @@ form
- + + + + + + + + + - - - - - - - diff --git a/addons/account/project/project_view.xml b/addons/account/project/project_view.xml index d8f6d8af516..78fb0465f62 100644 --- a/addons/account/project/project_view.xml +++ b/addons/account/project/project_view.xml @@ -44,15 +44,14 @@ form - + + + + + + + - - - - - - - @@ -75,7 +74,7 @@ - + Analytic Chart of Accounts @@ -86,9 +85,9 @@ + action="action_account_analytic_account_tree2" + id="account_analytic_def_chart" + parent="account.next_id_39"/> diff --git a/addons/crm/crm_demo.xml b/addons/crm/crm_demo.xml index af02a985690..a387e40e5cc 100644 --- a/addons/crm/crm_demo.xml +++ b/addons/crm/crm_demo.xml @@ -1,11 +1,11 @@ - + - + Helpdesk and Support support @@ -18,11 +18,11 @@ Supplier complaints purchase - + - + Computer Crashed @@ -47,9 +47,9 @@ Furnitures - + - + - - - + - + Think about Tiny ERP 3 @@ -81,7 +79,7 @@ - + Need a new eCommerce Website 4 @@ -105,7 +103,7 @@ - + Hdd Crashed unexpectedly 3 @@ -121,7 +119,7 @@ - + Need a new eCommerce Website 3 @@ -145,7 +143,7 @@ - + Need a new eCommerce Website 3 @@ -169,7 +167,7 @@ - + Bug in program 3 @@ -188,7 +186,7 @@ - + Server is down 3 @@ -216,7 +214,7 @@ - + Disk failure 2 @@ -238,7 +236,7 @@ - + Missing hardware 3 @@ -260,7 +258,7 @@ - + Need a new eCommerce Website 4 @@ -284,7 +282,7 @@ - + Need a new module 3 @@ -313,7 +311,7 @@ - + Need support on module 1 @@ -335,7 +333,7 @@ - + Bad packing 2 @@ -356,7 +354,7 @@ - + Need quotation 3 @@ -383,7 +381,7 @@ - + New server 1 @@ -404,7 +402,7 @@ - + Formation 4 @@ -431,7 +429,7 @@ - + Need new specific reports 3 @@ -453,15 +451,15 @@ - + Server down 3 Server is down, doesn't answser to pingz Should check if still running, and if network still up (need to be in front of the server) - + Very very very high priority, as I cannot svn up/ci/st without the server - + (btw : this is only demo data. no stress dear sysadmin :)) @@ -481,6 +479,6 @@ - + - \ No newline at end of file + diff --git a/addons/hr/hr.py b/addons/hr/hr.py index 47f09994f2c..36a65feafd9 100644 --- a/addons/hr/hr.py +++ b/addons/hr/hr.py @@ -121,18 +121,27 @@ class hr_employee(osv.osv): 'name' : fields.char("Employee", size=128, required=True), 'active' : fields.boolean('Active'), 'company_id': fields.many2one('res.company', 'Company'), + 'user_id' : fields.many2one('res.users', 'Related User'), + + 'country_id' : fields.many2one('res.country', 'Nationality'), + 'birthday' : fields.date("Started on"), + 'ssnid': fields.char('SSN No', size=32), + 'sinid': fields.char('SIN No', size=32), + 'otherid': fields.char('Other ID', size=32), + 'gender': fields.selection([('',''),('male','Male'),('female','Female')], 'Gender'), + 'marital': fields.selection([('maried','Maried'),('unmaried','Unmaried'),('divorced','Divorced'),('other','Other')],'Marital Status', size=32), + 'address_id': fields.many2one('res.partner.address', 'Contact address'), - 'state': fields.function(_state, method=True, type='selection', selection=[('absent', 'Absent'), ('present', 'Present')], string='Attendance'), - 'started' : fields.date("Started on"), + 'work_phone': fields.char('Work Phone', size=32), + 'work_email': fields.char('Work Email', size=128), + 'work_location': fields.char('Office Location', size=32), + 'notes': fields.text('Notes'), - 'attendances' : fields.one2many('hr.attendance', 'employee_id', "Employee's attendances"), - 'holidays' : fields.one2many('hr.holidays', 'employee_id', "Employee's holidays"), - 'workgroups' : fields.many2many('hr.timesheet.group', 'hr_timesheet_employee_rel', 'emp_id', 'tgroup_id', "Employee's work team"), - 'user_id' : fields.many2one('res.users', 'Tiny ERP User'), + 'state': fields.function(_state, method=True, type='selection', selection=[('absent', 'Absent'), ('present', 'Present')], string='Attendance'), + + 'parent_id': fields.many2one('hr.employee', 'Manager', select=True), 'category_id' : fields.many2one('hr.employee.category', 'Category'), - 'regime' : fields.float('Workhours by week'), - 'holiday_max' : fields.integer("Number of holidays"), - 'parent_id': fields.many2one('hr.employee', 'Boss', select=True), + 'child_ids': fields.one2many('hr.employee', 'parent_id','Subordinates'), } _defaults = { diff --git a/addons/hr/hr_demo.xml b/addons/hr/hr_demo.xml index cfc6b7dd9fa..c447d675470 100644 --- a/addons/hr/hr_demo.xml +++ b/addons/hr/hr_demo.xml @@ -55,9 +55,7 @@ Fabien Pinckaers - 45 - 25 diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index bb649734bb0..a01f293d56e 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -6,45 +6,63 @@ + ========== + Employee + ========== + --> hr.employee.form hr.employee form - - - - - - - - - - - - - - - - - + + + + + + + + -