OCA / hr

Odoo Human Resources Addons
GNU Affero General Public License v3.0
219 stars 672 forks source link

[13.0][FIX] hr_employee_document: Remove record rules from hr.employee to avoid side effects #1372

Closed victoralmau closed 5 months ago

victoralmau commented 5 months ago

Backport from 14.0: https://github.com/OCA/hr/pull/1320

Remove record rules from hr.employee to avoid side effects.

Example of use case:

Solution: This change overrides some things to allow the user's employee attachments to be displayed.

Please @pedrobaeza can you review it?

@Tecnativa TT49736

pedrobaeza commented 5 months ago

/ocabot merge major

OCA-git-bot commented 5 months ago

This PR looks fantastic, let's merge it! Prepared branch 13.0-ocabot-merge-pr-1372-by-pedrobaeza-bump-major, awaiting test results.

OCA-git-bot commented 5 months ago

Congratulations, your PR was merged at 72fd297d7d12bb63c485220b872e1fc4fda89a8c. Thanks a lot for contributing to OCA. ❤️