[IMP] publication_management: Added a condition for the setting of the partner_id.