[IMP]change the string of exception in project_timesheet
bzr revid: rma@tinyerp.com-20121019104826-lm2qi3lhs1ov769j
This commit is contained in:
parent
6bc2b96d41
commit
383040231a
|
@ -86,7 +86,7 @@ class project_work(osv.osv):
|
|||
emp = emp_obj.browse(cr, uid, emp_id[0])
|
||||
if not emp.product_id:
|
||||
raise osv.except_osv(_('Bad Configuration !'),
|
||||
_('Please define product on the related employee.\nFill in the timesheet tab of the employee form.'))
|
||||
_('Please define product and product category property account on the related employee.\nFill in the HR Settings tab of the employee form.'))
|
||||
|
||||
if not emp.journal_id:
|
||||
raise osv.except_osv(_('Bad Configuration !'),
|
||||
|
|
Loading…
Reference in New Issue