[IMP]project-warning-message
bzr revid: pna@tinyerp.com-20120712095441-4xwox1hhog7je8oz
This commit is contained in:
parent
6cbb04758a
commit
ab00152169
|
@ -23,7 +23,7 @@ msgstr ""
|
|||
#. module: project_issue_sheet
|
||||
#: code:addons/project_issue_sheet/project_issue_sheet.py:57
|
||||
#, python-format
|
||||
msgid "The Analytic Account is in pending !"
|
||||
msgid "The Analytic Account is pending !"
|
||||
msgstr ""
|
||||
|
||||
#. module: project_issue_sheet
|
||||
|
|
|
@ -54,7 +54,7 @@ class project_issue(osv.osv):
|
|||
result = {}
|
||||
|
||||
if account and account.state == 'pending':
|
||||
result = {'warning' : {'title' : _('Analytic Account'), 'message' : _('The Analytic Account is in pending !')}}
|
||||
result = {'warning' : {'title' : _('Analytic Account'), 'message' : _('The Analytic Account is pending !')}}
|
||||
|
||||
return result
|
||||
|
||||
|
|
|
@ -355,7 +355,7 @@ msgstr ""
|
|||
#. module: project_timesheet
|
||||
#: code:addons/project_timesheet/project_timesheet.py:247
|
||||
#, python-format
|
||||
msgid "You cannot select a Analytic Account which is in Close or Cancelled state"
|
||||
msgid "You cannot select a Analytic Account which is in Close or Cancelled state."
|
||||
msgstr ""
|
||||
|
||||
#. module: project_timesheet
|
||||
|
|
|
@ -270,7 +270,7 @@ class account_analytic_line(osv.osv):
|
|||
st = acc.to_invoice.id
|
||||
res['value']['to_invoice'] = st or False
|
||||
if acc.state == 'close' or acc.state == 'cancelled':
|
||||
raise osv.except_osv(_('Invalid Analytic Account !'), _('You cannot select a Analytic Account which is in Close or Cancelled state'))
|
||||
raise osv.except_osv(_('Invalid Analytic Account !'), _('You cannot select a Analytic Account which is in Close or Cancelled state.'))
|
||||
return res
|
||||
account_analytic_line()
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
Loading…
Reference in New Issue