Landed Costs for company's branches
stock_landed_costs_company · odoo/odoo
Merged into stock_landed_costs in 18.0
Health
41/100
poor
-
Security25/25No findings
-
Activity6/25Last human commit 33 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
1 migration note
1 model
0 views
0 HTTP endpoints
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE stock_landed_cost cost SET company_id = journal.company_id FROM account_journal journal WHERE cost.account_journal_id = journal.id` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module is a patch that stores the company_id field on the landed cost model.
That way, it is possible to create/use landed costs from a branch.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (1)
-
company_idMany2one → res.companydefault=<expr>related=Falserequired=True args: 'res.company', 'Company'
No public methods.