Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 10.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.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 4 views 0 HTTP endpoints

Description

This module allows you to block the approval of an RFQ when an Approval Block Reason has been provided. Upon confirmation of an RFQ the orders will be waiting for approval by a Manager.

Dependencies

Odoo dependencies
OCA/purchase-workflow:
OCA/server-tools:
odoo/odoo:
- web
- bus
- uom
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_approval_block_reason_form_view purchase.approval.block.reason.form purchase.approval.block.reason form New
purchase_approval_block_reason_tree_view purchase.approval.block.reason.tree purchase.approval.block.reason list New
purchase_order_form purchase.order.form.block.reason purchase.order form Inherits purchase.purchase_order_form
view_purchase_order_filter request.quotation.select.block.reason purchase.order Inherits purchase.view_purchase_order_filter

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (3)
  • active Boolean
    default=True
  • description Text
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_confirm(self)

New fields (2)
  • approval_block_id Many2one → purchase.approval.block.reason
    comodel_name='purchase.approval.block.reason' string='Approval Block Reason'
  • approval_blocked Boolean
    compute='_compute_approval_blocked'
Public methods (4)
  • button_approve(self, force=False)
  • button_release_approval_block(self)
  • create(self, mvals)
    @api.model_create_multi
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…