[WIP] Checkin Workflow

This commit is contained in:
Dario Lodeiros
2019-01-25 11:55:00 +01:00
parent d161179968
commit 4e7e893e79
12 changed files with 227 additions and 33 deletions

View File

@@ -256,9 +256,8 @@ var HotelCalendarView = AbstractRenderer.extend({
model = 'hotel.reservation';
title = _t('Reservations');
} else if (type === 'checkin') {
model = 'hotel.reservation';
model = 'hotel.checkin.partner';
title = _t('Checkins');
domain.splice(0, 0, ['checkin', '=', moment().format(HotelConstants.ODOO_DATETIME_MOMENT_FORMAT)]);
} else if (type === 'invoice') {
model = 'sale.order';
title = _t('Invoices');