Comment 13 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,
Since I applied the patch, I can enable the "Group journal items", and I
can close the session. The problem now is the large time to close the
session. When I have about 100 orders and I want to close the session, the
system takes ~4minutes to close the session. The same operation has take
30segs before the patch.
It's possible that now the system is not grouping the items?
I think this option group the lines for the same session and product in
only one row at table "account_move_line", and If I surf through the table
I can see that is not.

Regards.
Fran

2013/3/19 Francisco Martínez <email address hidden>

> 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
>>
>
>