我在自定义模块中;在editview中。
感谢https://stackoverflow.com/questions/41063014/populating-a-field-when-choosing-a-relate-field-suite-crm#=,当用户从相关字段中选择产品时,我会自动填充aos_products模块中的某些字段:
editviewsdefs.php
............
array (
'name' => 'codice_prodotto','studio' => 'visible','label' => 'LBL_CODICE_PRODOTTO','displayParams' =>
array (
'field_to_name_array' =>
array (
'id' => 'aos_products_id_c','name' => 'codice_prodotto','description' => 'descrizione_c','price' => 'prezzo_c',),......................
但是如何获得与该产品相关的类别? 在产品表中,我有ID,但名称在另一个表中...
非常感谢您。