Stock Picking Partner Brand Sync
This module is a glue module between sale_brand and partner_brand.
If the customer has a brand assigned, it will set that brand on the Sales Order. If the customer has no brand, or if the customer is cleared from the SO, the brand on the SO will also be cleared.
Table of contents
Use Cases / Context
This module was developed because it is a common use case for (sub)contractors and other types of businesses to sell products under different brands.
Installation
To install this module, you need to:
Place the sale_brand module in your Odoo addons path.
Install the partner_brand module in Odoo.
It will auto install if all the dependencies are available.
Configuration
Configure Brands on Partners: Navigate to Contacts. Open the customer records for which you want to assign a brand.
On the customer form, locate the “Brand” field (provided by partner_brand) and select the appropriate brand.
Save the changes.
Usage
Automatic Brand Setting
When you are on a Stock Picking form:
Selecting a Customer with a Brand:
If you select a customer in the “Customer” (partner_id) field, and that customer has a brand assigned to them (via the brand_id field on their contact record), the “Brand” field on the Stock picking will automatically be populated with the customer’s brand.
Selecting a Customer without a Brand:
If you select a customer who does not have a brand assigned to them, the “Brand” field on the Stock Picking will be automatically cleared (set to empty/None).
Changing Customer:
If you change the customer on an existing picking, the brand on the picking will update according to the newly selected customer’s brand (or be cleared if the new customer has no brand).
Clearing Customer:
If you clear the “Customer” field on the stock picking (remove the selected customer), the “Brand” field on the stock picking will also be automatically cleared.
This behavior is triggered by an onchange mechanism on the partner_id field of the stock.picking model.
Manual Override The automatic setting of the brand based on the customer is a default behavior. After the brand is automatically populated (or cleared), you can still manually change or set the brand on the Stock Picking directly if needed. The onchange mechanism only triggers when the partner_id field itself is modified.
Known issues / Roadmap
Changelog
18.0.1.0.0 (2025-05-20)
[ADD] First Release of module.
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
Other credits
The development of this module has been financially supported by:
OBS Solutions B.V.
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.
Current maintainer:
This module is part of the OCA/brand 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-stock-picking-partner-brand 18.0.1.0.0.6
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_stock_picking_partner_brand-18.0.1.0.0.6-py3-none-any.whl | Python 3 | none | any | Details for odoo_addon_stock_picking_partner_brand-18.0.1.0.0.6-py3-none-any.whl |
Release files / odoo_addon_stock_picking_partner_brand-18.0.1.0.0.6-py3-none-any.whl
| Download URL | odoo_addon_stock_picking_partner_brand-18.0.1.0.0.6-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e97cf467af71e3b565d9e1f822964bd90332d7eb691e640e88ffb6d1ab36e6ff
|
|
BLAKE2b-256 checksum How to use checksums |
74a307f296d868b206178d78864a9c9b43100654d3d1c708f65611b1e2712bc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for odoo-addon-stock-picking-partner-brand 18.0.1.0.0.6
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.