Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] hr_timesheet_sheet: Migration to 15.0 #484

Closed
wants to merge 166 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
d476ccf
[11.0][MIG] hr_timesheet_sheet (#125)
MiquelRForgeFlow Jun 18, 2018
15b9cf2
[UPD] Update hr_timesheet_sheet.pot
oca-travis Jun 18, 2018
90edc0d
Translated using Weblate (Japanese)
yostashiro Jun 19, 2018
455b5b3
Translated using Weblate (Português (Brasil))
Jun 20, 2018
e6f262f
[11.0][hr_timesheet_sheet]: allow to display more than 40 cells
JordiBForgeFlow Jul 26, 2018
44840b5
hr_timesheet_sheet: add menu 'Timesheet Sheets to Approve'
JordiBForgeFlow Jul 30, 2018
a544a22
[UPD] Update hr_timesheet_sheet.pot
oca-travis Jul 31, 2018
15fc1a9
hr_timesheet_sheet: pass selected project context to task creation
JordiBForgeFlow Aug 2, 2018
bb0cf93
[11.0][IMP] hr_timesheet_sheet: ease extensions (#131)
astirpe Sep 11, 2018
58974e1
[UPD] Update hr_timesheet_sheet.pot
oca-travis Sep 11, 2018
fe94218
Fix task domain and default project_id
astirpe Sep 20, 2018
cacc3c6
Bump version
astirpe Sep 20, 2018
088accb
[IMP] hr_timesheet_sheet ux
astirpe Sep 20, 2018
a7cd73f
Code review
astirpe Sep 20, 2018
ad92b39
Update contributors list
astirpe Sep 20, 2018
aab3e5e
[UPD] Update hr_timesheet_sheet.pot
oca-travis Sep 20, 2018
3484a86
[FIX] hr_timesheet_sheet: "Refuse" button name (#134)
astirpe Oct 1, 2018
a955b0f
[UPD] Update hr_timesheet_sheet.pot
oca-travis Oct 1, 2018
248656e
[11.0][IMP] hr_timesheet_sheet: merge hr_timesheet_sheet_week_start_d…
LoisRForgeFlow Oct 17, 2018
e1b43e6
[UPD] Update hr_timesheet_sheet.pot
oca-travis Oct 18, 2018
ed4ff04
restrict selection of projects to those that have 'allow_timsheets' set
JordiBForgeFlow Nov 5, 2018
b8816df
[MIG] hr_timesheet_sheet: Migration to 12.0
alexey-pelykh Nov 9, 2018
465e31d
Update translation files
oca-transbot Dec 9, 2018
041b90f
[FIX] hr_timesheet_sheet: Don't fail tests on Sunday
pedrobaeza Dec 9, 2018
6a3b099
[IMP] hr_timesheet_sheet: more extendability & cleanup
alexey-pelykh Dec 11, 2018
63debc4
[FIX] Fix related fields in hr_timesheet_sheet
AdriaGForgeFlow Dec 18, 2018
a32b76c
[FIX] hr_timesheet_sheet: who approves timesheets should be the manager
MiquelRForgeFlow Dec 17, 2018
5ff73ce
[FIX]hr_timesheet_sheet : fix singleton error in _compute_line_ids
bizzappdev Dec 27, 2018
e4a3223
Update translation files
oca-transbot Dec 29, 2018
26d632b
[FIX] timesheet sheet lines inconsistency
astirpe Jan 17, 2019
a19d5c0
[FIX] hr_timesheet_sheet: unlink only generated AAL
alexey-pelykh Feb 15, 2019
dd82c9b
[IMP] hr_timesheet_sheet: texts & formatting
alexey-pelykh Feb 15, 2019
2f4a1cb
[FIX] hr_timesheet_sheet: sheet_id when modifying the timesheet
astirpe Feb 26, 2019
3791a2d
[IMP] hr_timesheet_sheet: protect specific list of fields
alexey-pelykh Feb 26, 2019
7094ac0
Update translation files
oca-transbot Mar 3, 2019
a5a5735
[FIX] Avoid cleaning when set to draft
MiquelRForgeFlow Feb 28, 2019
381ca90
[IMP] Make a constant for the '/' name for empty lines
MiquelRForgeFlow Feb 27, 2019
f32709c
[FIX] Correctly handle partial amounts of timesheets
MiquelRForgeFlow Feb 18, 2019
3c5bc38
[IMP] Rename method / parameters to a better descriptive name
MiquelRForgeFlow Feb 18, 2019
12f681d
hr_timesheet_sheet: version bump
alexey-pelykh Mar 5, 2019
9c967d7
[FIX] Wrong decorator
astirpe Mar 8, 2019
9c40c63
Update translation files
oca-transbot Mar 17, 2019
834161f
Translated using Weblate (Dutch)
Mar 23, 2019
b7e88dd
[IMP] hr_timesheet_sheet: fix amount calculation issues + code simpli…
astirpe Mar 25, 2019
3940091
[FIX] Add lines of other employees
astirpe Mar 28, 2019
c377bbe
[FIX] hr_timesheet_sheet: sheet name
alexey-pelykh Mar 26, 2019
6d55810
[12.0][FIX] hr_timesheet_sheet: subscribe user when confirm (#227)
astirpe Apr 3, 2019
e9b664e
[FIX] Allow timesheet sheet when employee's company is not set
astirpe Mar 27, 2019
d0e81d8
[UPD] Update hr_timesheet_sheet.pot
oca-travis Apr 8, 2019
e4ace45
[ADD] Constraint company_id in timesheet sheet line
astirpe Mar 25, 2019
1da42b8
[ADD] company_id in blacklist of timesheet sheet line
astirpe Mar 25, 2019
d713680
[REM] Obsolete constraint
astirpe Mar 25, 2019
77d6f44
[FIX] Consistency of company on projects and employees
astirpe Mar 28, 2019
85af539
[IMP] hr_timesheet_sheet: Clearer interface
tarteo Apr 25, 2019
257161d
[FIX] hr_timesheet_sheet: tests
alexey-pelykh May 1, 2019
2b9d017
[UPD] README.rst
OCA-git-bot May 2, 2019
87764d9
[FIX] hr_timesheet_sheet: consistency with v11
alexey-pelykh May 2, 2019
280988e
[FIX]hr_timesheet_sheet : unit amount will display in formate hr:minute
bizzappdev Feb 18, 2019
da465c2
[FIX] Don't create analytic lines in onchange
MiquelRForgeFlow Apr 11, 2019
d1275ca
[FIX] Tests
MiquelRForgeFlow Apr 11, 2019
4b278ef
Update translation files
oca-transbot May 20, 2019
41dab1a
[IMP] hr_timesheet_sheet: more hooks
alexey-pelykh Jul 1, 2019
534a02b
Translated using Weblate (German)
marylla Jul 10, 2019
f140cc6
Update translation files
oca-transbot Jul 20, 2019
ec01436
Translated using Weblate (German)
marylla Jul 31, 2019
ffeadbb
[FIX] Expected singleton
astirpe Jul 12, 2019
73a12eb
[12.0][FIX] Do not remove lines when removing the timesheet sheet
astirpe Jul 30, 2019
847d685
Translated using Weblate (German)
marylla Aug 8, 2019
07d25ac
Translated using Weblate (Portuguese (Brazil))
britoederr Oct 10, 2019
b21db37
Update translation files
oca-transbot Oct 11, 2019
20761a5
[IMP] hr_timesheet_sheet: review policy
alexey-pelykh May 21, 2019
f0844d0
Update translation files
oca-transbot Nov 5, 2019
b136ba2
[FIX] hr_timesheet_sheet: remove non-existent models
alexey-pelykh Nov 5, 2019
75d358e
Update translation files
oca-transbot Nov 5, 2019
db5dcb3
[IMP] hr_timesheet_sheet: error details
alexey-pelykh Nov 7, 2019
e7a1d05
Update translation files
oca-transbot Nov 8, 2019
11cc80e
[ADD] hr_timesheet_sheet: policies
alexey-pelykh Nov 12, 2019
f1fadf0
Update translation files
oca-transbot Nov 19, 2019
5832ecb
Translated using Weblate (Spanish)
chienandalu Nov 26, 2019
ccd0504
Translated using Weblate (Italian)
primes2h Nov 29, 2019
edad4ba
Translated using Weblate (German)
marylla Dec 9, 2019
e757255
[IMP] hr_timesheet_sheet: allow employee to review own non-submitted …
alexey-pelykh Dec 4, 2019
d2dbd6f
Translated using Weblate (German)
marylla Dec 10, 2019
627b0e6
[FIX] hr_timesheet_sheet_policy*: admin always reviewer
astirpe Dec 23, 2019
9a4cf4d
Update translation files
oca-transbot Dec 24, 2019
f1b4666
[FIX] hr_timesheet_sheet: don't store possible_reviewer_ids
alexey-pelykh Dec 23, 2019
6dba602
Update translation files
oca-transbot Dec 24, 2019
79b34e4
[FIX] Clean/merge timesheets when in draft only
astirpe Jan 29, 2020
77061e0
Update translation files
oca-transbot Jan 29, 2020
2f3d1af
[FIX] hr_timesheet_sheet: same week in different years is still same
alexey-pelykh Jan 31, 2020
20b1351
Update translation files
oca-transbot Jan 31, 2020
b6da558
[FIX] hr_timesheet_sheet: use unique IDs in line generation
alexey-pelykh Dec 28, 2019
7749fda
Update translation files
oca-transbot Feb 4, 2020
ceb8c3e
Translated using Weblate (Spanish)
pedrobaeza Feb 6, 2020
4a2ca4a
[IMP] hr_timesheet_sheet: hooks
alexey-pelykh Feb 6, 2020
31e6829
[IMP] hr_timesheet_sheet: add id to allow modules add options
alexey-pelykh Feb 11, 2020
d3bb62f
hr_timesheet_sheet: fix FR translation that trigger a crash
alexis-via Feb 11, 2020
5f99c06
[IMP] hr_timesheet_sheet: add kanban view
alexey-pelykh Feb 12, 2020
bf13517
Translated using Weblate (Italian)
Feb 13, 2020
91e08f2
Update translation files
oca-transbot Feb 13, 2020
c07bd2c
[IMP] hr_timesheet_sheet: _get_subscribers hook
alexey-pelykh Feb 14, 2020
427b837
[FIX] hr_timesheet_sheet: lost kanban mode
alexey-pelykh Feb 14, 2020
a5ce8ac
Translated using Weblate (Dutch)
Apr 3, 2020
c3aaa59
[FIX] hr_timesheet_sheet: drop fuzzy+python-format translations
alexey-pelykh Apr 3, 2020
8e33005
[IMP] : black, isort
Mar 2, 2020
cda3786
[MIG] hr_timesheet_sheet: Migration to 13.0
Mar 2, 2020
b05bd13
[IMP] hr_timesheet_sheet: black, isort, prettier
MiquelRForgeFlow Apr 6, 2020
0bc5b24
[MIG] hr_timesheet_sheet: Migration to 13.0 (complete)
MiquelRForgeFlow Apr 3, 2020
9c2b978
[UPD] Update hr_timesheet_sheet.pot
oca-travis Apr 7, 2020
42c3a34
[UPD] README.rst
OCA-git-bot Apr 7, 2020
733f1e8
Update translation files
oca-transbot Apr 12, 2020
96dd84a
[FIX] hr_timesheet_sheet: openupgrade
alexey-pelykh Apr 12, 2020
c83eb48
[FIX] failing tests, linting
May 22, 2020
802edc9
hr_timesheet_sheet 13.0.1.0.1
OCA-git-bot May 23, 2020
5222b30
Update translation files
oca-transbot Aug 16, 2020
e778eac
[UPD] Update hr_timesheet_sheet.pot
oca-travis Sep 29, 2020
106464c
Update translation files
oca-transbot Sep 29, 2020
bb39023
Translated using Weblate (French)
pedrobaeza Oct 14, 2020
66256ff
[FIX] hr_timesheet_sheet WARNING DB odoo.osv.expression: The domain …
vishalaktiv Oct 20, 2020
6d7e62e
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
7c66016
[UPD] README.rst
OCA-git-bot Nov 8, 2020
31612ac
[FIX] hr_timesheet_sheet: Add review policies for other groups
pedrobaeza Aug 18, 2020
2272c43
[UPD] Update hr_timesheet_sheet.pot
oca-travis Nov 30, 2020
bd79c49
hr_timesheet_sheet 13.0.1.1.0
OCA-git-bot Nov 30, 2020
e1d753a
Update translation files
oca-transbot Nov 30, 2020
319c2ba
[UPD] Update hr_timesheet_sheet.pot
oca-travis Nov 30, 2020
8b9bd21
[FIX] Typo
ypapouin Dec 14, 2020
d9790d0
[UPD] Update hr_timesheet_sheet.pot
oca-travis Jan 7, 2021
dd9e4cb
hr_timesheet_sheet 13.0.1.1.1
OCA-git-bot Jan 7, 2021
e6c384e
Update translation files
oca-transbot Jan 7, 2021
e70900d
Translated using Weblate (Dutch)
tarteo Feb 11, 2021
c9a9e6f
[IMP] hr_timesheet_sheet: black, isort, prettier
schhatbar-initos Mar 9, 2021
2ced43a
[14.0][MIG]hr_timesheet_sheet
schhatbar-initos Mar 9, 2021
bb834f6
[UPD] Update hr_timesheet_sheet.pot
oca-travis Mar 31, 2021
1de3a11
[UPD] README.rst
OCA-git-bot Mar 31, 2021
9c877ea
Added translation using Weblate (French (France))
Yvesldff Apr 10, 2021
eba56dd
Translated using Weblate (French (France))
Yvesldff Apr 10, 2021
8091924
Translated using Weblate (French (France))
Yvesldff Apr 11, 2021
bb5eb22
Translated using Weblate (German)
OSevangelist May 5, 2021
387485e
Translated using Weblate (French)
Yvesldff May 14, 2021
e69da9e
[UPD] Update hr_timesheet_sheet.pot
oca-travis Jul 1, 2021
9809f3d
Update translation files
oca-transbot Jul 1, 2021
28a4cd4
[14.0] [FIX] hr_timesheet_sheet Week %s translation
innovara Jul 21, 2021
1ee2b85
hr_timesheet_sheet 14.0.1.0.1
OCA-git-bot Jul 21, 2021
8676a5c
[UPD] Update hr_timesheet_sheet.pot
oca-travis Oct 11, 2021
f07dc3c
Update translation files
oca-transbot Oct 11, 2021
1df4a8b
[IMP] hr_timesheet_sheet: Screenshot added for quick understanding
tarbib Oct 11, 2021
02667cd
[UPD] README.rst
OCA-git-bot Oct 14, 2021
5507ef3
hr_timesheet_sheet 14.0.1.0.2
OCA-git-bot Oct 14, 2021
c19d384
Translated using Weblate (Swedish)
simonstromb Nov 15, 2021
f98a32c
Translated using Weblate (Swedish)
simonstromb Nov 16, 2021
3216578
Translated using Weblate (Swedish)
simonstromb Nov 22, 2021
4037e88
Translated using Weblate (Swedish)
simonstromb Nov 23, 2021
81d35c0
Translated using Weblate (Swedish)
simonstromb Nov 30, 2021
7e3e70b
Translated using Weblate (Swedish)
simonstromb Nov 30, 2021
440e3fd
Translated using Weblate (Dutch)
bosd Feb 1, 2022
bdfc197
Translated using Weblate (Dutch)
bosd Feb 8, 2022
a119700
Do not merge invoiced timesheet lines
Oct 13, 2021
7c448a7
Do not try to remove invoiced lines
Jun 15, 2021
f8bbb08
hr_timesheet_sheet 14.0.1.0.3
OCA-git-bot Mar 11, 2022
503a7e2
hr_timesheet_sheet 14.0.1.0.4
OCA-git-bot Mar 19, 2022
163aa4d
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 31, 2022
80eeb08
[FIX] hr_timesheet_sheet: Add sale_timesheet dependency (timesheet_in…
victoralmau Apr 12, 2022
fc50f59
hr_timesheet_sheet 14.0.1.1.0
OCA-git-bot Apr 13, 2022
15bd663
[IMP] hr_timesheet_sheet: black, isort, prettier
Apr 22, 2022
601a6c9
[MIG] hr_timesheet_sheet: Migration to 15.0
Apr 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 128 additions & 0 deletions hr_timesheet_sheet/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
==================
HR Timesheet Sheet
==================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github
:target: https://github.com/OCA/timesheet/tree/14.0/hr_timesheet_sheet
:alt: OCA/timesheet
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/timesheet-14-0/timesheet-14-0-hr_timesheet_sheet
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/117/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module supplies a new screen enabling you to manage your work encoding
(timesheet) by period. Timesheet entries are made by employees each day. At the
end of the defined period, employees submit their validated sheet and the
reviewer must then approve submitted entries. Periods are defined in the
company forms and you can set them to run monthly, weekly or daily. By default,
policy is configured to have HR Officers as reviewers.

**Table of contents**

.. contents::
:local:

Installation
============

This module relies on:

* The OCA module '2D matrix for x2many fields', and can be downloaded from
Github: https://github.com/OCA/web/tree/11.0/web_widget_x2many_2d_matrix

Configuration
=============

If you want other default ranges different from weekly, you need to go:

* In the menu `Configuration` -> `Settings` -> **Timesheet Options**,
and select in **Timesheet Sheet Range** the default range you want.
* When you have a weekly range you can also specify the **Week Start Day**.

To change who reviews submitted sheets, go to *Configuration > Settings > Timesheet Options*
and configure **Timesheet Sheet Review Policy** accordingly.

For adding more review policies, look at the *hr_timesheet_sheet_policy_xxx*
extra modules.

Usage
=====

If you modify the `Details` tab, automatically the `Summary` tab is updated.
But if you modify the `Summary` tab, you need to save in order to have the `Details` tab updated.

In case you modify the unit amount of both tabs, the `Details` tab will prevail.
If you modify the `Summary` tab, and you need to do a change in the `Details` tab, please save before.

Known issues / Roadmap
======================

* The timesheet grid is limited to display a max. of 1M cells, due to a
limitation of the tree view limit parameter not being able to dynamically
set a limit. Since default value of odoo, 40 records is too small, we decided
to set 1M, which should be good enough in the majority of scenarios.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/timesheet/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/timesheet/issues/new?body=module:%20hr_timesheet_sheet%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* ForgeFlow
* Onestein
* CorporateHub

Contributors
~~~~~~~~~~~~

* Miquel Raïch <miquel.raich@forgeflow.com>
* Andrea Stirpe <a.stirpe@onestein.nl>
* Lois Rilo <lois.rilo@forgeflow.com>
* `CorporateHub <https://corporatehub.eu/>`__

* Alexey Pelykh <alexey.pelykh@corphub.eu>

* Dennis Sluijk <d.sluijk@onestein.nl>
* Sunanda Chhatbar <sunanda.chhatbar@initos.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/timesheet <https://github.com/OCA/timesheet/tree/14.0/hr_timesheet_sheet>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions hr_timesheet_sheet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
35 changes: 35 additions & 0 deletions hr_timesheet_sheet/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2018 ForgeFlow (https://www.forgeflow.com)
# Copyright 2018-2019 Brainbean Apps (https://brainbeanapps.com)
# Copyright 2018-2019 Onestein (<https://www.onestein.eu>)
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "HR Timesheet Sheet",
"version": "15.0.1.0.0",
"category": "Human Resources",
"sequence": 80,
"summary": "Timesheet Sheets, Activities",
"license": "AGPL-3",
"author": "ForgeFlow, Onestein, CorporateHub, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/timesheet",
"installable": True,
"auto_install": False,
"depends": ["hr_timesheet", "sale_timesheet", "web_widget_x2many_2d_matrix"],
"data": [
"data/hr_timesheet_sheet_data.xml",
"security/ir.model.access.csv",
"security/hr_timesheet_sheet_security.xml",
"views/hr_timesheet_sheet_views.xml",
"views/hr_department_views.xml",
"views/hr_employee_views.xml",
"views/account_analytic_line_views.xml",
"views/res_config_settings_views.xml",
],
'assets': {
'web.assets_backend': [
'/hr_timesheet_sheet/static/src/js/backend.js',
'/hr_timesheet_sheet/static/src/scss/backend.scss'
Comment on lines +31 to +32
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be an issue after all.

Suggested change
'/hr_timesheet_sheet/static/src/js/backend.js',
'/hr_timesheet_sheet/static/src/scss/backend.scss'
'hr_timesheet_sheet/static/src/js/backend.js',
'hr_timesheet_sheet/static/src/scss/backend.scss'

]
}
}
19 changes: 19 additions & 0 deletions hr_timesheet_sheet/data/hr_timesheet_sheet_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<odoo>
<!-- Timesheet sheet related subtypes for messaging / Chatter -->
<record id="mt_timesheet_confirmed" model="mail.message.subtype">
<field name="name">Waiting Review</field>
<field name="res_model">hr_timesheet.sheet</field>
<field name="default" eval="True" />
<field name="description">Waiting review</field>
</record>
<record id="mt_timesheet_approved" model="mail.message.subtype">
<field name="name">Approved</field>
<field name="res_model">hr_timesheet.sheet</field>
<field name="default" eval="True" />
<field name="description">Approved</field>
</record>
</odoo>
Loading