← Back to team overview

credativ team mailing list archive

[Bug 907727] Re: warehous location ids must all be internal

 

Well, IMHO such a module can and should overwrite the default constraints.
 in this case no stock moves are  recored IN the warehouse 
source = supplier loc
dest = customer loc
this is obvioulsy legal, but not "stock accounting" but drop-shipping

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/907727

Title:
  warehous location ids must all be internal

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  in stock.py (trunk)
  ./stock.py:2753: 'lot_input_id': fields.many2one('stock.location', 'Location Input', required=True, domain=[('usage','<>','view')]),
   ./stock.py:2754: 'lot_stock_id': fields.many2one('stock.location', 'Location Stock', required=True, domain=[('usage','=','internal')]),
   ./stock.py:2755: 'lot_output_id': fields.many2one('stock.location', 'Location Output', required=True, domain=[('usage','<>','view')]),

  IMHO lot_input_id and lot_output_id must be internal too
   or do I miss something ?

  Exmple
   purchase.py
   uses lot_input_id as destination...

  similar to
  https://bugs.launchpad.net/bugs/882481

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


References