[FIX] website_sale: do not offer reordering for delivery lines
X-original-commit: 79014398c0655ed0c10b85ed3eaa498a5c63bef4 Part-of: odoo/odoo#126151
This commit is contained in:
@@ -1831,6 +1831,8 @@ class CustomerPortal(sale_portal.CustomerPortal):
|
||||
for line in sale_order.order_line:
|
||||
if line.display_type:
|
||||
continue
|
||||
if line._is_delivery():
|
||||
continue
|
||||
res = {
|
||||
'product_template_id': line.product_id.product_tmpl_id.id,
|
||||
'product_id': line.product_id.id,
|
||||
|
||||
Reference in New Issue
Block a user