← Back to team overview

credativ team mailing list archive

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

 

Hello Ferdinand, I'm not sure I'm getting everything you mean, but if you
want to constraint the PO dest location to be internal, I don't think it
would be always flexible enough. For instance people doing drop shipping as
they can do with our purchase_to_sale module would pick a customer location
and address for the PO delivery.

As for using the product location information in the case of the absence of
location, if this is what you mean, I would agree with you that as it may
make advanced stock replenishment easier.


On Thu, Dec 22, 2011 at 3:20 PM, Ferdinand @ Camptocamp <
907727@xxxxxxxxxxxxxxxxxx> wrote:

> I think something is not consistent
>
> In PO the destination location comes from "stock Input Location" of the
> warehouse.  IMHO this can only be internal.
>
> I think there is a mixture between Input/Output location and
> Source/Destination Location.
>
> I tried to paint the situation - see attachment
> this clearly shows that Input/Stock/Output must be of type internal.
>
>
>
>
>
> ** Attachment added: "location moves.pdf"
>
> https://bugs.launchpad.net/openobject-addons/+bug/907727/+attachment/2644019/+files/location%20moves.pdf
>
> --
> You received this bug notification because you are a member of OpenERP
> Committers, 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
>

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