http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13321 Bug ID: 13321 Summary: Tax and prices calculation rewrite Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart@biblibre.com QA Contact: testopia@bugs.koha-community.org When all patches blocking bug 12826 will be pushed, all the plumbing part will be done. We will be ready to properly handle the prices calculation. The idea is to create additional DB fields to store value tax included and tax excluded. For instance, for the ecost we will have ecost_tax_included and ecost_tax_excluded. On this way the calculation is done only one, on inserting/updating the order, and not every time we need to display these values. Note that the existing field will be kept, for 2 reasons: 1/ in some place in the code, we just need to retrieve what the user has inserted and 2/ it will be possible to go back if needed. In the long term, they will be removed. To be consistent, all occurrences of 'gste' will be replaced with 'tax_excluded", same for gsti. On the way, gstrate will be replaced with tax_rate, gstvalue with tax_value. Important note: It seems that the prices are generally correctly calculated (on master), the only problem I found is inconsistency in rounding. So we should not have a "migration problem" as I expected. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.