Comment 10 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,
it's worked for me. Thx!

Best Regards
Fran

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

> Hi GrtSrkn, Francisco Martinez,
>
> Sorry for the inconvenience.
>
> There was a small mistake in the initial patch which I fixed and pushed
> the updated solution in the above branch. Now, you should be able to
> close the POS session.
>
> Would you please test it again.
>
> 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
>