Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.1
Category
Purchase Management
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 07:47:41
Authors
Odoo Community Association (OCA), Cetmix, Ooops
Maintainers
Odoo Community Association (OCA), Cetmix, Ooops
Committers
Weblate, OCA-git-bot, oca-ci, George Smirnov, Alessandro Uffreduzzi
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
purchase_vendor_bill_breakdown
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_supplierinfo_component_form_view product.supplierinfo.component.form.view product.supplierinfo form New
product_supplierinfo_tree_view3 product.spplierinfo.inherit.tree.view product.supplierinfo tree Inherits purchase.product_supplierinfo_tree_view2
view_partner_property_form res.partner.purchase.form.inherit res.partner form Inherits purchase.view_partner_property_form
view_product_supplier_inherit product.template.supplier.form.inherit product.template form Inherits purchase.view_product_supplier_inherit
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (4)
  • component_ids One2many → product.supplierinfo.component
    comodel_name='product.supplierinfo.component' inverse_name='supplierinfo_id'
  • partner_use_components Boolean
    related='name.use_product_components'
  • product_use_components Boolean
    related='product_tmpl_id.use_product_components'
  • product_variant_ids One2many
    related='product_tmpl_id.product_variant_ids'
Public methods (2)
  • action_open_component_view(self)
    Open product components view
  • check_component_ids(self)
    @api.constrains('component_ids')
    Checking a component for uniqueness

New fields (7)
  • component_id Many2one → product.product
    comodel_name='product.product' domain="[('id', 'not in', parent_product_ids)]" required=True string='Component'
  • component_uom_category_id Many2one
    related='component_id.uom_id.category_id'
  • parent_product_ids One2many
    related='supplierinfo_id.product_variant_ids'
  • partner_id Many2one
    related='supplierinfo_id.name'
  • product_uom_id Many2one → uom.uom
    comodel_name='uom.uom' domain=[('category_id', '=', component_uom_category_id)] required=True string='Unit of Measure'
  • product_uom_qty Float
    default=1.0 required=True string='Qty per Unit'
  • supplierinfo_id Many2one → product.supplierinfo
    comodel_name='product.supplierinfo' string='Supplier Info'
Public methods (1)
  • onchange_component_id(self)
    @api.onchange('component_id')
    Set default value on component onchange

New fields (1)
  • use_product_components Boolean
Public methods (0)

No public methods.

New fields (1)
  • use_product_components Boolean
Public methods (0)

No public methods.