From 8a64e7580a03db9065ca8a82c6aae31875b7f840 Mon Sep 17 00:00:00 2001 From: Antonin Bourguignon Date: Tue, 7 Aug 2012 13:31:37 +0200 Subject: [IMP] all the error messages now start with 'Error\!' (not 'Error' or 'Error \!') bzr revid: abo@openerp.com-20120807113137-44vehm0mthqawlo3 --- addons/analytic_user_function/analytic_user_function.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/analytic_user_function') diff --git a/addons/analytic_user_function/analytic_user_function.py b/addons/analytic_user_function/analytic_user_function.py index cfb1aba10d1..9233845f7eb 100644 --- a/addons/analytic_user_function/analytic_user_function.py +++ b/addons/analytic_user_function/analytic_user_function.py @@ -92,7 +92,7 @@ class hr_analytic_timesheet(osv.osv): if not a: a = r.product_id.categ_id.property_account_expense_categ.id if not a: - raise osv.except_osv(_('Error !'), + raise osv.except_osv(_('Error!'), _('There is no expense account define ' \ 'for this product: "%s" (id:%d)') % \ (r.product_id.name, r.product_id.id,)) @@ -127,7 +127,7 @@ class hr_analytic_timesheet(osv.osv): if not a: a = r.product_id.categ_id.property_account_expense_categ.id if not a: - raise osv.except_osv(_('Error !'), + raise osv.except_osv(_('Error!'), _('There is no expense account define ' \ 'for this product: "%s" (id:%d)') % \ (r.product_id.name, r.product_id.id,)) -- cgit v1.2.3 From 3bf9557952d7125b9d34f44293e4444b0b1eb8a9 Mon Sep 17 00:00:00 2001 From: "Twinkle Christian (OpenERP)" Date: Wed, 8 Aug 2012 17:12:35 +0530 Subject: [IMP]Remove type field from the views bzr revid: tch@tinyerp.com-20120808114235-ljj72at9o7lny4jh --- addons/analytic_user_function/analytic_user_function_view.xml | 9 --------- 1 file changed, 9 deletions(-) (limited to 'addons/analytic_user_function') diff --git a/addons/analytic_user_function/analytic_user_function_view.xml b/addons/analytic_user_function/analytic_user_function_view.xml index 9c6e89d1bda..6fa141f480d 100644 --- a/addons/analytic_user_function/analytic_user_function_view.xml +++ b/addons/analytic_user_function/analytic_user_function_view.xml @@ -6,7 +6,6 @@ analytic_user_funct_grid.tree analytic.user.funct.grid - tree @@ -18,7 +17,6 @@ analytic_user_funct_grid.form analytic.user.funct.grid - form
@@ -31,7 +29,6 @@ account.analytic.account.form account.analytic.account - form @@ -46,7 +43,6 @@ hr.timesheet.sheet.form.tree hr_timesheet_sheet.sheet - form @@ -60,7 +56,6 @@ hr.timesheet.sheet.form.form hr_timesheet_sheet.sheet - form @@ -74,7 +69,6 @@ hr.analytic.timesheet.form hr.analytic.timesheet - form @@ -86,7 +80,6 @@ hr.analytic.timesheet.form hr.analytic.timesheet - form @@ -98,7 +91,6 @@ hr.analytic.timesheet.tree hr.analytic.timesheet - tree @@ -110,7 +102,6 @@ hr.analytic.timesheet.tree hr.analytic.timesheet - tree -- cgit v1.2.3