I've created one 'account_category'
field in account module
. It is dropdown and have following options:
- principle
- customer
- supplier
- manufacturer
I created Account relationship with Opportunity module.
In the Account popup i want to display only those records which have account_category as principle.
My file path : custom/modules/opportunity/metadata/editviewdef.php
1 =>
array (
'name' => 'opportunities_accounts_1_name',
'displayParams' =>
array (
'initial_filter' => '&account_category_c="Principle"',
),
),
But it is not working..
Please help to filter accounts on the basis of account_category_c as principle