Skip to content

Commit

Permalink
[MIG] account_invoice_overdue_warn_sale: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger committed Jul 10, 2024
1 parent edd2aed commit 2925630
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion account_invoice_overdue_warn_sale/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ when the invoicing partner has overdue invoices. The banner informs the
user about the number of overdue invoices and the total overdue amount.
It contains a link to see the corresponding overdue invoices.

|image1|
.. figure:: https://raw.githubusercontent.com/OCA/credit-control/17.0/account_invoice_overdue_warn/static/description/sale_order_overdue_invoice_warn.png
:scale: 80 %
:alt: Screenshot of partner form view

This module depends on the module *account_invoice_overdue_warn* which
adds the same banner on the form view of partners.
Expand Down
2 changes: 1 addition & 1 deletion account_invoice_overdue_warn_sale/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "Warning on Overdue Invoices - Sale",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Sales/Sales",
"license": "AGPL-3",
"summary": "Show overdue warning on sale order form view",
Expand Down
2 changes: 1 addition & 1 deletion account_invoice_overdue_warn_sale/views/sale_order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class="alert alert-warning"
role="alert"
groups="account.group_account_invoice,account.group_account_readonly"
attrs="{'invisible': [('overdue_invoice_count', '=', 0)]}"
invisible="overdue_invoice_count == 0"
>
The invoicing partner <field
name="commercial_partner_invoicing_id"
Expand Down

0 comments on commit 2925630

Please sign in to comment.