[6.0.1][account] payment term line need at least 5 to 6 digits precision

Bug #740596 reported by Raphaël Valyi - http://www.akretion.com
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

Today OpenERP payment term line has only 2 digits.
Today we had a case where the supplier imposed 3 payments of a third of the value that was 1350. So he expects exactly 3 payments of 450.

But with OpenERP you have to enter a payment condition of 0.33 that will instead to 2 payments at 445.5 and the last payment with the remaining amount, that is 459.

Unfortunately this is not what the customer will expect!

So I propose to have here a precision of 5 to 6 digits instead of 2. I would prefer 6 or even more.

Please increase the number of digits here and make sure there is no premature rounding of the precision.

Related branches

summary: - [6.0.1][account] payment term line need at least 4 to 5
+ [6.0.1][account] payment term line need at least 5 to 6 digits
summary: - [6.0.1][account] payment term line need at least 5 to 6 digits
+ [6.0.1][account] payment term line need at least 5 to 6 digits precision
description: updated
description: updated
description: updated
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Raphaël Valyi,

Its fixed in lp:~openerp-dev/openobject-addons/trunk-bug-740596-ara branch. It will be merge soon with trunk addons.

Revision ID: <email address hidden>
Revision No: 4589

Thanks,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Hello Ashvin,

We can not have hard-code values to set the precision. We can use decimal_precision

thanks,
mra

Changed in openobject-addons:
status: Fix Committed → Confirmed
Changed in openobject-addons:
milestone: none → 6.1
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Ashvin Rathod (OpenERP) (ara-tinyerp) wrote :

Hello Raphaël Valyi,

Its fixed in lp:~openerp-dev/openobject-addons/trunk-bug-740596-ara branch. It will be merge soon with trunk addons.

Revision ID: <email address hidden>
Revision No: 4590

Thanks,
ara

Changed in openobject-addons:
status: In Progress → Fix Committed
qdp (OpenERP) (qdp)
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.