BOM Attribute Match Semifinished Products

mrp_bom_attribute_match_semifinished_product
REPOSITORY
REPOSITORYOCA/manufacture
GIT
GIThttps://github.com/OCA/manufacture.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/manufacture/tree/14.0/mrp_bom_attribute_match_semifinished_product
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYManufacturing
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Cetmix, Ooops
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Cetmix, Ooops
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Giovanni, geomer198, Alessio Renda, SoSylwe
WEBSITE
WEBSITEhttps://github.com/OCA/manufacture
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/manufacture:
    - mrp_bom_attribute_match
odoo/odoo:
    - mrp
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
finished_product_structure_wizard finished.product.structure.wizard.form.view finished.product.structure.wizard form New
product_template_form_view_inherit product.template_procurement.inherit.form.view product.template group Inherits stock.product_template_form_view_procurement_button
semi_finished_product_template_line_view_form semi.finished.product.template.line.view.form semi.finished.product.template.line form New
Models touched (4)

New fields (8)
  • attribute_ids Many2many → product.attribute
    comodel_name='product.attribute' domain="[('id', 'in', valid_attribute_ids)]" relation='finished_product_struct_line_attribute_rel' required=True string='Attribute(s)'
  • bom_type Selection
    default='normal' required=True selection=[('normal', 'Manufacture this product'), ('phantom', 'Kit'), ('subcontract', 'Subcontracting')]
  • partner_ids Many2many → res.partner
    comodel_name='res.partner' string='Subcontractor'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template' required=True string='Template product'
  • product_tmpl_stage_id Many2one → product.template
    comodel_name='product.template'
  • stage_name Char
    required=True
  • structure_id Many2one → finished.product.structure.wizard
    args: 'finished.product.structure.wizard'
  • valid_attribute_ids Many2many → product.attribute
    comodel_name='product.attribute' relation='product_attribute_valid_rel'
Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (4)
  • attribute_ids Many2many → product.attribute
    comodel_name='product.attribute' compute='_compute_attribute_ids' store=True
  • finished_product_id Many2one → product.template
    comodel_name='product.template' domain="[('finished_product', '=', True)]" required=True
  • line_ids One2many → finished.product.structure.line
    comodel_name='finished.product.structure.line' inverse_name='structure_id'
  • need_confirmation Boolean
Public methods (2)
  • create_product_struct(self)
  • remove_old_struct(self)

New fields (3)
  • finished_product Boolean
  • semi_finished_mrp_bom_ids Many2many → mrp.bom
    comodel_name='mrp.bom' copy=False string='MRP BoM'
  • semi_finished_product_tmpl_ids One2many → semi.finished.product.template.line
    comodel_name='semi.finished.product.template.line' groups='mrp.group_mrp_user' inverse_name='product_tmpl_id'
Public methods (1)
  • action_finished_product_structure(self)

New fields (5)
  • attribute_ids Many2many → product.attribute
    comodel_name='product.attribute' relation='semi_finished_product_template_line_rel'
  • bom_type Selection
    default='normal' required=True selection=[('normal', 'Manufacture this product'), ('phantom', 'Kit'), ('subcontract', 'Subcontracting')]
  • partner_ids Many2many → res.partner
    comodel_name='res.partner' string='Subcontractors'
  • product_tmpl_id Many2one → product.template
    comodel_name='product.template'
  • semi_finished_product_tmpl_id Many2one → product.template
    comodel_name='product.template' string='Semi-finished Product'
Public methods (0)

No public methods.