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

Module: PMS - Sale

Entity: pms.reservation

Compute Method: _compute_duration

Inputs Method Outputs
for reservation in self.with_context(dont_notify=True):
            reservation.duration = self._get_duration(
                reservation.start, reservation.stop
            )

Back to entity