Skip to main content

Credit Control Communication Total Due

This module persists the total_due field on credit.control.communication as a stored database column and adds a pre-formatted companion total_due_formatted, so both values are reachable from mail.template QWeb bodies.

The upstream OCA account_credit_control module defines total_due as a non-stored computed field. Because QWeb rendering of stored objects does not recompute non-stored functional fields, the total amount due cannot be embedded directly in credit control follow-up emails. This module overrides the field with store=True (keeping the exact same compute body and @api.depends chain as upstream) and provides a ready-to-render formatted variant.

Usage

To embed the total due in a credit control email template:

<p>The total amount due is: <strong t-out="object.total_due_formatted"/>.</p>

Or the raw value:

<p>Total due: <span t-esc="object.total_due"/></p>

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.

Credits

Author

  • SOMIT

Contributors

  • SOMIT

Maintainer

This module is maintained by the OCA.

Odoo Community Association

Metadata

Release files for odoo-addon-credit-control-communication-total-due 16.0.1.0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoo-addon-credit-control-communication-total-due 16.0.1.0.0.5
File Size Uploaded Provenance
odoo_addon_credit_control_communication_total_due-16.0.1.0.0.5.tar.gz 7.1 kB Without provenance Details

Release files / odoo_addon_credit_control_communication_total_due-16.0.1.0.0.5.tar.gz

Download URL odoo_addon_credit_control_communication_total_due-16.0.1.0.0.5.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
33f2583ade01330db5b1396320c6e51c546033ffa6a5a57ae47b8bbeaa961ae0
BLAKE2b-256 checksum
How to use checksums
501cf366674ff4f940dd5aff626a799dd44de9f7ab34eef7834d29e692674a05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for odoo-addon-credit-control-communication-total-due 16.0.1.0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

16.0.1.0.0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page