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

Module: Stock Request kanban

Entity: product.product

Compute Method: _compute_kanban_card_count

Inputs Method Outputs
  • id
for product in self:
            product.kanban_card_count += self.env["stock.request.kanban"].search_count(
                [("product_id", "=", product.id)]
            )

Back to entity