[Fix] hr_timesheet_invoice:remove warning message for address field

bzr revid: kjo@tinyerp.com-20120321122537-l5zj0cr790xwjnm1
This commit is contained in:
Sbh (Open ERP) 2012-03-21 17:55:37 +05:30 committed by Kuldeep Joshi (OpenERP)
parent d499f58b77
commit 0fa923b8d8
1 changed files with 1 additions and 3 deletions

View File

@ -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: