diff options
| author | Anh Thao Pham (pta) <pta@odoo.com> | 2020-11-18 08:45:01 +0000 |
|---|---|---|
| committer | Anh Thao Pham (pta) <pta@odoo.com> | 2020-11-23 07:53:30 +0000 |
| commit | 87ea687169c9a0047b41b11ab143544142c82aae (patch) | |
| tree | afaeda41b7ed5558a3731b3ae213aecfcf228d48 /addons/mail/static/src/components/thread_view | |
| parent | 658d0fa32f35f4c4f9a1828b11fa383d3dad3b46 (diff) | |
[FIX] website_sale: restrict types for displayable extra fields
- Install eCommerce
- Enable debug mode
- Go to Website > Configuration > Websites
- Configure Website by adding a Selection field in "Product Page Extra Fields" (i.e. Product Type)
- Go to Website and from Shop, open a Product
- In Customize menu, enable "Show Extra Fields" options
A KeyError is raised with "selection" key.
By using "selection" widget, the value is processed by SelectionConverter, which tries
to retrieve the text linked to the value by accessing missing "selection" dict in options.
As the feature was originally designed to support "char" and "binary" types, the selection
of extra fields displayable on eCommerce Product page will be restricted to these 2 types.
opw-2378753
closes odoo/odoo#61918
Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view')
0 files changed, 0 insertions, 0 deletions
