Hello,

I am trying to use computed values in extrafields but cannot understand how it works :

example : $object->id in a product extrafield !

i have done some investigations in the code and here is where i am :

there is two places where  ShowOutputField is coded : commonobject.class.php (where the dol_eval is called) and extrafields.class.php (used in product card to display extrafields but not calling dol_eval !).

doeas anyone (@eldy ?) can help me ? (i am on the develop branch).

Best regards

Christophe

_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à