summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorAnh Thao Pham (pta) <pta@odoo.com>2020-08-03 12:45:21 +0000
committerAnh Thao Pham (pta) <pta@odoo.com>2020-08-03 15:19:24 +0000
commit365dc62c939bf81254d131a6cb870baf0014b281 (patch)
tree8d3cdbb61c90dc92c6047cb1e448b099b6bfa3a1 /addons/mail/static/src/models/thread_cache/thread_cache.js
parente106c6af7f5a9daaf94cefb15c09dac186696e22 (diff)
[FIX] purchase/sale_product_matrix: fix sequence of order lines
- Install Sales and Sale Matrix - Go to Sales > Configuration > Settings and activate "Variant Grid Entry" - Go to Products and edit a product with variants (lets call it "Product A"): * For "Sales Variant Selection" in "Variants tab", choose "Order Grid Entry" - Go to Sales > Orders > Quotations and create a quotation * Add any product without Variant Selection set to "Order Grid Entry" * Add "Product A" with 1 attribute * Add any product without Variant Selection set to "Order Grid Entry" - Here there are 3 products in the quotation with "Product A" at the second position - Save the quotation After the save the position of "Product A" is moved to the last position. In a new quotation, every new order line has a sequence set to 10, except for products with Variant Selection set to "Order Grid Entry" that set the sequence to the previous one +1, which will put it in the last position even if another product is added after it. [All of the above steps and explanations can also be applied to Purchase] opw-2303096 closes odoo/odoo#55342 X-original-commit: 17c1caec4fefd089586c62c40ac5a2232eed3dcc Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions