openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #03666
[Bug 907540] Re: purchase.order - location_id should not be mandatory
Hello DR Ferdinand,
I have checked your issue, but this is not a bug rather than it's your
suggestion.
So we can consider this as a "improvement", and currently I am setting
this as a "Wishlist" , we will consider this for a future request.
Thanks for reporting!
** Changed in: openobject-addons
Importance: Undecided => Wishlist
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)
--
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/907540
Title:
purchase.order - location_id should not be mandatory
Status in OpenERP Addons (modules):
Confirmed
Bug description:
IMHO
* for stockable (and all other) products the stock destination location should come from product_category and should be stored in purchase order line.
currently any location except views can be selected
IMHO only internal locations should be selectable as destination - at least for stockables, allowing to select other location types bypasses the stock accounting, which should not happen.
I didn't check consumables / services
purchase.py
supplier = address.browse(cr, uid, address_id).partner_id
if supplier:
location_id = supplier.property_stock_customer.id
values.update({'location_id': location_id})
why it takes property_stock_customer ?
see above
the destination should be a company default setting which is overruled by product category settings
Do I miss something?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/907540/+subscriptions
References