Website Sale Variant Extra Field
website_sale_variant_extra_fields · OCA/e-commerce
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
The standard Product Page Extra Fields configuration lets a website manager pick product fields to display on the shop product page. It only supports char and binary fields on the product template, and the displayed value is read once when the page loads, so it never updates when the customer switches variants.
This module removes both limitations:
- product variant fields can be selected, in addition to product template fields;
- more field types are supported: multi-line text, numbers, dates, datetimes, dropdown (selection) values and linked records, in addition to char and binary fields;
- when a variant field is selected, its value refreshes live on the product
page as soon as the customer picks a different combination of attributes.
- decimal numbers are displayed with the number of decimals configured for the selected field.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
ecom_show_extra_fields |
ecom_show_extra_fields | ir.ui.view | qweb | Inherits website_sale.ecom_show_extra_fields |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
field_idMany2onedomain=[('model_id.model', 'in', EXTRA_FIELD_MODELS), ('ttype', 'in', EXTRA_FIELD_TTYPES)] -
is_variant_fieldBooleancompute='_compute_is_variant_field'
No public methods.
Loading…