[Vtigercrm-commits] [vtiger development] #7248: Account address are not copying to contact address when adding contact in Account's related list

vtiger development vtiger-tickets at trac.vtiger.com
Wed Dec 28 11:54:51 PST 2011


#7248: Account address are not copying to contact address when adding contact in
Account's related list
------------------------+---------------------------------------------------
 Reporter:  pratim      |        Owner:  developer 
     Type:  defect      |       Status:  new       
 Priority:  unassigned  |    Milestone:  Unassigned
Component:  vtigercrm   |      Version:  5.3.0     
 Severity:  Medium      |   Resolution:            
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by westley):

 Found a temporary fix for this, the file you want to modify is in
 modules/Contacts/EditView.php. You want to add this code right before the
 template call (salesEditView.tpl) is made:


 {{{
 $disp_view = getView($focus->mode);
 if($disp_view == 'edit_view')
 $smarty->assign("BLOCKS",getBlocks($currentModule,$disp_view,$mode,$focus->column_fields));
 else
 {
 $smarty->assign("BASBLOCKS",getBlocks($currentModule,$disp_view,$mode,$focus->column_fields,'BAS'));
 $smarty->assign("ADVBLOCKS",getBlocks($currentModule,$disp_view,$mode,$focus->column_fields,'ADV'));
 }
 }}}

 Interestingly, if you compare the v5.2.1 EditView.php, and v5.3, a lot of
 of code is 'missing' from it. Not sure why...

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7248#comment:1>
vtiger development <http://trac.vtiger.com/>
vtiger CRM



More information about the vtigercrm-commits mailing list