16.0 dev recup #4
@@ -1,15 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
{
|
||||
'name': "hr_usability Elabore",
|
||||
'version': '16.0.1.0.0',
|
||||
'depends': ['base','hr'],
|
||||
'author': "Élabore",
|
||||
'category': 'Human Resources/Employees',
|
||||
'summary' : "In times off type form view, add 'create_calendar_meeting' field",
|
||||
'description': """
|
||||
|
||||
"name": "hr_usability Elabore",
|
||||
"version": "16.0.1.0.0",
|
||||
"depends": [
|
||||
"base",
|
||||
"hr",
|
||||
"hr_holidays",
|
||||
],
|
||||
"author": "Élabore",
|
||||
"category": "Human Resources/Employees",
|
||||
"summary": "In times off type form view, add 'create_calendar_meeting' field",
|
||||
"description": """
|
||||
|
||||
Go to Times off app > "Setings" > "Type time off"
|
||||
Select a type
|
||||
The 'create_calendar_meeting' is check by default
|
||||
@@ -18,11 +21,10 @@
|
||||
One the checkbox is unchecked for a time off type, the next approuved times off (of that type) won't be created as a meeting and won't appear in the calendar
|
||||
|
||||
""",
|
||||
'data': [
|
||||
'views/hr_leave_type_views.xml',
|
||||
"data": [
|
||||
"views/hr_leave_type_views.xml",
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
'application': False,
|
||||
'license': 'LGPL-3',
|
||||
}
|
||||
"demo": [],
|
||||
"application": False,
|
||||
"license": "LGPL-3",
|
||||
}
|
||||
|
45
timesheet_timesheet_analysis_report/README.rst
Normal file
45
timesheet_timesheet_analysis_report/README.rst
Normal file
@@ -0,0 +1,45 @@
|
||||
===================================
|
||||
timesheet_timesheet_analysis_report
|
||||
===================================
|
||||
|
||||
add a timesheet_id relation many2one to timesheet.analysis.report model
|
||||
in order to allow filter by timesheet
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
Use Odoo normal module installation procedure to install
|
||||
``timesheet_timesheet_analysis_report``.
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
||||
None yet.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `our issues website <https://github.com/elabore-coop/timesheet_timesheet_analysis_report/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.
|
||||
|
||||
Credits
|
||||
=======
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
* `Elabore <mailto:laetitia.dacosta@elabore.coop>`
|
||||
|
||||
Funders
|
||||
-------
|
||||
|
||||
The development of this module has been financially supported by:
|
||||
* Elabore (https://elabore.coop)
|
||||
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
This module is maintained by Elabore.
|
1
timesheet_timesheet_analysis_report/__init__.py
Normal file
1
timesheet_timesheet_analysis_report/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import models
|
32
timesheet_timesheet_analysis_report/__manifest__.py
Normal file
32
timesheet_timesheet_analysis_report/__manifest__.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2025 Elabore ()
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
"name": "timesheet_timesheet_analysis_report",
|
||||
"version": "16.0.1.0.0",
|
||||
"author": "Elabore",
|
||||
"website": "https://elabore.coop",
|
||||
"maintainer": "Elabore",
|
||||
"license": "AGPL-3",
|
||||
"category": "HR",
|
||||
"summary": "add a timesheet_id relation to timesheet.analysis.report model",
|
||||
# any module necessary for this one to work correctly
|
||||
"depends": [
|
||||
"base","hr_timesheet",
|
||||
],
|
||||
"qweb": [],
|
||||
"external_dependencies": {
|
||||
"python": [],
|
||||
},
|
||||
# always loaded
|
||||
"data": [],
|
||||
# only loaded in demonstration mode
|
||||
"demo": [],
|
||||
"js": [],
|
||||
"css": [],
|
||||
"installable": True,
|
||||
# Install this module automatically if all dependency have been previously
|
||||
# and independently installed. Used for synergetic or glue modules.
|
||||
"auto_install": False,
|
||||
"application": False,
|
||||
}
|
1
timesheet_timesheet_analysis_report/models/__init__.py
Normal file
1
timesheet_timesheet_analysis_report/models/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from . import timesheet_analysis_report
|
@@ -0,0 +1,12 @@
|
||||
from odoo import fields, models, api
|
||||
|
||||
class TimesheetsAnalysisReport(models.Model):
|
||||
_inherit = "timesheets.analysis.report"
|
||||
|
||||
timesheet_id = fields.Many2one("account.analytic.line", string="Timesheet", readonly=True, help="Feuille de temps")
|
||||
|
||||
@api.model
|
||||
def _select(self):
|
||||
return super()._select() + """,
|
||||
A.id AS timesheet_id
|
||||
"""
|
Reference in New Issue
Block a user