[Vtigercrm-developers] Displaytype 4

Alan Lord alanslists at gmail.com
Fri Jun 12 11:46:11 GMT 2020


I'm migrating a customer's system from vtiger 5.4 to vtiger 7.x.


They have some custom modules. One of these modules uses a UIType 10 
field in several inventory modules to create the relationship. This 
UItype 10 field is set to displaytype 4. This means it is only editable 
when a new record is being created.

In vtiger 7 - the field is not being displayed at all... In any view.

Looking at the Vtiger_Field_Model or the Users_Field_Model it appears as 
though displaytype 4 fields are hidden/not-editable everywhere.

What I want is a UIType 10 field that is _visible_ all the time but 
never editable after the first time a new record has been saved.

What is the best approach here? I'm thinking I need to make a 
Field_Model and a custom UIType in my custom module? Or maybe another 
approach would be better?

Cheers

Al





More information about the vtigercrm-developers mailing list