Skip to main content
Odoo Community Association

Sale Order Payment Terms From Invoice Address

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

Adds a config option to make the payment terms on sale orders computed based on the “invoice address” (partner_invoice_id) instead of the “customer” (partner_id).

Table of contents

Use Cases / Context

Take the example of a business that relies on a primary logistics model where we fulfill orders placed through an external e-commerce platform or third-party reseller.

In this scenario:

  1. Customer (``partner_id``): The final recipient of the goods (the end-user).

  2. Invoice Address (``partner_invoice_id``): The external e-commerce platform/reseller responsible for payment.

The default Odoo behavior calculates the payment_term_id on the Sale Order based on the Customer (``partner_id``). This is incorrect because our financial relationship is strictly with the reseller (the Invoice Address).

Configuration

To configure this module, you need to:

  • Go to Settings > Sales > Quotations & Orders

  • Activate boolean “Compute Sale Order Payment Terms from Invoice Address” > save

Usage

This module does not impact the user interface.

To use this module, you need to:

  • Go to Settings > Sales > Quotations & Orders

Check the setting “Compute Sale Order Payment Terms from Invoice Address”

setting image

  • In Sale Orders, the “Payment Terms” field is now based on the “Invoice address” and not on “Customer”

payment terms computation in sale order

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • ACSONE SA/NV

Contributors

Other credits

The development of this module has been financially supported by:

  • Acsone SA/NV

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/sale-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-sale-order-payment-terms-from-invoice-address 18.0.1.0.0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-sale-order-payment-terms-from-invoice-address 18.0.1.0.0.1
File Interpreter ABI Platform
odoo_addon_sale_order_payment_terms_from_invoice_address-18.0.1.0.0.1-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_sale_order_payment_terms_from_invoice_address-18.0.1.0.0.1-py3-none-any.whl

Download URL odoo_addon_sale_order_payment_terms_from_invoice_address-18.0.1.0.0.1-py3-none-any.whl
Size 294.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
188f1174219dbfe3b4be005a5350e232439e8e28bfb819ec409f291cb9f9a9fe
BLAKE2b-256 checksum
How to use checksums
9c2d1532b030fe9b99dd0a182943b351eca5f45d5e8f898f11790cda083b389e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.0.1 This release

1 release file

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