2012-07-17 12:17:08 |
Jacques-Etienne Baudoux |
bug |
|
|
added bug |
2012-07-17 12:26:41 |
Lorenzo Battistini |
bug |
|
|
added subscriber Lorenzo Battistini - Agile BG - Domsense |
2012-08-07 11:34:53 |
Ravish(OpenERP) |
openobject-addons: importance |
Undecided |
Medium |
|
2012-08-07 11:34:53 |
Ravish(OpenERP) |
openobject-addons: status |
New |
Confirmed |
|
2012-08-07 11:35:18 |
Ravish(OpenERP) |
openobject-addons: assignee |
|
OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
|
2012-08-07 12:55:07 |
Amit Parik |
summary |
[6.1] rounding issue with account taxes |
[Trunk] rounding issue with account taxes |
|
2012-12-04 10:54:49 |
Arnaud Pineux (OpenERP) |
openobject-addons: status |
Confirmed |
In Progress |
|
2012-12-04 10:58:17 |
Launchpad Janitor |
branch linked |
|
lp:~openerp-dev/openobject-addons/trunk-bug-1025649-api |
|
2012-12-04 12:22:04 |
Arnaud Pineux (OpenERP) |
openobject-addons: status |
In Progress |
Fix Committed |
|
2013-04-09 10:57:33 |
Ronald Portier (Therp) |
branch linked |
|
lp:~therp-nl/therp-backports/addons-6.1_lp882036_account_rounding |
|
2013-04-10 08:11:14 |
Stefan Rijnhart (Opener) |
bug task added |
|
therp-backports |
|
2013-04-10 08:11:25 |
Stefan Rijnhart (Opener) |
nominated for series |
|
therp-backports/addons-6.1 |
|
2013-04-10 08:11:25 |
Stefan Rijnhart (Opener) |
bug task added |
|
therp-backports/addons-6.1 |
|
2013-04-10 08:11:33 |
Stefan Rijnhart (Opener) |
therp-backports/addons-6.1: milestone |
|
fixed-after-61 |
|
2013-04-10 08:11:38 |
Stefan Rijnhart (Opener) |
therp-backports/addons-6.1: status |
New |
Fix Committed |
|
2013-04-10 08:11:44 |
Stefan Rijnhart (Opener) |
therp-backports/addons-6.1: assignee |
|
Ronald Portier (Therp) (rportier1962) |
|
2013-04-10 08:15:04 |
Stefan Rijnhart (Opener) |
therp-backports/addons-6.1: status |
Fix Committed |
Fix Released |
|
2014-11-18 07:34:23 |
Mohit Chandra |
description |
Related to the fix introduced following that bug
https://bugs.launchpad.net/openobject-addons/+bug/882036
the new rounding method created in the server should be used in the addons.
For instance, the rounding of the tax is performed in the account module with the python round method. The float_round method should be used in order to properly compute the taxes.
=== modified file 'account/account.py'
--- account/account.py 2012-03-22 12:24:19 +0000
+++ account/account.py 2012-07-17 11:17:12 +0000
@@ -29,6 +29,7 @@
from osv import fields, osv
import decimal_precision as dp
from tools.translate import _
+from tools import float_round as round
def check_cycle(self, cr, uid, ids, context=None):
""" climbs the ``self._table.parent_id`` chains for 100 levels or
=== modified file 'account/account_bank_statement.py'
--- account/account_bank_statement.py 2012-03-22 11:39:59 +0000
+++ account/account_bank_statement.py 2012-07-17 11:23:22 +0000
@@ -24,6 +24,7 @@
from osv import fields, osv
from tools.translate import _
import decimal_precision as dp
+from tools import float_round as round
class account_bank_statement(osv.osv): |
Related to the fix introduced following that bug
https://bugs.launchpad.net/openobject-addons/+bug/882036
the new rounding method created in the server should be used in the addons.
For instance, the rounding of the tax is performed in the account module with the python round method. The float_round method should be used in order to properly compute the taxes.
=== modified file 'account/account.py'
--- account/account.py 2012-03-22 12:24:19 +0000
+++ account/account.py 2012-07-17 11:17:12 +0000
@@ -29,6 +29,7 @@
from osv import fields, osv
import decimal_precision as dp
from tools.translate import _
+from tools import float_round as round
def check_cycle(self, cr, uid, ids, context=None):
""" climbs the ``self._table.parent_id`` chains for 100 levels or
=== modified file 'account/account_bank_statement.py'
--- account/account_bank_statement.py 2012-03-22 11:39:59 +0000
+++ account/account_bank_statement.py 2012-07-17 11:23:22 +0000
@@ -24,6 +24,7 @@
from osv import fields, osv
from tools.translate import _
import decimal_precision as dp
+from tools import float_round as round
class account_bank_statement(osv.osv): |
|