From 1aba414a21bb8537b347cc1a82d263fc4c900269 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Mon, 30 Mar 2009 19:01:17 +0530 Subject: [PATCH] Added form view for report_sale bzr revid: jvo@tinyerp.com-20090330133117-vyicn9i85l1js69i --- .../hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py | 2 +- addons/report_sale/report_sale_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py b/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py index 7ff1967c63a..d706a3eb25d 100644 --- a/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py +++ b/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py @@ -95,7 +95,7 @@ class invoice_create(wizard.interface): for product_id,factor_id,qty in cr.fetchall(): product = pool.get('product.product').browse(cr, uid, product_id, context2) if not product: - raise wizard.except_wizard(_('Error'), _('At least on line have no product !')) + raise wizard.except_wizard(_('Error'), _('At least one line has no product !')) factor_name = '' factor = pool.get('hr_timesheet_invoice.factor').browse(cr, uid, factor_id, context2) if factor.customer_name: diff --git a/addons/report_sale/report_sale_view.xml b/addons/report_sale/report_sale_view.xml index cbf6d2fa270..a4dbdad6b2a 100644 --- a/addons/report_sale/report_sale_view.xml +++ b/addons/report_sale/report_sale_view.xml @@ -166,7 +166,7 @@ Sales by State sale.order form - graph,tree + graph,tree,form [('state','<>','done')]