Forget Gross Profit, You are still calculating net profit. So because both sum_dr and sum_cr have the potential to be incorrect, this value has the potential to be incorrect. Follow this thinking through and now the balance sheet too is incorrect (although another error in the way balance sheet parser calls P&L already makes it highly likely be incorrect. On Fri, May 20, 2011 at 5:01 PM, Vinay Rana (openerp) <