Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Feature Idea: Ignore Employees in Employee report #170

@ccremer

Description

@ccremer

Currently, every Employee with a @vshn.ch email address is listed in the employee report (provided that there is a day within the contract dates).
However, currently it also includes employees that are part of VSHN, but don't use Odoo to record attendances, e.g. people working full-time in Canada office or are legally contractors.

In those cases, the employee report will show a warning that generating reports fails for those employees.
This warning can be removed by filtering the list of employees accordingly.

The problem is, to correctly determine the criteria to exclude them from the list. In Odoo, atm the list of Employees aren't consistently managed. The most logical field is "Office location" field, but for most employees this field is empty, some is set to "1. OG" (probably historically) and 1-2 have set it to "Canada".

So, in order to implement this feature we need:

  1. Cleanup the "Office location" field across all employees in Odoo, use it consistently. For example, on use values like Zurich, Vancouver, or Contractor. If empty, resort to Zurich.
  2. The Odoo query that gets the list of employees should be adjusted so that only people originally working from the Zurich office are listed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions