OCA / credit-control

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

[IMP] partner_risk_insurance: improve UX #362

Closed yajo closed 9 months ago

yajo commented 9 months ago

In Odoo 16, upstream has already a credit_limit field in res.partner. That field is coupled with a checkbox named use_partner_credit_limit, which means "this partner doesn't use the default credit limit; it has a specific credit limit".

Those fields were only available to users of groups account.group_account_invoice and account.group_account_readonly, within the Invoicing tab in res.partner form.

image

Still there's an extra hidden show_credit_limit field which toggles this feature completely. It depends on wether the current company has credit limits enabled.

This module was migrated from previous versions that had none of these features. The result is that, probably by that inertia, UX ended up becoming inconsistent.

Improvements done:

Still, a good extra enhancement would be to move all this stuff to the Invoicing tab. But that can be done later after some more investigation.

@moduon MT-4827

rafaelbn commented 9 months ago

Hello @carlosdauden ,

We are trying to improve UX.

Your point of view is really welcome!

Thanks

yajo commented 9 months ago

I pushed a fix to account_credit_control that should fix the builds.

yajo commented 9 months ago

All relabeling suggestions applied.

yajo commented 9 months ago

Can someone merge please?

OCA-git-bot commented 9 months ago

Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-362-by-rafaelbn-bump-major, awaiting test results.

OCA-git-bot commented 9 months ago

Congratulations, your PR was merged at 9ca038dc060de029aff72430c0757830fd08ed45. Thanks a lot for contributing to OCA. ❤️