What it does
This bridge module connects the Freight Sale module (viin_freight_sale) with the LCL Consolidation module (viin_freight_consol).
A master consolidation shipment never carries its own sale order - its house shipments do. Without this bridge, the master's profitability panel and the Shipment Profitability report undercount its revenue: the panel shows 0 revenue even after every house has been invoiced and paid.
When both parent modules are installed, this module automatically activates and rolls up each house shipment's revenue and cost lines onto its master, so the master's profitability panel and report reflect the true consolidated P&L.
Key Features
Master shipment profitability roll-up
- Revenue lines from every house shipment's sale order(s) are added to the master's own revenue.
- Cost lines from every house shipment's analytic account are added to the master's own cost.
- On-behalf (disbursement) lines stay excluded from profit, exactly as they are for a direct shipment - no new on-behalf logic is introduced.
- Currency conversion follows the existing per-line conversion path - every rolled-up line is converted to the master's own currency, the same way a direct shipment's lines already are.
Shipment Profitability report - Shipment Role dimension
- Adds a Shipment Role (Direct / Master / House) group-by dimension to the report's search view, so cost and revenue can be analyzed by role without changing any existing total.
- Opening Profitability from a consolidation master's kanban card shows the whole cluster's combined result (the master plus every readable house) instead of the master's own single, cost-only row - the same total the profitability panel already reports for that master. Every other shipment keeps opening its own single row exactly as before.
Benefits
- Accurate consol P&L: the master shipment's panel and report show the shipment's real consolidated revenue and cost instead of an artificial 0.
- Zero configuration: auto-installs when both parent modules are present; no manual setup required.
- No double-counting: house revenue/cost is only ever rolled up onto its own master; direct shipments and house shipments keep reporting their own figures unchanged.
Supported Editions
- Community Edition
- Enterprise Edition
This software and associated files (the "Software") may only be
used
(executed, modified, executed after modifications) if you have
purchased a
valid license from the authors, typically via Odoo Apps,
or if you
have
received a written agreement from the authors of the
Software (see the
COPYRIGHT file).
You may develop Odoo modules that use the Software as a library
(typically
by depending on it, importing it and using its
resources), but
without
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
license
is compatible with the terms of
the Odoo Proprietary License (For
example:
LGPL, MIT, or proprietary
licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell
copies of the
Software or modified copies of the Software.
The above copyright notice and this permission notice must be
included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
SHALL THE
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE
SOFTWARE.