Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Invoicing
Entity: account.report.expression
Compute Method: _compute_model_id
| Inputs | Method | Outputs |
|---|---|---|
|
+ for expression in self: + if expression.engine == "reference" and expression.formula: + expression.model_id = self.env["ir.model"].search([("model", "=", expression.formula)], limit=1) + else: + expression.model_id = False |
|
