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_assigned_website_id

View 20.0
Inputs Method Outputs
  • assigned_website_id
  • website_id
+ for order in self:
+             if not order.assigned_website_id:
+                 order.assigned_website_id = order.website_id
  • assigned_website_id

Back to entity