Stock Ownership Availability Rules
stock_ownership_availability_rules · OCA/stock-logistics-workflow
Health
63/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 94 months ago
-
Required by20/252 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
2 migration notes
3 models
5 views
0 HTTP endpoints
Migration considerations
Product— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE stock_quant SET owner_id = res_company.partner_id FROM res_company WHERE owner_id IS NULL AND stock_quant.company_id = res_company.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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
quant_search_view |
quant_search_view | stock.quant | search | Inherits stock.quant_search_view |
view_move_form |
view_move_form | stock.move | form | Inherits stock.view_move_form |
view_move_picking_form |
view_move_picking_form | stock.move | form | Inherits stock.view_move_picking_form |
view_move_search |
view_move_search | stock.move | search | Inherits stock.view_move_search |
view_move_tree |
view_move_picking_tree | stock.move | tree | Inherits stock.view_move_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
action_open_quants(self)@api.multi
New fields (0)
No new fields.
Public methods (1)-
create(self, vals)@api.modelSet the owner based on the location. This is not a default method because we need to know the location.
New fields (1)
-
owner_idMany2one → res.partnerhelp='This is the owner of the quant'index=Truereadonly=Truerequired=True args: 'res.partner', 'Owner'
-
create(self, vals)@api.modelSet the owner based on the location. This is not a default method because we need to know the location.
Loading…
Loading…