vt72x Vtiger Field Model->getFieldInfo() irrelevant for owner field
I was trying to create a extended Field model for the Owner type so it didn't display any group information (I only want the Assigned To field to only ever show individual users).
In vtiger Vtiger_Field_Model method getFieldInfo() I find this bit of code: https://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/Vtiger/models/Field.php#L616
Note how it aggregates user and group information for the picklistvalues array.
When I extended the Field Model in my custom module and removed the Group code from the above method, the field was still displaying Group data.
Now look at the template for the owner field: https://code.vtiger.com/vtiger/vtigercrm/blob/master/layouts/v7/modules/Vtiger/uitypes/Owner.tpl#L17
You can see that the template is ignoring the values produced in the Field Model but assigned them directly from the User Model :-(
So for now I will ignore the model and create a customised Owner template in my module but surely this information should really only be controlled in one place -= not two?