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

Feature Idea: Ignore Employees in Employee report #170

Open
ccremer opened this issue Jan 16, 2023 · 0 comments
Open

Feature Idea: Ignore Employees in Employee report #170

ccremer opened this issue Jan 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ccremer
Copy link
Contributor

ccremer commented Jan 16, 2023

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.
@ccremer ccremer added the enhancement New feature or request label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant