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.account
Compute Method: _compute_code
| Inputs | Method | Outputs |
|---|---|---|
|
+ for record, record_root in zip(self, self.with_company(self.env.company.root_id).sudo()): + # Need to set record.code with `company = self.env.company`, not `self.env.company.root_id` + record.code = record_root.code_store |
|
