summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorSylvain GARANCHER <sylvain.garancher@syleam.fr>2017-08-03 17:56:20 +0200
committerGoffin Simon <sig@odoo.com>2017-08-09 09:13:50 +0200
commitc29ac80c11098162adab640407d737c04bad1adf (patch)
tree95133a7d6ad1d1987b930a5d4454256a18f1191e /addons/web/static/src/js/views/basic/basic_controller.js
parent10f6e145ddc501be0b6a051f7ede168fcaa3141b (diff)
[FIX] product: Avoid browsing on product.product when using product.template
Steps to reproduce the bug: On an empty database, install the sale module -Activate product variants : Sales > Settings > Check Products can have several attributes, defining variants (Example: size, color,...) -Activate advanced pricelists : Sales > Settings > Check Advanced pricing based on formulas (discounts, margins, rounding) -Activate the developer mode -Go to the product.templates list : Sales > Products -Go to the debug menu > Edit TreeView and add the price field in the view -Go to the debug menu > Edit Action and add the value 'uom': 1 in the context field -Search for a pricelist : Type the name of an existing pricelist, then go to the pricelists proposal, open the list of proposed pricelists, and select the pricelist Bug: The wrong value was sometimes displayed in the price field. To be more exact, the displayed value for each product.template was the price of the product.product that has the same id. If a product.template has an id which doesn't exist in the product_product table, this product disapears from the list. opw:762663
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions