[Vtigercrm-commits] [vtiger development] #7686: Quote duplication bug

vtiger development vtiger-tickets at trac.vtiger.com
Thu Apr 18 10:21:24 UTC 2013


#7686: Quote duplication bug
-------------------------+-------------------------------------------------
 Reporter:  joebordes    |      Owner:  developer
     Type:  defect       |     Status:  new
 Priority:  major        |  Milestone:  Unassigned
Component:  vtigercrm    |    Version:  5.4.0
 Severity:  High         |   Keywords:  inventory quote invoice salesorder
                         |  duplicate discount quantity
-------------------------+-------------------------------------------------
 https://discussions.vtiger.com/index.php?p=/discussion/165381/quote-
 duplication-bug

 attached patch seems to fix the problem but I'm not sure that is the
 correct solution, because there seems to be some problem executing the
 setDiscount function in the onChange event.


 {{{
 Index: include/js/Inventory.js
 ===================================================================
 --- include/js/Inventory.js     (revisión: 5105)
 +++ include/js/Inventory.js     (copia de trabajo)
 @@ -747,7 +747,7 @@
         var discount_checks = new Array();

         discount_checks = document.getElementsByName("discount"+curr_row);
 -
 +       calcProductTotal(curr_row);
         if(discount_checks[0].checked == true)
         {
                 document.getElementById("discount_type"+curr_row).value =
 'zero';
 }}}

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7686>
vtiger development <http://trac.vtiger.com/>
vtiger CRM


More information about the vtigercrm-commits mailing list