Please sign in to comment.
[IMP] base: Add support for private addresses
Purpose ======= Add the possibility to create private addresses, only accessible for a subset of users. Specification ============= - Add a new 'Private' partner type - Add a res.groups in base 'Access to Private Addresses' - Add ir.rules for the following behavior: - Every employees/internal users can read non-private addresses - Only users in group_private_addresses can access private addresses - Add in base a simplified form view for private addresses - A HR Officer is automatically granted in group_private_addresses - Use the simplified form view to open the address_home_id form on employees
- Loading branch information...
Showing with 93 additions and 2 deletions.
- +1 −0 addons/hr/security/hr_security.xml
- +4 −1 addons/hr/views/hr_views.xml
- +2 −1 odoo/addons/base/models/res_partner.py
- +4 −0 odoo/addons/base/models/res_users.py
- +3 −0 odoo/addons/base/security/base_groups.xml
- +31 −0 odoo/addons/base/security/base_security.xml
- +44 −0 odoo/addons/base/views/res_partner_views.xml
- +4 −0 odoo/addons/base/views/res_users_views.xml