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: res.config.settings

Compute Method: _compute_account_default_credit_limit

Inputs Method Outputs
ResPartner = self.env['res.partner']
company_limit = ResPartner._fields['credit_limit'].get_company_dependent_fallback(ResPartner)
self.account_default_credit_limit = company_limit

Back to entity