ADD: Constraint on partner_id,retention_id

Merged Santiago Said requested to merge 8.0-ResPartnerRetentionConstrains into 8.0

Merge request reports