feat(catalog_calculate): refs #8408 new concept availabled #3425

Merged
pako merged 11 commits from 8408-Disponible-por-zonas-y-horas into dev 2025-02-10 06:47:02 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 17749b0ced - Show all commits

View File

@ -29,9 +29,9 @@ describe('entry_isEditable trigger', () => {
}); });
async function prepareEntry(isBooked, typeFk) { async function prepareEntry(isBooked, typeFk) {
let newCreated = Date.vnNew(); const companyFk = 69;
await entry.updateAttributes({isBooked, typeFk}, options); await entry.updateAttributes({isBooked, typeFk}, options);
await entry.updateAttributes({dated: newCreated}, options); await entry.updateAttributes({companyFk}, options);
} }
it('should throw an error when entry is booked and typeFk is null', async() => { it('should throw an error when entry is booked and typeFk is null', async() => {