← Back to team overview

credativ team mailing list archive

[Bug 907727] [NEW] warehous location ids must all be internal

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References