purchase_security
This module enhances purchase order security by introducing user groups that restrict visibility of purchase orders and related records based on user roles and team memberships.
Key Features
- purchase.order: Restricts visibility to orders assigned to the user or unassigned orders for users in the 'own orders' group.
- purchase.order: Restricts visibility to orders where the user is a member of the assigned team for users in the 'team orders' group.
- purchase.order: Allows managers to view all purchase orders.
- purchase.order.line: Applies similar visibility restrictions as purchase orders.
- res.partner: Restricts visibility of partners based on user groups and team memberships.
- purchase.team: Introduces purchase teams to group users for order visibility.
- purchase.order: Automatically assigns purchase representative and team based on partner information.
- purchase.order: Controls editability of the purchase representative field based on user groups.