Comment 6 for bug 1197467

Revision history for this message
Numérigraphe (numerigraphe) wrote : Fwd: Re: OpenERP Enterprise Edition Bugfix: duplicate inventory lines produce wrong posted inventories

-------- Message original --------
Sujet: Re: OpenERP Enterprise Edition Bugfix: duplicate inventory lines
produce wrong posted inventories
Date : Tue, 06 Aug 2013 09:11:08 -0000
De : Rifakat Haradwala (rha) <email address hidden>
Répondre à : Followers of
OpenERP-Enterprise-Edition-Bugfix-duplicate-inventory-lines-produce-wrong-posted-inventories
<email address hidden>
Pour : Followers of
OpenERP-Enterprise-Edition-Bugfix-duplicate-inventory-lines-produce-wrong-posted-inventories
<email address hidden>

Hi Lionel,

I have created a patch which restricts creation of duplicate inventory
line on same date.
In the patch I have checked only Date part, and removed timestamp so for
all the inventory it checks it's date and not the time.

I still face a problem. When inventory is created on different date then
also it creates problem. Because when we create 1st inventory and
confirm it, that time stock move is generated in waiting state and does
not affect stock, so when creating the 2nd inventory it gets the same
stock level and creates duplicate stock move.

Could you please check the patch and let me know if there is any problem?
Please see the video also which I have shared with your email.

Regards,
Rifakat Haradwala,
OpenERP Enterprise Services.

Sent by OpenERP India using OpenERP <https://www.openerp.com/>. Access
your messages and documents through our Customer Portal
<https://accounts.openerp.com?db=openerp#action=login&token=9ppxSDjYL3MvY6ZRg2YS&type=signup&model=project.issue&id=594736>