Custom Module - Currency_ID Dropdown list

Hi all.
I’m creating a new module from studio.
When i create new Currency field, the system create a currency_id field automatically, but the type of this field isn’t ID (like standar module).
I change the type of fields into vardef.php on my custom module folder, and change getCurrencyDropDown because i find some diference from standar module.
Then i run Quick Repair, but cannot see Dropdown list from currency.

First add the field in Studio as “currency” field.

Then you need to go to the vardefs.php for your custom module and add the currency function.

1 Like

Thanks @pstevens !!
Your solution work prefect!!