Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.1
Category
Purchase Management
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 08:42:59
Authors
Odoo Community Association (OCA), ProThai
Maintainers
prapassornS
Committers
Víctor Martínez, Saran440, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds the following functions:

> - Adds a configurable *type* on the purchase requests.
> - Choose reduce step not to create rfq.
> - This type can be used in filters and groupbys.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
view_purchase_request_form purchase.request form Inherits purchase_request.view_purchase_request_form
view_purchase_request_search purchase.request search Inherits purchase_request.view_purchase_request_search
view_purchase_request_tree purchase.request tree Inherits purchase_request.view_purchase_request_tree
view_purchase_request_type_form purchase.request.type form New
view_purchase_request_type_search purchase.request.type search New
view_purchase_request_type_tree purchase.request.type list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (3)
  • name Char
    default='/' required=True string='Request Reference' tracking=True
  • reduce_step Boolean
    compute='_compute_request_type'
  • request_type Many2one → purchase.request.type
    comodel_name='purchase.request.type' default=<expr> domain="[('company_id', 'in', [False, company_id])]" ondelete='restrict'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • onchange_request_type(self)
    @api.onchange('request_type')

New fields (8)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> string='Company'
  • description Text
    translate=True
  • name Char
    required=True
  • picking_type_id Many2one → stock.picking.type
    check_company=True comodel_name='stock.picking.type'
  • reduce_step Boolean
    default=False
  • sequence Integer
    default=10
  • sequence_id Many2one → ir.sequence
    comodel_name='ir.sequence' copy=False default=<expr> domain=<expr> required=True string='Entry Sequence'
Public methods (0)

No public methods.

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
111 days ago
Last activity
3 days ago
Repository
OCA/purchase-workflow
Pull request
[19.0][MIG] purchase_request_type: Migration to 19.0 (#3047)