← Back to team overview

openerp-india team mailing list archive

[Bug 984003] Re: [6.1] partial stock move checks for wrong move.state value

 

Hello,

The problem occurs when open the partial picking wizard from stock.move
object, and we can not seen the proper qty on New state's stock move due
to this coding problem.

The same problem exist in trunk also and this attached branch is solved
the problem, But attached branch is for 6.1 version.

That's why for trunk version we need to back-ported this from 6.1.

I have attached the two screen-shot which is described the problem and
solved the problem after applied this code, So please check it.

Thank you!

** Attachment added: "For more info... see this Screen-shot"
   https://bugs.launchpad.net/openobject-addons/+bug/984003/+attachment/3087800/+files/stock_move.png

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/984003

Title:
  [6.1] partial stock move checks for wrong move.state value

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  In the file http://bazaar.launchpad.net/~openerp/openobject-
  addons/6.1/view/head:/stock/wizard/stock_partial_picking.py#L114

  The partial move wizard checks for states ('assigned', 'new') where 'new' does not exist as a state for stock.move 
  See the code here : http://bazaar.launchpad.net/~openerp/openobject-addons/6.1/view/head:/stock/stock.py#L1598

  Currently this means that if you try to click "Deliver/Receive
  Products" on a stock.move record (which was imported for example and
  thus has state 'draft'), the quantity shown on the wizard will always
  be 0 and not the product_qty already present on the product.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/984003/+subscriptions


References