← Back to team overview

openerp-india team mailing list archive

[Bug 1115954] Re: [trunk] prodlot_id AKA serial number not being checked

 

I can replicate the problem and i have discovered a different replaced
problem.

1. create a PO and receive a product with serial number 123
2. create a PO and receive a product with serial number 456
--so now you have a quantity of 2 of the same product with 2 different serial numbers
3. create a sales order for a quantity of 2 of the product
4. deliver the order and when you hit deliver just enter one of the serial numbers
--i would expect a warning to be raised because there is only 1 qty of each serial number but you are allowed to ship a qty of 2 assigned to 1 serial number

this is the bug i was attempting to originally report

I discovered a second bug while investigating this issue, but i think if one problem is fixed the other one would be also.
In your example, in the stock.picking.out hit the deliver button and when the pop up appears to assign a serial number, you can change the quantity to any value and it will be accepted.


Please let me know if you need more details.

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

Title:
  [trunk] prodlot_id AKA serial number not being checked

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  OpenERP V7 does not check to see if a prodlot_id has available
  products when you are in the outgoing shipment picking screen.
  prodlot_id is where a product serial number is stored.

  When you have a product with a quantity of 1 in inventory with a
  prodlot_id assigned to it, you can sell that product infinite times.
  There is no check to see if a product of a certain prodlot_id has
  available inventory.

  FOr instance.
  I receive a single unit of a product and assign it a prodlot_id / serial number of 99, i see it in the stock_move table
  I sell that product with a prodlot_id / serial number of 99 and choose that serial number in the outgoing shipment picking screen.
  I can then repeat the above step as many times as I like, there i no check to see if i have available inventor with the correct serial number.

  I would expect the system to throw an error and say that the serial
  number I would like to ship has been sold already or the quantity is 0
  or something to prevent me from selling the same item twice.

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


References