I’m trying to add custom address fields to the grouped address field (billing address) within my Accounts module. I did some research on the internet and theoretically this should be possible by beginning the field name of each custom field with “billing_address”, however according to this post (http://stackoverflow.com/questions/11695599/how-to-add-additional-grouped-address-to-edit-and-detail-view) there’s a bug in the Sugar code and as a result this doesn’t work for custom fields.
I can find very little information about this issue, and about this bug, on the internet and the links mentioned in the stackoverflow post are not working anymore. I tried what’s suggest in that post, to remove the _c part for the fields in the vardefs and in the database but once I do a Repair Sugar keeps complaining that there is a mismatch between the vardefs and the database as somehow there is still a vardef definition of my column with the _c part. I changed the vardef at this location: /var/www/html/sugar_test/custom/Extension/modules/Accounts/Ext/Vardefs
If anyone can tell me how to do this properly that would be much appreciated!
Hi, I’m trying to add a Fax Number field to the Billing Address group. I’ve created the the field through Studio and consequently in ‘custom/Extension/modules/Accounts/Ext/Vardefs’ a file called ‘sugarfield_billing_address_fax_c.php’ is generated.
I’m not sure if this is the right place to remove the _c parts out of the field name but I’ve used the ‘grep’ command in my Linux terminal to search for all the occurrences of the ‘billing_address_fax_c’ field and this is the only non-auto-generated file where I can find this occurrence.
I tried both solutions and the fields are created in both cases (without the _c) part, however they are still not added to the Grouped Address field. In my understanding they should automatically be included in the group based on the “billing_address” key part?