[FIX] hr_expense: corrected error message

bzr revid: qdp@cyan-20091013145016-xagtk35k93ip97y7
This commit is contained in:
Quentin De Paoli
2009-10-13 16:50:16 +02:00
parent e25cb298e0
commit e92ddd2999
+1 -1
View File
@@ -139,7 +139,7 @@ class hr_expense_expense(osv.osv):
'account_analytic_id': l.analytic_account.id,
}))
if not exp.employee_id.address_id:
raise osv.except_osv(_('Error !'), _('The employee must have a contact address'))
raise osv.except_osv(_('Error !'), _('The employee must have a working address'))
acc = exp.employee_id.address_id.partner_id.property_account_payable.id
payment_term_id = exp.employee_id.address_id.partner_id.property_payment_term.id
inv = {