[Vouchar] Can't able to pay with write-off via "register payment" button.

Bug #1202127 reported by Amit Parik
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

v7 and more its great improvement that we use the register payment wizard but via this wizard we missed on functionality.

*Payment with write-off.
Generally write off are working as follow.
We enter the pay amount on voucher, check the full reconcile box on voucher line or enter the full amount on allocation amount.

Then select the "reconcile payment balance option", So able to do the payment with write off.

But via "Register payment" wizard not able to do this option.

Thank you!

Related branches

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
Amit Parik (amit-parik)
tags: added: voucher
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Sunil Sharma(OpenERP) (sunil.sharma-openerp) wrote :

Hello,

It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1202127-ssh

revision-id: <email address hidden>

revno: 8960

It will be available in trunk soon.

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

This is a major bug and does break payment process even on customer and supplier invoice payments!

I applied the diff on our Developing system and it is working..

Please do a merge into stable versions... Thanks a lot.

Regards
thomi

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

Latest revno 9670 (02.12.2013) still don't have that fix...

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Thomas,

Its not still merged with offical branch thats why you can't seen the fix.
Let me update the priority of this bug, So this will be merge asap. Aslo I agreed that its major issue and OpenERP have to add this fix on stable branch.

If you have support/OPW contract with OpenERP then you can contact at <email address hidden>, They will merge this quickly on stable version.

Thank You!

Changed in openobject-addons:
importance: Low → Medium
tags: added: accounting payment
Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

Hey common... this bug is very old and a main feature for accountants..

In latest revno the line 811 on account_voucher/account_voucher.py is:

'amount': (line.id in move_lines_found) and min(abs(price), amount_unreconciled) or 0.0,

it hast to be changed to:

'amount': (line.id in move_lines_found) and amount_unreconciled or 0.0,

to have calculation if less or more amount is payed.

I also tested that on this runbot: http://7-0-32577.runbot.openerp.com/
and also there the bug exists!!!

Why you don't merge/fix this issue?

Please, please, please...

thomi

Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

@thomi: did you test the fix linked to this issue ?

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

Hey Alexandre

Above fix as for a older revno. In mylast comment, i had to fix it otherwise, cause i use a newer revno, see comment above.

My question is, why isn't this really fixed and merged cause fo me it's a main accounting stuff.

thanks
thomi

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

situation what happens if payed amount != invoice amount and above applied fix (comment #5)

1. write-off
invoice amount 102
payed amount 100
register payment with write-off, amount 2
invoice marked as payed

2. keep open
invoice amount 200
payed amount 100
register payment with keep-open, amount 100
invoice marked as payed!!

while first is correct, 2. is wrong.. it should be still open..

If i dis apply my fix (comment #5) and make above tests and payed amount is less then invoice amount, balance will be keeped open and i don't have any selection what to make with the open amount (write-off or keep-open).

Revision history for this message
Thomas Winteler (Win-Soft) (thomi) wrote :

Finally we made a fix to resolve the following issues from "Register Payment" button on Invoices:
1>. Show Difference Amount correctly based on the difference arised from Residual and Paid Amount
2>. Allow the difference amount to opt of Keep Open and trigger appropriate Journal Entries leaving the difference amount as the residual amount in invoices and the invoice still remains in open state.
3>. If the user wishes to write-off, then consider the difference amount in the write-off account and create move lines accordingly. Hence, moving the invoice to paid state.

Revision history for this message
Ray Carnes (rcarnes) wrote :

Thank you for the module. Have you considered registering it at https://www.odoo.com/apps ?

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.