Purchase Sale Lot Intercompany
purchase_sale_lot_intercompany · OCA/multi-company
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Description
In some groups, the lot/serial number is a better product identifier than the product variant (e.g. configurable products with many attributes, or attributes that don't create variants). This identifier must be propagated and enforced on every document: sales, purchases, stock and accounting.
This module propagates the lot/serial number set on an intercompany purchase
order line to the matching sale order line in the supplier company. Thanks to
sale_order_lot_selection and stock_restrict_lot, the supplier company has
to deliver the lot ordered by the buyer.
Lots are shared between companies: the lot of the purchase line is reused (its company is cleared if needed) instead of being duplicated.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.form.inherit | res.config.settings | form | Inherits purchase_sale_inter_company.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
No new fields.
Public methods (0)No public methods.
-
propagated_serial_numberBooleanstring='Lots/Serial Numbers are propagated in this company'
No public methods.
-
propagated_serial_numberBooleanreadonly=Falserelated='company_id.propagated_serial_number'string='Lots/Serial Numbers propagated in sale'
No public methods.