Skip to content
Snippets Groups Projects
Commit 25b8aeb9 authored by Humberto Arocha's avatar Humberto Arocha Committed by Luis González
Browse files

[FIX] account: Traceback when setting payment amount to 0


As `_compute_journal_domain_and_types` method is defined in an abstract model
and `has_invoices` method is defined in account.payment model, there is a case
where strangely `_compute_journal_domain_and_types` is called in the
abstract.register.payment itself and, since the model does not have that
method, an AttributeError is raised.

closes odoo/odoo#32847

Signed-off-by: default avatarQuentin De Paoli (qdp) <qdp@openerp.com>
parent 1b35294d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment