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).
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:
- Customer (``partner_id``): The final recipient of the goods (the
end-user).
- 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).
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”

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

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.