Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Resource booking

Entity: resource.booking

Compute Method: _compute_combination_id

Inputs Method Outputs
"""Select best combination candidate when changing booking dates."""
for one in self.filtered(lambda x: x.start and x.combination_auto_assign):
            one.combination_id = one._get_best_combination()

Back to entity