#idempiere IRC log for Monday, 2015-09-07

*** Not-8b5f has quit IRC02:58
*** xapiens has quit IRC04:09
*** nmicoud has joined #idempiere06:47
*** a42niem has joined #idempiere08:37
*** herdem has joined #idempiere12:19
*** herdem has quit IRC12:33
*** nmicoud has left #idempiere15:05
*** a42niem has quit IRC16:15
*** a42niem has joined #idempiere16:20
*** Not-c9fd has joined #idempiere17:52
Not-c9fd[IDEMPIERE] psnizek updated IDEMPIERE-280517:52
Not-c9fd[IDEMPIERE] Carlos Ruiz suggested following solution on the idempiere group forum on google: Hi: Sometime ago I had to write to core the following changes (in order to fix the tax problem). In my country taxes are calculated like your case. MInvoiceTax.java line 241 // Set Base if (isTaxIncluded()) //setTaxBaseAmt (taxBaseAmt.subtract(taxAmt));//changed by me setTaxBaseAmt (taxBaseAmt); else setTaxBaseAmt17:52
Not-c9fd(taxBaseAmt); return true; MTax.java Line 268 if (!taxIncluded) // $100 * 6 / 100 == $6 == $100 * 0.06 { tax = amount.multiply (multiplier); } else // $106 - ($106 / (100+6)/100) == $6 == $106 - ($106/1.06) { tax = amount.multiply (multiplier);//added line //THIS WAS CHANGED BY ME PLEASE REVIEW AND DELETE IT LATER. CARLOS COLLAZOS /*multiplier = multiplier.add(Env.ONE); BigDecimal base = amount.divide(multiplier, 12,17:52
Not-c9fdBigDecimal.ROUND_HALF_UP); tax = amount.subtract(base);*/ } MOrderTax.java line 248 // Set Base if (isTaxIncluded()) //setTaoxBaseAmt (taxBaseAmt.subtract(taxAmt));//OTRO CAMBIO PARA LOS IMPUESTOS setTaxBaseAmt (taxBaseAmt); else setTaxBaseAmt (taxBaseAmt); It would be great to have this functionality as an option for tax calculi inserted into core. Regards,17:52
Not-c9fd[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-280517:52
*** a42niem has quit IRC21:35
*** xapiens has joined #idempiere23:55

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!