[IMP] Improved warning messages for all l10n modules
bzr revid: pso@tinyerp.com-20120722075436-unwk2evpbiuxbp74
This commit is contained in:
parent
104baf0a0a
commit
6bc7158ed2
|
@ -279,7 +279,7 @@ msgstr ""
|
|||
#. module: l10n_ch
|
||||
#: code:addons/l10n_ch/wizard/bvr_import.py:0
|
||||
#, python-format
|
||||
msgid "The properties account payable account receivable"
|
||||
msgid "The properties account payable and account receivable are not set."
|
||||
msgstr ""
|
||||
|
||||
#. module: l10n_ch
|
||||
|
|
|
@ -222,10 +222,10 @@ def _import(self, cursor, user, data, context=None):
|
|||
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 and 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 and account receivable are not set.'))
|
||||
values['account_id'] = account_id
|
||||
values['partner_id'] = partner_id
|
||||
statement_line_obj.create(cursor, user, values, context=context)
|
||||
|
|
Loading…
Reference in New Issue