From 0fa923b8d81f28720b00db2d9e35eedcc013849c Mon Sep 17 00:00:00 2001 From: "Sbh (Open ERP)" <> Date: Wed, 21 Mar 2012 17:55:37 +0530 Subject: [PATCH] [Fix] hr_timesheet_invoice:remove warning message for address field bzr revid: kjo@tinyerp.com-20120321122537-l5zj0cr790xwjnm1 --- .../wizard/hr_timesheet_invoice_create.py | 4 +--- 1 file changed, 1 insertion(+), 3 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 594a0a31c11..bcae996a8ee 100644 --- a/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py +++ b/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py @@ -64,9 +64,7 @@ class account_analytic_line(osv.osv): raise osv.except_osv(_('Analytic Account incomplete'), _('Please fill in the Partner or Customer and Sale Pricelist fields in the Analytic Account:\n%s') % (account.name,)) - if not partner.address: - raise osv.except_osv(_('Partner incomplete'), - _('Please fill in the Address field in the Partner: %s.') % (partner.name,)) + date_due = False if partner.property_payment_term: