mirror of
https://github.com/bringout/oca-workflow-process.git
synced 2026-04-18 20:52:01 +02:00
Initial commit: OCA Workflow Process packages (456 packages)
This commit is contained in:
commit
d366e42934
18799 changed files with 1284507 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
from . import project_report
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright 2024 Tecnativa - Carlos López
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ReportProjectTaskUser(models.Model):
|
||||
_inherit = "report.project.task.user"
|
||||
|
||||
planned_date_start = fields.Datetime(readonly=True)
|
||||
planned_date_end = fields.Datetime(readonly=True)
|
||||
|
||||
def _select(self):
|
||||
return (
|
||||
super()._select()
|
||||
+ """,
|
||||
t.planned_date_start,
|
||||
t.planned_date_end"""
|
||||
)
|
||||
|
||||
def _group_by(self):
|
||||
return (
|
||||
super()._group_by()
|
||||
+ """,
|
||||
t.planned_date_start,
|
||||
t.planned_date_end
|
||||
"""
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue