Stock Request Purchase
stock_request_purchase · OCA/stock-logistics-request
OCA/stock-logistics-warehouse 11.0–15.0 → OCA/stock-logistics-request 16.0–19.0
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.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.09 MB
Module directory on disk
Code analysis
0 migration notes
5 models
4 views
0 HTTP endpoints
Description
This module allows for users to be able to display purchase orders that have been created as a consequence of Stock Requests.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
purchase_order_form |
purchase.order.form | purchase.order | form | Inherits purchase.purchase_order_form |
purchase_order_line_form2 |
purchase.order.line.form2 | purchase.order.line | Inherits purchase.purchase_order_line_form2 | |
stock_request_order_form |
stock.request.order.form | stock.request.order | form | Inherits stock_request.stock_request_order_form |
view_stock_request_form |
stock.request.form | stock.request | form | Inherits stock_request.view_stock_request_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (2)
-
stock_request_countIntegercompute='_compute_stock_request_ids' args: 'Stock Request #' -
stock_request_idsMany2many → stock.requestcomodel_name='stock.request'compute='_compute_stock_request_ids'string='Stock Requests'
-
action_view_stock_request(self):return dict: dictionary value for created view
New fields (1)
-
stock_request_idsMany2many → stock.requestcomodel_name='stock.request'copy=Falsestring='Stock Requests'
-
unlink(self)Cancel the stock.request related to the purchase order line because it does not occur automatically and causes inconsistency by keeping the SR state as 'In Progress' (open).
New fields (3)
-
purchase_countIntegercompute='_compute_purchase_ids'readonly=True -
purchase_idsOne2many → purchase.ordercompute='_compute_purchase_ids'readonly=Truestring='Purchase Orders' args: 'purchase.order' -
purchase_line_idsMany2many → purchase.order.linecopy=Falsereadonly=Truestring='Purchase Order Lines' args: 'purchase.order.line'
-
action_cancel(self)Propagate the cancellation to the generated purchase orders. -
action_view_purchase(self)
New fields (3)
-
purchase_countIntegercompute='_compute_purchase_ids'readonly=True -
purchase_idsOne2many → purchase.ordercompute='_compute_purchase_ids'readonly=Truestring='Purchase Orders' args: 'purchase.order' -
purchase_line_idsMany2many → purchase.order.linecompute='_compute_purchase_ids'copy=Falsereadonly=Truestring='Purchase Order Lines' args: 'purchase.order.line'
-
action_view_purchase(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…