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

User-Employee relationship missing constraints #446

Open
eilst opened this issue May 14, 2019 · 0 comments
Open

User-Employee relationship missing constraints #446

eilst opened this issue May 14, 2019 · 0 comments

Comments

@eilst
Copy link
Contributor

eilst commented May 14, 2019

Is your feature request related to a problem? Please describe.

There are at least two behaviors of the system that depend on the following missing constraint: Each hr.employee must have one res.user (required). And one res.user can only have one hr.employee.

  1. At least one record rule has this missing constraint as a dependency. (a traceback will be generated if not respected)
  2. In [ADD] Add check double bookable partners #395, each hr.employee is expected to have a res.partner.since it has this related field: related='user_id.partner_id.allow_double_book',

Describe the solution you'd like
Each hr.employee must have one res.user (required). And one res.user can only have one hr.employee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants