Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.1.0
Category
Purchase Management
Folder size
0.05 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 07:17:49
Authors
Odoo Community Association (OCA), Eficent Business and IT Consulting Services S.L.
Maintainers
Odoo Community Association (OCA), Eficent Business and IT Consulting Services S.L.
Committers
Pedro M. Baeza, GitHub, Jordi Ballester Alomar, ahenriquez, OCA Transbot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_request_procurement_operating_unit
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
procurement_form_view procurement.form.inherit procurement.order form Inherits procurement.procurement_form_view
product_template_form_view_inherit product.template.form.inherit product.template form Inherits stock.view_template_property_form
view_purchase_request_form purchase.request.form purchase.request form Inherits purchase_request.view_purchase_request_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • request_id Many2one → purchase.request
    comodel_name='purchase.request' copy=False ondelete='restrict' string='Latest Purchase Request'
Public methods (3)
  • create_purchase_request(self)
    @api.multi
    Create a purchase request containing procurement order product.
  • is_create_purchase_request_allowed(self)
    @api.multi
    Tell if current procurement order should create a purchase request or not. :return: boolean
  • propagate_cancels(self)
    @api.multi

New fields (1)
  • purchase_request Boolean
    default=False help='Check this box to generate purchase request instead of generating requests for quotation from procurement.' string='Purchase Request'
Public methods (0)

No public methods.

New fields (1)
  • group_id Many2one → procurement.group
    copy=False string='Procurement Group' args: 'procurement.group'
Public methods (2)
  • button_draft(self)
    @api.multi
  • button_rejected(self)
    @api.multi

New fields (0)

No new fields.

Public methods (2)
  • do_cancel(self)
    @api.multi
  • do_uncancel(self)
    @api.multi
    lines related to cancelled procurement remain cancelled.

Loading…

Loading…