← Back to team overview

openerp-india team mailing list archive

[Bug 1203683] Re: [trunk/7.0] stock.picking creation form 'warehouse_id' is writeable even if no purchase.order linked

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1203683-mme

-- 
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/1203683

Title:
  [trunk/7.0] stock.picking creation form 'warehouse_id' is writeable
  even if no purchase.order linked

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  When creating (or modifying) an incoming shipment, we can input a
  value for the field 'Destination Warehouse' (warehouse_id). It's a
  fields.related to the warehouse_id field of the purchase.order. When
  the user does that on a stock.picking not linked to a purchase.order
  and saves the stock.picking, the value of origin is lost without
  warning.

  Steps to reproduce:

  * connect on Runbot
  * Go to Warehouse -> Incoming Shipments
  * Click the create button
  * fill the 'Destination Warehouse' field
  * Save

  Observed behavior: the Destination Warehouse field is empty.

  Expected behavior: the Destination Warehouse field in the form should
  be hidden or non writeable if the Purchase Order (purchase.order)
  field is not set.

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


References