← Back to team overview

openerp-india team mailing list archive

[Bug 1073106] Re: Changing product on production lots must be forbidden

 

Hello Lionel,

I have fixed this bug over 6.0 and trunk,

lp:~openerp-dev/openobject-addons/6.0-opw-581494-rha
Revision 5366,  Revision ID: rha@xxxxxxxxxxx-20121106100739-ziaa95omo1jnowvi

lp:~openerp-dev/openobject-addons/trunk-opw-581494-rha
Revision 7955,  Revision ID: rha@xxxxxxxxxxx-20121106123106-1gfengz82h0eov44

Please let me know if you face any problem.

Thanks,
Rifakat Haradwala

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

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

Title:
  Changing product on production lots must be forbidden

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  When modifying a production lot (aka serial number in trunk), there is no check to assert that the changes are consistent with the existing data.
  So users are allowed to change the product even though stock moves have been recorded using this prodlot.
  But this makes it impossible to move the existing stock, or even to make an inventory of it or to scrap it.

  So, users should just not be allowed to change the product.
  Ideally, the field should become read-only as soon as there has been a stock move recorded.
  If that's not feasible, OpenERP should at least raise a clean error message, and advice them to use another method. For example: "You cannot change this Production Lot because Stock Moves refer to it. You may want to  create a new Production Lot and make an inventory to remove the current stock of this Production Lot, and create a stock of the new Production Lot."

  Lionel Sausin.

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


References