summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2020-08-18 14:15:57 +0000
committerNicolas Lempereur <nle@odoo.com>2020-08-21 16:39:07 +0000
commit97b3d262720da451de5e0f06a2c73f3a1611aa82 (patch)
treef6fd661180987ea05e38f472394269de76634277 /doc/reference/javascript_reference.rst
parentf4ab72925fe3c99045a53a5487f47e8dacb586a1 (diff)
[FIX] hr_timesheet: fallback on employee in report
The report "Timesheet Entries" is added in hr_timesheet. employee_id is added on analytic line (used for timesheet lines) in hr_timesheet also, and on timesheets view, we display employee. But in the report, we display "user_id.partner_id.name" for the responsible, which only works for employee with users. In this commit we fallback on the employee name if he doesn't have an associated res.user (for stability keeping original value by default). opw-2322050 closes #56315 closes odoo/odoo#56330 X-original-commit: c6b8d792f410d049a5a4566718ae1c9bffef7ec0 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions