Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: eCommerce

Entity: sale.order

Compute Method: _compute_website_order_line

Inputs Method Outputs
  • order_line
for order in self:
            order.website_order_line = order.order_line.filtered(lambda l: l._show_in_cart())

Back to entity