From 401c130f5cd426f66cc88b1b00f1d51963e55d1f Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 1 Jul 2008 16:09:07 +0000 Subject: [PATCH] Improvements bzr revid: fp@tinyerp.com-e1eabd16140dfd8fe828d58b003868c9ded36021 --- addons/account/__terp__.py | 6 ++-- addons/custom/corporate_rml_header.rml | 39 -------------------------- addons/hr/hr.py | 4 +-- addons/hr/hr_view.xml | 18 ++++++------ addons/product/product_view.xml | 6 ++-- 5 files changed, 16 insertions(+), 57 deletions(-) delete mode 100644 addons/custom/corporate_rml_header.rml diff --git a/addons/account/__terp__.py b/addons/account/__terp__.py index a5ebf93f98e..50b94c9af3b 100644 --- a/addons/account/__terp__.py +++ b/addons/account/__terp__.py @@ -68,9 +68,9 @@ "project/project_security.xml", "account_assert_test.xml", ], -# "translations" : { -# "fr": "i18n/french_fr.csv" -# }, + "translations" : { + "fr": "i18n/french_fr.csv" + }, "active": False, "installable": True } diff --git a/addons/custom/corporate_rml_header.rml b/addons/custom/corporate_rml_header.rml deleted file mode 100644 index fcc31fdce67..00000000000 --- a/addons/custom/corporate_rml_header.rml +++ /dev/null @@ -1,39 +0,0 @@ -
- - - - - - - [[company.logo]] - - - - - - - 1cm 27.7cm 20cm 27.7cm - - - [[ company.rml_header1 ]] - - - [[ company.partner_id.name ]] - [[ company.partner_id.address and company.partner_id.address[0].street ]] - [[ company.partner_id.address and company.partner_id.address[0].zip ]] [[ company.partner_id.address and company.partner_id.address[0].city ]] - [[ company.partner_id.address and company.partner_id.address[0].country_id and company.partner_id.address[0].country_id.name ]] - Phone: - [[ company.partner_id.address and company.partner_id.address[0].phone ]] - Mail: - [[ company.partner_id.address and company.partner_id.address[0].email ]] - 1cm 25.5cm 7cm 25.5cm - - - - 1.5cm 2.15cm 19.9cm 2.15cm - - [[ company.rml_footer1 ]] - [[ company.rml_footer2 ]] - Contact : [[ user.name ]] - - -
diff --git a/addons/hr/hr.py b/addons/hr/hr.py index 0080f1bf34b..b1e20537804 100644 --- a/addons/hr/hr.py +++ b/addons/hr/hr.py @@ -34,10 +34,10 @@ from osv import fields, osv class hr_timesheet_group(osv.osv): _name = "hr.timesheet.group" - _description = "Timesheet" + _description = "Working Time" _columns = { 'name' : fields.char("Group name", size=64, required=True), - 'timesheet_id' : fields.one2many('hr.timesheet', 'tgroup_id', 'Timesheet'), + 'timesheet_id' : fields.one2many('hr.timesheet', 'tgroup_id', 'Working Time'), 'manager' : fields.many2one('res.users', 'Workgroup manager'), } # diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 78b9101c2bc..48ed1d24cd8 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -141,7 +141,7 @@ @@ -149,18 +149,16 @@ hr.timesheet.group form -
+ - -
- Timesheet Categories + Working Time Categories hr.timesheet.group form @@ -172,7 +170,7 @@ hr.timesheet tree - + @@ -185,7 +183,7 @@ hr.timesheet form -
+ @@ -260,7 +258,7 @@ Categories of Employee hr.employee.category form - form,tree + tree,form @@ -342,7 +340,7 @@ - Vacation Request + Vacation Requests hr.holidays form @@ -414,4 +412,4 @@ - \ No newline at end of file + diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index e90e658f6e8..c947661f00d 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -116,7 +116,7 @@ - + product.category.form @@ -152,7 +152,7 @@ tree - + Products Categories @@ -450,4 +450,4 @@ - \ No newline at end of file +