Skip to main content

HR Employee Address Improved

Project description

License: AGPL-3

HR Employee Address Improved

When the HR modules are enabled and we have 1 employee for each users, some parts of the UI become confusing because we have several partners for the same person:

  1. res.user inherits from res.partner, and fields such as the email are stored in there
  2. hr.employee has address_id and address_home_id. The first one refers to the work address (presumably the partner related to the company of the address of an office of the company, so not a problem) but the other one is the home address and if used it will probably be linked to a partner with the same name as the employee.

Assumption: we would like to exclude home addresses from the list of available partners in m2o and m2m fields.

Note

when this module is installed a post init hook will set all partners related via `address_home_id` as inactive.

Installation

To install this module, you need to:

  • clone the branch 10.0 of the repository https://github.com/OCA/hr
  • add the path to this repository in your configuration (addons-path)
  • update the module list
  • search for “HR Employee Address Improved” in your addons
  • install the module

Configuration

No extra configuration needed.

Bug Tracker

Bugs are tracked on GitHub 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

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
odoo10_addon_hr_employee_address_improved-10.0.1.0.0-py2-none-any.whl (18.7 kB) Copy SHA256 hash SHA256 Wheel py2 Sep 13, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page