sale_confirm_group
This module allows configuring a list of groups per-company who are granted permission to confirm sale orders.
Key Features
- sales: Hides the confirm button in sale order views for users not in the allowed groups
- sales: Raises an error when users outside the allowed groups attempt to confirm a sale order
- res.company: Adds a boolean field to enable sale confirmation group restrictions
- res.company: Adds a many-to-many field to select groups allowed to confirm sale orders
- sale.order: Computes a field indicating if the current user can confirm the sale order
- sale.order: Overrides the confirm action to enforce group permissions
- sale.order: Overrides view rendering to conditionally hide the confirm button