Pinakin Nayi (OpenERP) has proposed merging 
lp:~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-project-warning-imp-pna
 into lp:~openerp-dev/openobject-addons/trunk-exception-warning-imp-dbr.

Requested reviews:
  Kuldeep Joshi(OpenERP) (kjo-openerp)

For more details, see:
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-project-warning-imp-pna/+merge/114798

Hello,

  I improved Exceptions, Constraint errors and Warning message of project 
module.

Thanks,
pna
-- 
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-project-warning-imp-pna/+merge/114798
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-exception-warning-imp-dbr.
=== modified file 'project_issue_sheet/i18n/project_issue_sheet.pot'
--- project_issue_sheet/i18n/project_issue_sheet.pot	2012-02-08 01:08:30 +0000
+++ project_issue_sheet/i18n/project_issue_sheet.pot	2012-07-13 08:37:30 +0000
@@ -23,7 +23,7 @@
 #. 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

=== modified file 'project_issue_sheet/project_issue_sheet.py'
--- project_issue_sheet/project_issue_sheet.py	2011-09-02 12:29:24 +0000
+++ project_issue_sheet/project_issue_sheet.py	2012-07-13 08:37:30 +0000
@@ -54,7 +54,7 @@
         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
 

=== modified file 'project_timesheet/i18n/project_timesheet.pot'
--- project_timesheet/i18n/project_timesheet.pot	2012-02-08 01:08:30 +0000
+++ project_timesheet/i18n/project_timesheet.pot	2012-07-13 08:37:30 +0000
@@ -355,7 +355,7 @@
 #. 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

=== modified file 'project_timesheet/project_timesheet.py'
--- project_timesheet/project_timesheet.py	2012-06-27 13:54:25 +0000
+++ project_timesheet/project_timesheet.py	2012-07-13 08:37:30 +0000
@@ -270,7 +270,7 @@
        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:

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to