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

[18.0][MIG] account_invoice_overdue_warn #427

Open
wants to merge 25 commits into
base: 18.0
Choose a base branch
from

Conversation

alexis-via
Copy link
Contributor

Overrides #410
Tests are green. More code improvements.

alexis-via and others added 25 commits February 12, 2025 10:11
This module adds a warning banner on partner form view when the partner
has overdue invoices. See readme for more info.
Sister module account_invoice_overdue_warn_sale adds the same banner on
sale order form view.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: credit-control-14.0/credit-control-14.0-account_invoice_overdue_warn
Translate-URL: https://translation.odoo-community.org/projects/credit-control-14-0/credit-control-14-0-account_invoice_overdue_warn/
Currently translated at 90.0% (9 of 10 strings)

Translation: credit-control-14.0/credit-control-14.0-account_invoice_overdue_warn
Translate-URL: https://translation.odoo-community.org/projects/credit-control-14-0/credit-control-14-0-account_invoice_overdue_warn/pt_BR/
Currently translated at 100.0% (10 of 10 strings)

Translation: credit-control-14.0/credit-control-14.0-account_invoice_overdue_warn
Translate-URL: https://translation.odoo-community.org/projects/credit-control-14-0/credit-control-14-0-account_invoice_overdue_warn/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: credit-control-16.0/credit-control-16.0-account_invoice_overdue_warn
Translate-URL: https://translation.odoo-community.org/projects/credit-control-16-0/credit-control-16-0-account_invoice_overdue_warn/
Currently translated at 100.0% (7 of 7 strings)

Translation: credit-control-16.0/credit-control-16.0-account_invoice_overdue_warn
Translate-URL: https://translation.odoo-community.org/projects/credit-control-16-0/credit-control-16-0-account_invoice_overdue_warn/fr/
Currently translated at 100.0% (7 of 7 strings)

Translation: credit-control-16.0/credit-control-16.0-account_invoice_overdue_warn
Translate-URL: https://translation.odoo-community.org/projects/credit-control-16-0/credit-control-16-0-account_invoice_overdue_warn/it/
Modernize the code:
- switch from read_group to _read_group
- use odoo.Command
- use setUpClass instead of setUp in tests
Improve tests to check that child partners have the same overdue warning
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

Successfully merging this pull request may close these issues.

10 participants