Hi all,
how can I remove type field from MASS UPDATE in Account module?
Thanks,
Rafael Menezes.
Hi all,
how can I remove type field from MASS UPDATE in Account module?
Thanks,
Rafael Menezes.
Edit modules/Accounts/vardefs.php and insert 'massupdate' => false in the account_type array.
PHP Code:'account_type' =>
array (
'name' => 'account_type',
'vname' => 'LBL_TYPE',
'type' => 'enum',
'options' => 'account_type_dom',
'len'=>25,
'comment' => 'The account is of this type',
'massupdate' => false,
),
Thanks a lot.
Working perfectly.
Has this changed in version 5? I can't find the account_type field in Accounts\vardefs.php
Edit: I've just done a search of the whole SugarCRM folder and sub-folders and I can't find any files containing the text 'account_type'. Am I missing a file? Has it changed name?
Has anyone here modified the vardefs entry for this field recently (i.e. version 5)?
Last edited by pcg; 2008-09-03 at 10:31 AM.
Hi,
Check this thread from last week - I was having the same issue
http://www.sugarcrm.com/forums/showt...rdefs+accounts
Cheers
Niks
Hi all
Instead of editing the modules/Accounts/vardefs.php create an extended vardefs for Accounts (custom/Extension/modules/Accounts/Ext/Vardefs/vardefs.ext.php)
Redefine only the massupdate attribute for the account_type
After that you need to Rebuild Extension.
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
that's exactly what you said to me in the referenced thread from last week andopes hehe
Thanks for your continuing help, you really are a sugar hero![]()
Thanks nikidinsey and andopes - that worked!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks