Hardik Sanchawat (OpenERP) has proposed merging
lp:~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-l10n-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-l10n-hsa/+merge/114813
Hello,
I update warning messages in l10n modules.
Thanks
-hsa
--
https://code.launchpad.net/~openerp-commiter/openobject-addons/trunk-exception-warning-imp-dbr-l10n-hsa/+merge/114813
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-exception-warning-imp-dbr.
=== modified file 'l10n_be/wizard/l10n_be_vat_intra.py'
--- l10n_be/wizard/l10n_be_vat_intra.py 2012-03-07 12:04:37 +0000
+++ l10n_be/wizard/l10n_be_vat_intra.py 2012-07-13 09:03:43 +0000
@@ -113,7 +113,7 @@
issued_by = company_vat[:2]
if len(wiz_data.period_code) != 6:
- raise osv.except_osv(_('Wrong Period Code'), _('The period code you entered is not valid.'))
+ raise osv.except_osv(_('Wrong Period Code'), _('Period code is not valid.'))
if not wiz_data.period_ids:
raise osv.except_osv(_('Data Insufficient!'),_('Please select at least one Period.'))
=== modified file 'l10n_ch/report/report_webkit_html.py'
--- l10n_ch/report/report_webkit_html.py 2012-02-13 14:44:56 +0000
+++ l10n_ch/report/report_webkit_html.py 2012-07-13 09:03:43 +0000
@@ -207,7 +207,7 @@
if not header and report_xml.header:
raise except_osv(
_('No header defined for this Webkit report!'),
- _('Please set a header in company settings')
+ _('Please set a header in company settings.')
)
if not report_xml.header :
#I know it could be cleaner ...
=== modified file 'l10n_ch/wizard/bvr_import.py'
--- l10n_ch/wizard/bvr_import.py 2012-01-17 17:21:53 +0000
+++ l10n_ch/wizard/bvr_import.py 2012-07-13 09:03:43 +0000
@@ -222,10 +222,10 @@
account_id = int(value.split(',')[1])
else :
raise osv.except_osv(_('Error'),
- _('The properties account payable account receivable are not set'))
+ _('The properties account payable account receivable are not set.'))
if not account_id and line_ids:
raise osv.except_osv(_('Error'),
- _('The properties account payable account receivable are not set'))
+ _('The properties account payable account receivable are not set.'))
values['account_id'] = account_id
values['partner_id'] = partner_id
statement_line_obj.create(cursor, user, values, context=context)
=== modified file 'l10n_ch/wizard/create_dta.py'
--- l10n_ch/wizard/create_dta.py 2012-03-22 06:18:46 +0000
+++ l10n_ch/wizard/create_dta.py 2012-07-13 09:03:43 +0000
@@ -99,7 +99,7 @@
Must instanciate a fields list, field = (name,size)
and update a local_values dict.
"""
- raise _('not implemented')
+ raise _('Not implemented.')
def generate(self):
res=''
@@ -373,7 +373,7 @@
# _('Please confirm it'))
if not payment.mode:
raise osv.except_osv(_('Error'),
- _('No payment mode'))
+ _('No payment mode.'))
bank = payment.mode.bank_id
if not bank:
raise osv.except_osv(_('Error'), _('No bank account for the company.'))
@@ -558,7 +558,7 @@
raise osv.except_osv(_('Error'),
_('BVR reference number is not valid \n'
'for the line: %s. \n'
- 'Mod10 check failed') % pline.name)
+ 'Mod10 check failed.') % pline.name)
# fill reference with 0
v['reference'] = v['reference'].rjust(27, '0')
else:
@@ -603,7 +603,7 @@
v['partner_bank_number'] = '/C/'+v['partner_post_number']
record_type = record_gt827
else:
- raise osv.except_osv(_('Error'), _('The Bank type %s of the bank account: %s is not supported') \
+ raise osv.except_osv(_('Error'), _('The Bank type %s of the bank account: %s is not supported.') \
% (elec_pay, res_partner_bank_obj.name_get(cr, uid, [pline.bank_id.id], context)[0][1],))
dta_line = record_type(v).generate()
_______________________________________________
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