[FIX] hr_expense: corrected error message
bzr revid: qdp@cyan-20091013145016-xagtk35k93ip97y7
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user