[Vtigercrm-developers] BUG - Vtiger 6 Beta

salim salimcmd at gmail.com
Thu Aug 29 09:51:12 UTC 2013


Hi Team,
    While we changing something in Inventory modules from DetailView using
Ajax,  it adds Zeros at the end of  *Total,**Sub Total*  and *Pre Tax
Total. *
*
*
For reference. This what happened when i edited Some fields in Detailview.
 You can see it also changes The field that i mentioned.
[image: Inline images 1]

To solve that issue What i have done is :
http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/branches/6.0.0/data/CRMEntity.php#L413

Changed that condition block to :


   1. if ((
   2.         $_REQUEST['file'] == 'DetailViewAjax' && $_REQUEST['ajxaction'
   ] == 'DETAILVIEW' &&isset($_REQUEST["fldName"]) && $_REQUEST["fldName"]
   != $fieldname
   3.         ) ||
   4.         (
   5.         $_REQUEST['action'] == 'MassEditSave' && !isset($_REQUEST[
   $fieldname . "_mass_edit_check"]) ||$_REQUEST['action'] == 'MassEditSave'
   6.         ) || $_REQUEST['action'] == 'SaveAjax'
   7. ) {
   8.     $ajaxSave = true;
   9. }



-- 
Muhammed Abdul Salim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130829/4f7e37da/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sales Order 2013-08-29 15-06-56.png
Type: image/png
Size: 28643 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130829/4f7e37da/attachment-0001.png>


More information about the vtigercrm-developers mailing list