← Back to team overview

openerp-india team mailing list archive

[Bug 1203676] Re: [7.0] stock.move creation form 'origin' is writeable even if no stock.picking linked

 

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

** Tags added: maintenance

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

Title:
  [7.0] stock.move creation form 'origin' is writeable even if no
  stock.picking linked

Status in OpenERP Addons (modules):
  New

Bug description:
  There are several ways of creating new stock.move records, including
  direct creation without going through the creation of a stock.picking.
  In that case, the user can input a value for the "origin" field of
  stock.move, which is a fields.related to the origin field of
  stock.picking. When the user does that, and saves the stock.move, the
  value of origin is lost without warning.

  Steps to reproduce:

  * connect on Runbot
  * Go to Warehouse -> Incoming Products or to Warehouse -> Deliver Products or to Warehouse -> Stock Moves
  * Click the create button
  * fill the mandatory fields, do not fill the Reference field, fill the Origin field to 'foobar'
  * Save 

  Observed behavior: the Origin field is empty.

  Expected behavior: the Origin field in the form should be hidden or
  non writeable if the Reference (stock.picking) field is not set.

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


References