diff --git a/hr_period_create_timesheet/README.rst b/hr_period_create_timesheet/README.rst index a63d4cceb5..c63a676501 100644 --- a/hr_period_create_timesheet/README.rst +++ b/hr_period_create_timesheet/README.rst @@ -7,7 +7,7 @@ HR period create timesheet !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:015f8be83c740ccb37b80f8adf1060a8544297cdb5dc50178c394d441a628cd2 + !! source digest: sha256:81e2a29a70c3c038721b45c78c57dfdfcf651eebd84c26efe2d52c5ecf5527c7 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/hr_period_create_timesheet/__manifest__.py b/hr_period_create_timesheet/__manifest__.py index c6b0aba3b6..36c9897700 100644 --- a/hr_period_create_timesheet/__manifest__.py +++ b/hr_period_create_timesheet/__manifest__.py @@ -13,6 +13,7 @@ "license": "AGPL-3", "data": [ "security/ir.model.access.csv", + "data/ir_cron.xml", "wizards/hr_period_create_timesheet_view.xml", ], "installable": True, diff --git a/hr_period_create_timesheet/data/ir_cron.xml b/hr_period_create_timesheet/data/ir_cron.xml new file mode 100644 index 0000000000..4200aeb6a3 --- /dev/null +++ b/hr_period_create_timesheet/data/ir_cron.xml @@ -0,0 +1,14 @@ + + + + Create Timesheets for Future Periods + 1 + weeks + -1 + + model.create_timesheets_on_future_periods() + code + + + + diff --git a/hr_period_create_timesheet/static/description/index.html b/hr_period_create_timesheet/static/description/index.html index c13f4cf470..07589a1361 100644 --- a/hr_period_create_timesheet/static/description/index.html +++ b/hr_period_create_timesheet/static/description/index.html @@ -1,20 +1,20 @@ - + - + HR period create timesheet