Skip to main content

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`).

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_sale_order_payment_terms_from_invoice_address-16.0.1.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_sale_order_payment_terms_from_invoice_address-16.0.1.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6303cd2ddc05f76ecf1e504abda96f674717e66255c116cb8fcbd8349962fae2
MD5 64169ddf2c194d9c5825260a55f61e1d
BLAKE2b-256 a053b1a58cbd2ca8abaaac5b976e66e0daf0223cf6bcef1ec1ef012d402bd259

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page