Purchase Request To Procurement

purchase_request_to_procurement
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/10.0/purchase_request_to_procurement
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSGitHub, Jordi Ballester Alomar, OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITEhttps://www.acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/purchase-workflow:
    - purchase_request
odoo/odoo:
    - procurement
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - stock
    - barcodes
    - web_planner
    - purchase
    - stock_account
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
purchase_request_form_view purchase.request.form (in purchase_request_to_procurement) purchase.request xpath Inherits purchase_request.view_purchase_request_form
purchase_request_line_form_view purchase.request.line.form purchase.request.line xpath Inherits purchase_request.purchase_request_line_form
purchase_request_line_make_procurement_order_form_view purchase.request.line.make.procurement.order.form (in purchase_request_to_procurement) purchase.request.line.make.procurement.order form New
purchase_request_line_tree_view purchase.request.line.tree purchase.request.line xpath Inherits purchase_request.purchase_request_line_tree
purchase_request_search_view purchase.request.search (in purchase_request_to_procurement) purchase.request xpath Inherits purchase_request.view_purchase_request_search
Models touched (3)

New fields (2)
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True states={'draft': [('readonly', False)]} string='Location'
  • warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' readonly=True states={'draft': [('readonly', False)]} string='Warehouse'
Public methods (1)
  • onchange_picking_type_id(self)
    @api.onchange('picking_type_id', 'warehouse_id')
    Fill the warehouse and the location with the defaults of the selected picking type.

New fields (1)
  • procurement_state Selection
    readonly=True related='procurement_id.state' store=True string='Procurement State'
Public methods (0)

No public methods.

New fields (1)
  • purchase_request_line_m2m_ids Many2many → purchase.request.line
    column1='wizard_id' column2='pr_line_id' comodel_name='purchase.request.line' default=_get_default_request_line domain=_get_domain relation='wizard_id_pr_line_id_rel' string='Items'
Public methods (1)
  • make_procurement_order(self)
    @api.multi
    wizard object action to launch the generation of the procurement order
REPOSITORY
REPOSITORYOCA/purchase-workflow
GIT
GIThttps://github.com/OCA/purchase-workflow.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/purchase-workflow/tree/9.0/purchase_request_to_procurement
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSGitHub, Jordi Ballester Alomar, OCA Transbot
WEBSITE
WEBSITEhttps://acsone.eu/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/purchase-workflow:
    - purchase_request
odoo/odoo:
    - procurement
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - stock
    - barcodes
    - web_planner
    - purchase
    - stock_account
    - account
    - analytic
    - web_tip
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
purchase_request_form_view purchase.request.form (in purchase_request_to_procurement) purchase.request xpath Inherits purchase_request.view_purchase_request_form
purchase_request_line_form_view purchase.request.line.form purchase.request.line xpath Inherits purchase_request.purchase_request_line_form
purchase_request_line_make_procurement_order_form_view purchase.request.line.make.procurement.order.form (in purchase_request_to_procurement) purchase.request.line.make.procurement.order form New
purchase_request_line_tree_view purchase.request.line.tree purchase.request.line xpath Inherits purchase_request.purchase_request_line_tree
purchase_request_search_view purchase.request.search (in purchase_request_to_procurement) purchase.request xpath Inherits purchase_request.view_purchase_request_search
Models touched (3)

New fields (2)
  • location_id Many2one → stock.location
    comodel_name='stock.location' readonly=True states={'draft': [('readonly', False)]} string='Location'
  • warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' readonly=True states={'draft': [('readonly', False)]} string='Warehouse'
Public methods (1)
  • onchange_picking_type_id(self)
    @api.onchange('picking_type_id', 'warehouse_id')
    Fill the warehouse and the location with the defaults of the selected picking type.

New fields (2)
  • procurement_state Selection
    readonly=True related='procurement_id.state' store=True string='Procurement State'
  • product_id Many2one
    domain=[]
Public methods (0)

No public methods.

New fields (1)
  • purchase_request_line_m2m_ids Many2many → purchase.request.line
    column1='wizard_id' column2='pr_line_id' comodel_name='purchase.request.line' default=_get_default_request_line domain=_get_domain relation='wizard_id_pr_line_id_rel' string='Items'
Public methods (1)
  • make_procurement_order(self)
    @api.multi
    wizard object action to launch the generation of the procurement order