[6.0] SO not checking stock available from warehouse SO is being dispatched from

Bug #881199 reported by Kevin McMenamin
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP Publisher's Warranty Team

Bug Description

V6.0.3
Created a SO - when adding a line, the inventory lookup correctly only shows stock available for that warehouse. But when adding a line the quantity is validated against the total company virtual stock, not the warehouse virtual stock, and if this is exceeded the error message values are again based on the company stock not the local stock quantities.
This is not acceptable in a multi-warehouse company.
Video attached.

Related branches

Revision history for this message
Kevin McMenamin (kevin-mcmenamin) wrote :

with vidwo

Revision history for this message
Numérigraphe (numerigraphe) wrote :

Confirming because 2 users reported it.
Lionel Sausin.

Changed in openobject-addons:
status: New → Confirmed
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I agree with Corinne and Kevin, currently the SO checking the real stock based on it's company 's total stock.
It should be calculated based on company's warehouse 's stock which is defined in shop.

Thanks.

Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Hello Kevin McMenamin,

Will you please attach some video which will show us the warehouse configurations.
We tried to follow step according to your video but we are unable to get internal moves.

Thanks in advance,
Purnendu Singh

Revision history for this message
Kevin McMenamin (kevin-mcmenamin) wrote :

warehouses are set up with:
inwards goods
stock (no chained location type, no chaining type)
dispatch

Note that this issue is related to sales order entry not dispatch

Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rifakat Husen (OpenERP) (rha-openerp) wrote :

Hello Kevin,

Thanks for reporting this issue.
Its been fixed in,
lp:~openerp-dev/openobject-addons/6.0-opw-51083-rha
Revision ID: <email address hidden>
Revision 4950

Regards.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Corinne Cobbel (ccobbel) wrote : Re: [Bug 881199] Re: SO not checking stock available from warehouse SO is being dispatched from

Hi,

Thanks for the fix
However it seems that there is a problem with the module sale_margin
(that inherit product_id_change fonction)
Please find below the error message:

TypeError: product_id_change() takes at most 18 arguments (19 given)

Corinne

Le 11-12-09 à 08:50, Rifakat (OpenERP) a écrit :

> Hello Kevin,
>
> Thanks for reporting this issue.
> Its been fixed in,
> lp:~openerp-dev/openobject-addons/6.0-opw-51083-rha
> Revision ID: <email address hidden>
> Revision 4950
>
> Regards.
>
> ** Changed in: openobject-addons
> Status: In Progress => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/881199
>
> Title:
> SO not checking stock available from warehouse SO is being dispatched
> from
>
> Status in OpenERP Addons (modules):
> Fix Committed
>
> Bug description:
> V6.0.3
> Created a SO - when adding a line, the inventory lookup correctly
> only shows stock available for that warehouse. But when adding a
> line the quantity is validated against the total company virtual
> stock, not the warehouse virtual stock, and if this is exceeded the
> error message values are again based on the company stock not the
> local stock quantities.
> This is not acceptable in a multi-warehouse company.
> Video attached.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/
> 881199/+subscriptions

summary: - SO not checking stock available from warehouse SO is being dispatched
- from
+ [6.0] SO not checking stock available from warehouse SO is being
+ dispatched from
Revision history for this message
Kevin McMenamin (kevin-mcmenamin) wrote :

note that the 18/19 error also affects the module Warning (delete context=context and problem solved)

tags: added: ocb-stock-v1
no longer affects: ocb-addons
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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