If you are getting this error, "trying to get property of non-object" when trying to finalize a proposal in V2 (either from the proposal stage, or from within the proposal's payment terms slide), first check the V2 Sentry slack channel for the sentry error.
/span>/span>
Within the sentry error, scroll down to the Breadcrumbs section. If you see the error : ThirdPartyError: Sync Error: Trying to get property 'company' of non-object, there is an issue with the Company ID.
/span>
Check the deal type settings in Admin > Deal Type Builder > search for deal type > open by clicking Build
Scroll down to Deal Settings > Company drop down
If there are multiple Companies with the same name, the issue could be that the incorrect company is attached to this deal type.
/span>
Because the drop down box will not indicate which company ID goes with what company name, here is a simple way to check that the correct company is selected.
Go to the company settings of the correct Company, Admin > Company > Search company > General Settings
Add a period (.) to the end of company's name and Update Settings.
/span>
Go back to the deal type builder, refresh and now search for the company name. You will then easily be able to distinguish which is the correct Company that should be selected for this deal type.
/span>
After selecting the correct company and saving the deal type builder, the proposal will now be able to finalize and move on to the next stage.
You will also want to go back into the company settings, Admin > Company > search company> General Settings and remove the period (.) from the company's name.
Related ticket: https://app.hubspot.com/contacts/21589371/record/0-5/2395555691