project events updated
This commit is contained in:
@@ -267,7 +267,8 @@ class Companies(CrudCollection, SelectAction):
|
||||
token.selected_company.company_uu_id
|
||||
)
|
||||
company_created = cls.find_or_create(**data_dict)
|
||||
RelationshipDutyCompany.find_or_create(
|
||||
company_created.save_and_confirm()
|
||||
company_relationship_created = RelationshipDutyCompany.find_or_create(
|
||||
owner_id=token.selected_company.company_id,
|
||||
duties_id=bulk_duties.id,
|
||||
member_id=company_created.id,
|
||||
@@ -276,6 +277,7 @@ class Companies(CrudCollection, SelectAction):
|
||||
relationship_type="Bulk",
|
||||
show_only=False,
|
||||
)
|
||||
company_relationship_created.save_and_confirm()
|
||||
return company_created
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user