Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Github Connector - Odoo
Entity: odoo.module.version
Compute Method: _compute_license_id
| Inputs | Method | Outputs |
|---|---|---|
|
- license_obj = self.env["odoo.license"] - for version in self: - if version.license: - version.license_id = license_obj.create_if_not_exist(version.license).id |
|
