[FIX] commission_simple: fix filtering on invoice lines

This commit is contained in:
Alexis de Lattre
2025-03-28 15:46:24 +01:00
parent ce7a3a382a
commit 75a3f69508

View File

@@ -76,6 +76,7 @@ class CommissionProfileAssignment(models.Model):
self.ensure_one()
domain = [
('display_type', '=', False),
('exclude_from_invoice_tab', '=', False),
('move_id.move_type', 'in', ('out_invoice', 'out_refund')),
('date', '<=', date_range.date_end),
('company_id', '=', self.company_id.id),