← Back to team overview

openerp-expert-production team mailing list archive

[Bug 855687] Re: procurement orders should not be created for every product

 

Hello,

No, THE difference between consumable and stockable products is "when
you need consumables from the stock, it considers you always have enough
items available". But, when you buy or produce consumables, it should
act like stockable products.

There is no useability, business flow nor user experience reason to not
create a procurement for consumables. You can launch consumables in make
to order to trigger PO or Manufacturing Orders from the SO.

The only (small) reason I see to not generate a procurement is to simplify technically the code and improve (a bit) the speed. But if we do that, it changes all concepts of OpenERP:
  - to know if a SO Line has been processed (task, delivery, MO, ...), we check his procurement state
  - the whole supplying logic is delegated to procurements so that Sale and Manufacturing do not have to manages all scenario.

Unless you define a procurement as "something you never have to
procure/supply", we prefer to keep like it is now.

-- 
You received this bug notification because you are a member of OpenERP
Manufacturing Experts, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/855687

Title:
  procurement orders should not be created for every product

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  trunk and 6.0
  sale/sale.py - 
  in action_ship_create

  for every order line with a product a procurement_order is created.

  .....
  if line.product_id:
                      proc_id = self.pool.get('procurement.order').create(cr, uid, {
  .....

  IMHO at least for consumables procurement orders are not necessary or must not be created
  Consumable: (6.0)
  Consumables are stockable products with infinite stock, or for use when you have no inventory management in the system.

  the definition changes for 6.1 - my reasoning might not be valid any more
  Consumable: (trunk)
  Consumable are product where you don't manage stock.

  in any case - if you think it's a bug - please 
  a prospect needs to enter product AND quantity 0 in sale order line and for these lines procurement orders are not necessary neither - obviously.

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