Wrong product quantities in Invoice lines

Bug #814102 reported by Sinoj Sebastin
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP Publisher's Warranty Team

Bug Description

The invoice invoice lines shows wrong quantity which is created from a delivery order, which is generated from sale order with Shipping Policy 'Invoice From The Picking', also the quantity of product in sale order exceeds the available stock in the first location this doesn't mean quantity exceed total available stock.
Here is the steps to reproduce the error.
1. Create two location under stock (say Stock/S1 and Stock/S2).
2. Update product quantity 10 at S1, 10 at S2 from the form view of product.
3. Create a sale order the with this product, give quantity more than 10, say 12. and change the Shipping Policy to 'Invoice From The Picking' and Confirm it.
4. Go to Delivery Order and Click on 'Check Availability'. This will split the Stock Move lines into two lines with quantities 10 at S1 and 2 at S2, and Process the Delivery Order and Click on Create Invoice to generate invoice. Now it shows the both invoice lines with quantity of 12.

Here it expects, one invoice line should be 12 and another is 2.

The tested platform is Ubuntu 11.04 using OpenERP Server 6.0.2 Stable.

Thank you

Tags: maintenance

Related branches

description: updated
description: updated
affects: openobject-server → openobject-addons
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
tags: added: maintenance
Revision history for this message
Mayur Maheshwari(OpenERP) (mma-openerp) wrote :

Hello,

Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-814102-mma
Revision ID: <email address hidden>
Revision num: 4892.

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.0.3
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Thanks Somesh for your fix,

Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw)
Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Sinoj,

Thanks for reporting this issue.

It has been merged into the stable 6 with,

Revision ID: <email address hidden>
Revision Number: 4729

You can see the merge from the following link: http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/revision/4729

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Doma (adham-helal) wrote :

Hey,

This problem still exist in latest 6.1 i am running production with same problem

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.