Payment Voucher - Trouble with writeoff

Bug #702112 reported by Fabien (Open ERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
High
OpenERP sa GTK client R&D

Bug Description

The writeoff is badly computed on the payment voucher, see attached screenshot.

Related branches

Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

The writeoff computation only uses the first line.

Changed in openobject-addons:
milestone: none → 6.0
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Hello,

Seems problem with GTK.

Here on_change of amount is calling onchange_line_ids which is an one2many field. And incase of more than one account.voucher.line it's just passing first account.voucher.line, so writeoff_amount is calculated based on first line only, other lines are not passed while we are calling onchange_line_ids.

Thanks
PSI

Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenObject KDE Client Team (openobject-client-kde)
assignee: OpenObject KDE Client Team (openobject-client-kde) → OpenERP sa GTK client R&D (openerp-dev-gtk)
Revision history for this message
Cristian Salamea (ovnicraft) wrote :

@Purnendu please check the number off calls to onchange method when select the journal this is creating a performance issue.

Regards,

tfr (Openerp) (tfr)
affects: openobject-addons → openobject-client
Changed in openobject-client:
milestone: 6.0 → none
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello
Thanks for the good bug report. It has been improved @lp:~openerp-dev/openobject-client/trunk-dev-client with revision-info :1439 <email address hidden> and will be merged soonto the trunk client.

Thanks

Changed in openobject-client:
status: Confirmed → In Progress
milestone: none → 6.0
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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