Sale Partner Sale Contact - Website Sale
This module is the glue between Sale Partner Sale Contact and the eCommerce (website_sale).
When a portal user who is a contact person of a company places an order on the website, the order is created with the contact person as customer (partner_id). The auto-switch logic of Sale Partner Sale Contact is implemented as an onchange and therefore never runs for website orders.
This module applies the switch when the website order is confirmed:
partner_id is replaced by the commercial partner (the company);
the contact person who placed the order is stored in the Sale Contact field (sale_contact_partner_id);
the invoice and delivery addresses chosen during checkout, the fiscal position and the payment terms are preserved.
The switch is deliberately not applied while the order is still a cart: website_sale resets the cart customer to the logged-in user’s partner on every request and looks up abandoned carts by that partner, so an earlier switch would be reverted and would break cart recovery.
Table of contents
Usage
No specific configuration is needed; the module is installed automatically when both Sale Partner Sale Contact and eCommerce are installed.
As a portal user that is a contact person of a company, place an order on the website and complete the checkout.
Once the order is confirmed, open it in the backend: the Customer is the company and the Sale Contact is the person who placed the 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
Contributors
Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
Maintainers
This module is maintained by the OCA.
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.
Metadata
Release files for odoo-addon-sale-partner-sale-contact-website-sale 19.0.1.0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo_addon_sale_partner_sale_contact_website_sale-19.0.1.0.0.2-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_sale_partner_sale_contact_website_sale-19.0.1.0.0.2-py3-none-any.whl |
Release files / odoo_addon_sale_partner_sale_contact_website_sale-19.0.1.0.0.2-py3-none-any.whl
| Download URL | odoo_addon_sale_partner_sale_contact_website_sale-19.0.1.0.0.2-py3-none-any.whl |
|---|---|
| Size | 27.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c310fd458b9829a8c2ef750e46065cb41ad764cac3f43b1597c84a2bea64333d
|
|
BLAKE2b-256 checksum How to use checksums |
590fba92a31d531fc2acc2d4d9c86051024693d863a6dcc791874a4321d44a07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for odoo-addon-sale-partner-sale-contact-website-sale 19.0.1.0.0.2
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.