OCA / credit-control

Odoo modules for the customer credit control
GNU Affero General Public License v3.0
74 stars 197 forks source link

[17.0] account_financial_risk: The invoice wizard does not open #396

Closed pausanchezqubiq closed 1 week ago

pausanchezqubiq commented 3 weeks ago

Module

account_financial_risk

Describe the bug

When I try to validate an invoice for a partner with exceeded risk, the wizard that is supposed to warn does not appear. It's confusing because it doesn't confirm the invoice either, so the user can't know what's going on.

To Reproduce

v. 17:

Steps to reproduce the behavior:

  1. Having a customer with exceeded risk (risk_exception = TRUE)
  2. Create an invoice for that customer
  3. Try to confirm that invoice.

Expected behavior When you try to confirm an invoice for a partner with exceeded risk, it should warn a wizard like it happens in sales. image

aaladro-kernet commented 1 week ago

Hello, I am having the same issue

carlosdauden commented 1 week ago

I have tested it and it seems to work as expected: image

It is possible that you have checked the option that prevents this behaviour?: image

aaladro-kernet commented 1 week ago

Yes, is working fine in both the CE and the EE versions. I have something wrong... sorry

aaladro-kernet commented 1 week ago

Ok, I found out that it is not compatible with account_reports EE, the account_reports module does not return the super result of action_post, this causes, that the invoice is not posted and the wizard does not open.

pedrobaeza commented 1 week ago

Then it seems that the enterprise module is the one with the bug. I recommend you to avoid at maximum all the possible enterprise addons.