Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
2.0.3
Category
Product
Folder size
0.36 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 07:47:36
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Sébastien BEAU, Weblate, OCA Transbot, OCA-git-bot, oca-travis, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
product_supplierinfo_for_customer_group, product_supplierinfo_group_intercompany
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
assets_backend product supplierinfo group assets ir.ui.view qweb Inherits web.assets_backend
product_template_tree_view product.template tree Inherits product.product_template_form_view
supplierinfo_group_view_form supplierinfo_group_view_form product.supplierinfo.group form New
supplierinfo_group_view_tree supplierinfo_group_view_tree product.supplierinfo.group tree New
table_price_note table_price_note ir.ui.view qweb New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (8)
  • company_id Many2one
    related='group_id.company_id' store=True
  • group_id Many2one → product.supplierinfo.group
    ondelete='cascade' required=True args: 'product.supplierinfo.group'
  • name Many2one
    related='group_id.partner_id' required=False store=True
  • product_code Char
    related='group_id.product_code' store=True
  • product_id Many2one
    related='group_id.product_id' store=True
  • product_name Char
    related='group_id.product_name' store=True
  • product_tmpl_id Many2one
    related='group_id.product_tmpl_id' store=True
  • sequence Integer
    related='group_id.sequence' store=True
Public methods (1)
  • create(self, list_vals)
    @api.model_create_multi

New fields (10)
  • company_id Many2one → res.company
    default=<expr> index=1 args: 'res.company', 'Company'
  • has_multiple_variants Boolean
    compute='_compute_has_variants'
  • partner_id Many2one → res.partner
    help='Vendor of this product' ondelete='cascade' required=True args: 'res.partner', 'Vendor'
  • product_code Char
    help="This vendor's product code will be used when printing a request for quotation. Keep empty to use the internal one." args: 'Vendor Product Code'
  • product_id Many2one → product.product
    help='If not set, the vendor price will apply to all variants of this product.' args: 'product.product', 'Product Variant'
  • product_name Char
    help="This vendor's product name will be used when printing a request for quotation. Keep empty to use the internal one." args: 'Vendor Product Name'
  • product_tmpl_id Many2one → product.template
    ondelete='cascade' required=True args: 'product.template'
  • sequence Integer
    default=1 help='Assigns the priority to the list of product vendor.' args: 'Sequence'
  • supplierinfo_ids One2many → product.supplierinfo
    args: 'product.supplierinfo', 'group_id'
  • unit_price_note Html
    compute='_compute_unit_price_note' string='Unit Prices (Min. Qty / Price)'
Public methods (0)

No public methods.

New fields (1)
  • supplierinfo_group_ids One2many → product.supplierinfo.group
    args: 'product.supplierinfo.group', 'product_tmpl_id'
Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
260 days ago
Last activity
86 days ago
Repository
OCA/product-attribute
Pull request
[18.0] [MIG] product_supplierinfo_group (#2151)