We can do it with a workaround using partner_commissions
Things to consider:
- It is not a as flexible as regular commission plans
- It does not allow for partial commission over partial payments
- This generates commission in full once the payment is completely finished, you can still generate partial payments but the commission won't be registered until invoice is paid in full.
- Download partner_comissions module and incase of not having CRM too
- Go to CRM configurations> select commission plans and create a new one
- Because this isn't the commission module, what we can do is limited, everything here is either on percentages of the total sale or we can do a fixed amount if we select the percentage(tasa) to 100% we activate the limited checkbox and put a max amount of commission, this will result on every time we will get 100% commission that will be topped at the fixed amount we put there, and thus letting us put a fixed amount of commission per sale
- Once we have a commission plan> go to configuration> partner level > and apply the commission plan to a partner level
- Then we go to the contact information of the salesman and on the partner assignment tab we assign them the partner level and thus the commission plan
- Anytime we do a sale for that salesman we put his contact on the referral field and continue as always. A field below the sales order will let us now how much is of commission for our partner or salesman
- Once we do an invoice and the invoice is paid in full, the system will automatically generate a purchase order for the salesman with the concept for the product as commission and the invoice is attached to. If the RFQ isn't confirmed anytime we generate sales for the salesman the commission will be added as extra lines on the same RFQ, so then we can pay all of them together at the closing period date