← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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:
   [7.0] stock.picking creation form 'warehouse_id' is writeable even if
  no purchase.order linked

Status in OpenERP Addons (modules):
  New

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


Follow ups

References