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.company

Compute Method: _compute_user_purchase_lock_date

Inputs Method Outputs
ignore_exceptions = bool(self.env.context.get('ignore_exceptions', False))
for company in self:
            company.user_purchase_lock_date = company._get_user_lock_date('purchase_lock_date', ignore_exceptions)

Back to entity