Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l10n_br_account_payment_boleto: No meaningful error message when partner address isn't complete #44

Open
rvalyi opened this issue Jun 5, 2017 · 0 comments

Comments

@rvalyi
Copy link
Member

rvalyi commented Jun 5, 2017

When the partner street number or street name are void you get tracebacks such as

File` "/workspace/parts/odoo-brazil-banking/l10n_br_account_payment_boleto/boleto/document.py", line 120, in _sacado
    self.boleto.sacado_endereco = partner.street + ', ' + partner.number
TypeError: coercing to Unicode: need string or buffer, bool found

A message for the user would be better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant