[ADD] 14.0 pms housekeeping (#44)

* [IMP] housekeeping first commint

* [ADD] Demo data

* [ADD] Models

* [FIX] demo notes

* [IMP] Housekeeping basics

* [IMP] PMS Housekeeping Task and Rack management

* [FIX] Icons and date parameter

* [ADD] Today tasks kanban

* [ADD] Housekeeping form View

* [ADD] Housekeeping Lost & Found

* [ADD] Precommit and README

Co-authored-by: Darío Lodeiros <dario@commitsun.com>
This commit is contained in:
Oso Tranquilo
2021-03-02 08:57:18 +01:00
committed by GitHub
parent f28cc65dcd
commit 3a992a33e9
22 changed files with 1387 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data noupdate="0">
<!-- Set all task -->
<record model="ir.cron" id="add_all_today_tasks">
<field name="name">Automatic add all today housekeeping tasks</field>
<field name="interval_number">1</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False" />
<field name="state">code</field>
<field name="model_id" ref="model_pms_room" />
<field
name="nextcall"
eval="(DateTime.now() + timedelta(days=1)).strftime('%Y-%m-%d 03:00:00')"
/>
<field name="code">model.add_all_today_tasks()</field>
</record>
</data>
</odoo>