Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Purchase Management
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 07:57:07
Authors
Camptocamp, Odoo Community Association (OCA), Italo Lopes
Maintainers
Camptocamp, Odoo Community Association (OCA), Italo Lopes
Committers
SilvioC2C, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_view_form_inherit purchase.order.view.form.inherit purchase.order form Inherits purchase.purchase_order_form
res_config_settings_view_form_purchase res.config.settings.view.form.inherit.purchase res.config.settings form Inherits base.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (3)
  • category_qty_split_by_uom Boolean
    default=<expr>
  • category_qty_split_by_uom_reference Boolean
    default=<expr>
  • qty_by_product_category_ids One2many → purchase.order.qty.by.product.category
    readonly=True string='Order Qty By Category' args: 'purchase.order.qty.by.product.category', 'purchase_order_id'
Public methods (0)

No public methods.

New fields (1)
  • qty_by_product_category_id Many2one → purchase.order.qty.by.product.category
    compute='_compute_qty_by_product_category_id' store=True string='Order Line Qty By Category' args: 'purchase.order.qty.by.product.category'
Public methods (1)
  • unlink(self)

New fields (7)
  • category_id Many2one → product.category
    ondelete='cascade' required=True args: 'product.category'
  • purchase_line_ids One2many → purchase.order.line
    args: 'purchase.order.line', 'qty_by_product_category_id'
  • purchase_order_id Many2one → purchase.order
    ondelete='cascade' required=True args: 'purchase.order'
  • qty_ordered Float
    compute='_compute_quantities' digits='Product Unit of Measure' store=True
  • qty_received Float
    compute='_compute_quantities' digits='Product Unit of Measure' store=True
  • qty_to_receive Float
    compute='_compute_quantities' digits='Product Unit of Measure' store=True
  • qty_uom_id Many2one → uom.uom
    args: 'uom.uom'
Public methods (0)

No public methods.

New fields (2)
  • po_category_qty_split_by_uom Boolean
  • po_category_qty_split_by_uom_reference Boolean
Public methods (0)

No public methods.

New fields (2)
  • po_category_qty_split_by_uom Boolean
    readonly=False related='company_id.po_category_qty_split_by_uom'
  • po_category_qty_split_by_uom_reference Boolean
    readonly=False related='company_id.po_category_qty_split_by_uom_reference'
Public methods (0)

No public methods.