Hardik Sanchawat (OpenERP) has proposed merging 
lp:~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-pos-hsa 
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-pos-hsa/+merge/114843

Hello,

I update warning messages in point of sale module.

Thanks
-hsa
-- 
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-pos-hsa/+merge/114843
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-exception-warning-imp-dbr.
=== modified file 'point_of_sale/i18n/point_of_sale.pot'
--- point_of_sale/i18n/point_of_sale.pot	2012-05-10 13:41:19 +0000
+++ point_of_sale/i18n/point_of_sale.pot	2012-07-13 11:53:22 +0000
@@ -1997,7 +1997,7 @@
 #: code:addons/point_of_sale/wizard/pos_box_entries.py:100
 #: code:addons/point_of_sale/wizard/pos_box_out.py:88
 #, python-format
-msgid "You have to open at least one cashbox"
+msgid "You have to open at least one cashbox."
 msgstr ""
 
 #. module: point_of_sale
@@ -2523,7 +2523,7 @@
 #. module: point_of_sale
 #: code:addons/point_of_sale/wizard/pos_box_out.py:86
 #, python-format
-msgid "please check that account is set to %s"
+msgid "Please check that account is set to %s"
 msgstr ""
 
 #. module: point_of_sale

=== modified file 'point_of_sale/point_of_sale.py'
--- point_of_sale/point_of_sale.py	2012-05-04 11:57:48 +0000
+++ point_of_sale/point_of_sale.py	2012-07-13 11:53:22 +0000
@@ -304,7 +304,7 @@
                                                      ('user_id', '=', uid),
                                                      ('state', '=', 'open')], context=context)
         if len(statement_id) == 0:
-            raise osv.except_osv(_('Error !'), _('You have to open at least one cashbox'))
+            raise osv.except_osv(_('Error !'), _('You have to open at least one cashbox.'))
         if statement_id:
             statement_id = statement_id[0]
         args['statement_id'] = statement_id

=== modified file 'point_of_sale/wizard/pos_box_entries.py'
--- point_of_sale/wizard/pos_box_entries.py	2012-06-05 13:28:12 +0000
+++ point_of_sale/wizard/pos_box_entries.py	2012-07-13 11:53:22 +0000
@@ -97,7 +97,7 @@
             curr_company = res_obj.browse(cr, uid, uid, context=context).company_id.id
             statement_id = statement_obj.search(cr, uid, [('journal_id', '=', int(data['journal_id'])), ('company_id', '=', curr_company), ('user_id', '=', uid), ('state', '=', 'open')], context=context)
             if not statement_id:
-                raise osv.except_osv(_('Error !'), _('You have to open at least one cashbox'))
+                raise osv.except_osv(_('Error !'), _('You have to open at least one cashbox.'))
 
             product = product_obj.browse(cr, uid, int(data['product_id']))
             acc_id = product.property_account_income or product.categ_id.property_account_income_categ

=== modified file 'point_of_sale/wizard/pos_box_out.py'
--- point_of_sale/wizard/pos_box_out.py	2012-01-03 10:19:30 +0000
+++ point_of_sale/wizard/pos_box_out.py	2012-07-13 11:53:22 +0000
@@ -83,9 +83,9 @@
             product = product_obj.browse(cr, uid, data['product_id'], context=context)
             acc_id = product.property_account_expense or product.categ_id.property_account_expense_categ
             if not acc_id:
-                raise osv.except_osv(_('Error !'), _('please check that account is set to %s')%(product.name))
+                raise osv.except_osv(_('Error !'), _('Please check that account is set to %s')%(product.name))
             if not statement_ids:
-                raise osv.except_osv(_('Error !'), _('You have to open at least one cashbox'))
+                raise osv.except_osv(_('Error !'), _('You have to open at least one cashbox.'))
             vals['statement_id'] = statement_ids[0]
             vals['journal_id'] = data['journal_id']
             vals['account_id'] = acc_id.id

_______________________________________________
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