Unfortunately we somehow missed Cedric Le Brouster's patch so we can't test it in time four our own inventory. So as a preventive measure I've pushed a branch that takes the preventive route again, and forbids duplicate lines.
** Tags added: inventory -- You received this bug notification because you are a member of Stock and Logistic Core Editors, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1197467 Title: duplicate inventory lines produce wrong posted inventories Status in OpenERP Community Backports (Addons): New Status in New OpenERP WMS: Fix Released Status in Odoo Addons: In Progress Bug description: When you enter an inventory with several lines containing the same (product,location,prodlot) tuple, the posted inventory is not consistent : all lines are processes independently of each others, but they all relate to the same initial quantity. As a consequence, differences are found even when the total of all the "duplicate" lines is right. Please see the attached screencast for an illustration of the problem, where I can make the stock wrong twice even though I entered correct quantities, split in 2 lines. The simplest solution would be to forbid "duplicate" inventory lines with the same (product,location,prodlot) tuple. Another possible solution would be to let users insert duplicates, but sum them up before computing the difference with the initial stock. This would be interesting as it would allow users to enter products one by one (possibly with a barcode scanner). Lionel Sausin. To manage notifications about this bug go to: https://bugs.launchpad.net/ocb-addons/+bug/1197467/+subscriptions -- Mailing list: https://launchpad.net/~openerp-community-reviewer Post to : openerp-community-reviewer@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community-reviewer More help : https://help.launchpad.net/ListHelp