Comment 19 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 have downloaded the new point_of_sale.py file and copy into the
point_of_sale addons directory. Restart the server and, when I try to close
session, I have the following error message:

*Constraint Error*
*Wrong credit or debit value in accounting entry !*

I have a refund on this session. The problem its the same that before of
the first patch.

Thnks!
Fran

2013/4/22 Ravi Gohil (OpenERP) <email address hidden>

> Hello Francisco,
>
> Thanks for pointing this issue.
>
> Sorry for the late reply. I've updated the branch, lp:~openerp-dev
> /openobject-addons/7.0-opw-586526-rgo, that will now correctly group the
> journal items.
>
> A fix was merged by http://bazaar.launchpad.net/~openerp/openobject-
> addons/7.0/revision/8972 which should solve the issue of long time taken
> while closing a PoS session.
>
> Would you please test again with this branch and share your views on it.
>
> 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
>