Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 11.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

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 4

XML IDNameModelTypeStatus
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_count Integer
    compute='_compute_stock_request_ids' args: 'Stock Request #'
  • stock_request_ids Many2many → stock.request
    comodel_name='stock.request' compute='_compute_stock_request_ids' string='Stock Requests'
Public methods (1)
  • action_view_stock_request(self)
    :return dict: dictionary value for created view

New fields (1)
  • stock_request_ids Many2many → stock.request
    comodel_name='stock.request' copy=False string='Stock Requests'
Public methods (1)
  • 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_count Integer
    compute='_compute_purchase_ids' readonly=True
  • purchase_ids One2many → purchase.order
    compute='_compute_purchase_ids' readonly=True string='Purchase Orders' args: 'purchase.order'
  • purchase_line_ids Many2many → purchase.order.line
    copy=False readonly=True string='Purchase Order Lines' args: 'purchase.order.line'
Public methods (2)
  • action_cancel(self)
    Propagate the cancellation to the generated purchase orders.
  • action_view_purchase(self)

New fields (3)
  • purchase_count Integer
    compute='_compute_purchase_ids' readonly=True
  • purchase_ids One2many → purchase.order
    compute='_compute_purchase_ids' readonly=True string='Purchase Orders' args: 'purchase.order'
  • purchase_line_ids Many2many → purchase.order.line
    compute='_compute_purchase_ids' copy=False readonly=True string='Purchase Order Lines' args: 'purchase.order.line'
Public methods (1)
  • action_view_purchase(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…