Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
[IMP] improve message if there is incorrect export to ebp setting
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Sep 26, 2016
1 parent 0cb5d7d commit 738bb1b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions account_export_ebp/wizard/wizard_ebp.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,11 @@ def normalize(text):
raise osv.except_osv(
_('Incorrect Setting'),
_("The account %s - %s is set 'export with tax"
" suffix' but no tax suffix is defined for"
" the account.\n Move %s" % (
line.account_id.code, line.account_id.name,
line.move_id.name)))
" suffix' but no tax suffix is defined for"
" the account.\n Move %s" % (
line.account_id.code,
line.account_id.name,
line.move_id.name)))
else:
account_nb = account_nb +\
line.account_id.ebp_code_no_tax
Expand Down

0 comments on commit 738bb1b

Please sign in to comment.