duplicate inventory lines produce wrong posted inventories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
In Progress
|
Undecided
|
OpenERP Publisher's Warranty Team | ||
OpenERP Community Backports (Addons) |
New
|
Undecided
|
Unassigned | ||
OpenERP new WMS |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When you enter an inventory with several lines containing the same (product,
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,
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.
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openerp-trunk-wms: | |
status: | New → Fix Committed |
Hi Lionel,
Thanks for providing detail over this bug report.
Problem occurs when executing inventory lines one by one and leveling the stock to the quantity provided(14 -> 7),
and it happens two times for both inventory line. When the first one just executes and it creates a draft stock
movement, so it decreases stock levels 2 times by qty 7 and as result it shows 0 qty.
Lionel, don't you think a user has to manage it himself not to enter duplicate lines? or else in which case user enters
identical inventory lines?
However I do agree that we should improve this but that should be done in Trunk, don't you think?(by applying a pythonic constraint)
Awaiting your response.
Regards,
Rifakat