We are allocating commissions to internal and external Salespeople via an Analytic Plan - one account per salesperson - as explained in https://www.odoo.com/forum/help-1/how-to-calculate-commissions-using-analytic-accounts-257040
Everything is working great - we can adjust the commissions even after validating the Customer Invoice and can use Vendor Bills to pay people.
We would like to only pay out commissions when we have received payment from our Customers.
Is there a way to filter the Analytic Items by the status of the associated Customer Invoice?
Do we need a custom field?