Comment 5 for bug 1127114

Revision history for this message
Francisco Martinez (pxntium) wrote : Re: [Bug 1127114] Re: [Trunk/7.0]: Returning products causing credit - debit value error

Hi Ravi,
I applied the patch described here:
http://bazaar.launchpad.net/~openerp-dev/openobject-addons/7.0-opw-586526-rgo/revision/8839#point_of_sale/point_of_sale.py

Restart OpenERP and when I try to close the session the same error occurs.

Regards
Fran

2013/3/14 Ravi Gohil (OpenERP) <email address hidden>

> Hi GrtSrkn,
>
> > I've tested this, when I re-activate the function "Group Journal
> Items" I still get the error message.
>
> Would you please double check that the patch from the above branch is
> applied properly and you've restarted the OpenERP server after applying
> the patch?
>
> If you are still facing this issue, please share some screenshots or a
> small video of the steps you followed.
>
> Thanks.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1138698).
> https://bugs.launchpad.net/bugs/1127114
>
> Title:
> [Trunk/7.0]: Returning products causing credit - debit value error
>
> Status in OpenERP Addons (modules):
> Fix Committed
>
> Bug description:
> Hello,
>
> Also tested on latest runbot for 7.0 (built 3921)
>
> Crete some sales in one pos session.
> When you return a product using the Point of Sales - Orders list. Choose
> a previous POS order ref of that day, return a product, pay it back (it
> proposes a negative saldo which seems to be correct).
>
> At the end of your session when you want to close and post your
> session to the sales journal it gives you an error:
>
> "Constraint Error - Wrong credit or debit value in accounting entry !"
>
> When you have a session without returning products it seems to work
> fine, even with taking money in or out your session using the
> corresponding buttons.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1127114/+subscriptions
>