Repository
OCA/product-variant · module folder · Try on Runboat
Module version
1.0.0
Category
Product Management
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-08-07 07:17:49
Authors
Akretion, Odoo Community Association (OCA), Tecnativa
Maintainers
Akretion, Odoo Community Association (OCA), Tecnativa
Committers
Pedro M. Baeza, GitHub, Weblate, OCA Transbot, oca-travis, Mourad Elhadj Mimoune
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
connector_prestashop
Description

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_normal_form_view_sellers product.product.form.sellers product.product form Inherits product.product_variant_easy_edit_view
product_supplierinfo_form_view product.supplierinfo form Inherits product.product_supplierinfo_form_view
product_supplierinfo_tree_view product.supplierinfo tree Inherits product.product_supplierinfo_tree_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • seller_delay Integer
    help='This is the average delay in days between the purchase order confirmation and the receipts for this product and for the default supplier. It is used by the scheduler to order requests based on reordering delays.' related='seller_ids.delay' string='Supplier Lead Time'
  • seller_id Many2one
    help='Main Supplier who has highest priority in Supplier List.' related='seller_ids.name' relation='res.partner' string='Main Supplier'
  • seller_ids Many2many → product.supplierinfo
    compute='_compute_seller_ids' args: 'product.supplierinfo'
  • seller_qty Float
    help='This is minimum quantity to purchase from Main Supplier.' related='seller_ids.min_qty' string='Supplier Min Quantity'
  • tmpl_seller_ids Many2many → product.supplierinfo
    compute='_compute_seller_ids' args: 'product.supplierinfo'
  • variant_seller_ids One2many → product.supplierinfo
    args: 'product.supplierinfo', 'product_id'
Public methods (0)

No public methods.

New fields (1)
  • product_id Many2one → product.product
    comodel_name='product.product' help='When this field is filled in, the vendor data will onlyapply to the variant.' string='Product variant'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi

Loading…

Loading…