sale_commission_salesman
Automatically converts marked salespeople into commission agents on sales orders and invoices when no other agent applies.
Key Features
- res.partner: Adds a checkbox for user-linked partners that turns salespeople into agents and enforces that a commission is configured before enabling it.
- sale.order.line: Automatically assigns the salesperson's partner as commission agent when the customer lacks agents and the partner is flagged for auto-conversion.
- account.move.line: Copies the auto-agent salesperson to outbound invoice lines with products whenever no commission agent is already set.