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

Module: WMS Accounting

Entity: stock.move

Compute Method: _compute_standard_price

Inputs Method Outputs
  • product_id
  • company_id
for move in self:
            move.standard_price = move.product_id.with_company(move.company_id).standard_price

Back to entity