[IMP] commission_simple: allow to restart commission computation on the same period without deleting all commission results

This commit is contained in:
Alexis de Lattre
2025-10-24 14:49:42 +00:00
parent 3a9a97c742
commit faca51f126
3 changed files with 10 additions and 11 deletions

View File

@@ -104,6 +104,7 @@ class CommissionProfileAssignment(models.Model):
'profile_id': self.profile_id.id,
'date_range_id': date_range.id,
'assign_type': self.assign_type,
'assignment_id': self.id,
'company_id': self.company_id.id,
}
return vals