Repository
OCA/product-variant · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.14 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.akretion.com/
Last tracking update
2026-08-07 07:03:09
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
GitHub, David Beal, OCA Transbot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_product_tree_view product.product tree Inherits product.product_product_tree_view
product_search_form_view product.product form Inherits product.product_search_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    @api.multi
    Attribute Values update impact products: we take care to propagate changes on attribute_str field

New fields (1)
  • attribute_str Char
    compute='_compute_attribute_str' help='Store all attribute values. Required to search variants from attributes' index=True store=True string='Attribute string'
Public methods (3)
  • domain_replacement(self, domain, field, separator)
    convert [expr1, expr2, expr3] in [expr1, expr2a, expr2b, expr3] according to expr => (field, 'ilike', mystring)
  • domain_split(self, value, field, separator)
    convert this string 'first second third' in this list ['&', '&', ('myfield', 'like', 'first'), ('myfield', 'like', 'second'), ('myfield', 'like', 'third')]
  • search(self, cr, uid, domain, offset=0, limit=None, order=None, context=None, count=False)