[Vtigercrm-developers] Company details

Adam Heinz amh at metricwise.net
Wed Nov 7 07:01:30 PST 2012


On Tue, Nov 6, 2012 at 1:02 PM, Pabiszczak, Błażej
<b.pabiszczak at opensaas.pl> wrote:
> Can you add new fields in company details? At least one field is required:
> VAT ID (tax id?), all company need this field to any pdf file. This is a
> natural place for this field.

We did something like this in the past.
1. Added a column to vtiger_organizationdetails
2. Modified the add and update SQL (add2db.php)
3. Modified the detail/edit view templates (CompanyInfo.tpl,
EditCompanyInfo.tpl)

That said, there's no general purpose way to add fields to the
organization table in 5.4.0.  The best long term option is probably to
convert it to a full on module so that you get to use vtiger_fields,
etc.



More information about the vtigercrm-developers mailing list