Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 43 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.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
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 2 migration notes 4 models 2 views 0 HTTP endpoints

Description

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 2

XML IDNameModelTypeStatus
purchase_requisition_form_view_inherited purchase.requisition.form.inherited purchase.requisition form Inherits purchase_requisition.view_purchase_requisition_form
sale_view_order_form_inherited sale.order.form.inherited. sale.order form Inherits sale.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (3)
  • sale_id Many2one → sale.order
    comodel_name='sale.order' help='Sale order related to this purchase requisition.' string='Sale Order'
  • sale_order_sync_warning Char
    compute='_compute_sale_order_sync_warning' compute_sudo=True
  • sale_user_id Many2one → res.users
    comodel_name='res.users' related='sale_id.user_id' string='Sale Representative'
Public methods (0)

No public methods.

New fields (1)
  • line_order_id Many2one → sale.order.line
    comodel_name='sale.order.line' string='Sale Order Line'
Public methods (1)
  • write(self, values)

New fields (3)
  • open_purchase_requisition_count Integer
    compute='_compute_opened_purchase_requisition_count' help='Number of purchase requisitions in open state' string='Open Purchase Requisitions'
  • purchase_requisition_ids One2many → purchase.requisition
    comodel_name='purchase.requisition' inverse_name='sale_id' string='Purchase requisitions'
  • purchase_requisition_sync_warning Char
    compute='_compute_purchase_requisition_sync_warning' help='Warning message to be displayed when order lines are not synced with purchase requisitions'
Public methods (4)
  • action_cancel(self)
    Cancel the sale order and cancel or close the purchase requisition.
  • action_create_purchase_requisition(self)
  • action_view_purchase_requisitions(self)
    Return action to view purchase requisitions related to this sale order
  • write(self, vals)

New fields (1)
  • purchase_requisition_line_ids One2many → purchase.requisition.line
    comodel_name='purchase.requisition.line' inverse_name='line_order_id' string='Purchase requisition lines'
Public methods (1)
  • unlink(self)
    Delete purchase requisition lines when sale order line is deleted.