[IMP] project_timesheet : Click on timesheet button from a new project. You will get this 'Record your timesheets for the project '%s''.Instead of name of the project.

bzr revid: mdi@tinyerp.com-20121003112319-ancbub1h7u5mtylk
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-10-03 16:53:19 +05:30
parent 2d3d478784
commit fd6da42e30
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class project_project(osv.osv):
'search_default_account_id': [project.analytic_account_id.id],
'default_account_id': project.analytic_account_id.id,
}
help = _("""<p class="oe_view_nocontent_create">Record your timesheets for the project '%s'.</p>""")
help = _("""<p class="oe_view_nocontent_create">Record your timesheets for the project '%s'.</p>""") % (project.name,)
try:
if project.to_invoice and project.partner_id:
help+= _("""<p>Timesheets on this project may be invoiced to %s, according to the terms defined in the contract.</p>""" ) % (project.partner_id.name,)