Is there anything being done to fix needing to add to Quotes/record/record.php for related_products?
Answer:
Currently, the only way to add fields to quotes now is to include them in the related_fields array in record.php. We're exploring possibilities to make this better in the future.
Can you please provide example code to use a parser to update the related_fields? It's a lot of work to update N instances of SugarCRM where one has to download the record.php for Quotes, create a custom version, and upload it via module loader.
Can you please provide example code to use a parser to update the related_fields? It's a lot of work to update N instances of SugarCRM where one has to download the record.php for Quotes, create a custom version, and upload it via module loader.
From talking with a few of the engineers, there is not a simple way to do this customization. One option for you is to investigate how to use SidecarListLayoutMetaDataParser with a custom action/endpoint. upgrade/scripts/post/7_ConvertPopupListView.php has some sample usage.