Skip to content

The open alternative to Salesforce, designed for AI.

Fix new company creation issue on opportunities

Charles Bochet9df4b475d89b
diff --git a/front/src/modules/companies/components/NewCompanyProgressButton.tsx b/front/src/modules/companies/components/NewCompanyProgressButton.tsx
index 5c632cac065..e48406dafba 100644
--- a/front/src/modules/companies/components/NewCompanyProgressButton.tsx
+++ b/front/src/modules/companies/components/NewCompanyProgressButton.tsx
@@ -38,7 +38,7 @@ export function NewCompanyProgressButton() {
throw new Error('Pipeline stage id is not defined');
}
- createCompanyProgress(company, pipelineStageId);
+ createCompanyProgress(company.id, pipelineStageId);
}
const handleNewClick = useCallback(() => {