diff options
| author | Aurélien Warnon <awa@odoo.com> | 2018-09-26 11:45:00 +0200 |
|---|---|---|
| committer | Aurélien Warnon <awa@odoo.com> | 2018-09-26 15:08:18 +0200 |
| commit | 326dabce09d634e029e68281694ec695fa665666 (patch) | |
| tree | f7e1e482c7a6ae31adfe9f00527a12079b68eb16 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | ee766ab93343f7920558be3e99cdd693b54d07ee (diff) | |
[IMP] product,(website_)sale: Product configurator naming/cleanup
Targets commit d3530eb07e24278117ab396ecb86a59deecc312d
Purpose
=======
[Follow up AL review]
Code cleanup and some improved models naming for the product configurator feature (see targeted commit).
Mostly changes the "product.attribute" related models.
Updated models:
- "product.product.attribute.value" to "product.template.attribute.value"
- "product.attribute.filter.line" to "product.template.attribute.exclusion"
- "product.attribute.line" to "product.template.attribute.line"
Updated fields:
- [sale_order_line in sale/sale.py] "product_custom_variant_values" to "product_custom_attribute_value_ids"
- [product_template_attribute_value in product/product_attribute.py] excluded_for is now a o2m instead of a m2m
- [product.attribute in sale/product_product.py] "create_variant" field is now a Selection with "no_variant" (old false), "always" (old true), "dynamic" (new value)
- [product in product/product.py] "product_attribute_value_ids" to "product_template_attribute_value_ids"
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
