Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
Lines of code | 169 |
Technical Name |
purchase_for_individual_location |
Versions | 12.0 13.0 14.0 15.0 16.0 17.0 18.0 |
Purchase Stock By Location
Set the destination location for stock while purchase
Few Words About The Purchase Stock By Location
This module will help you to check the on-hand and forecasted quantity of the product
while creating the purchase order. Also, there is a small button on the left side of
the line to check the product quantity at different warehouse locations.
You can set a stock location for the new purchased stock.
The Receipts are created by these locations. So by using this app you can easily
purchase the products for specific locations.
Work Flow: How The Purchase Stock By Location
Works
Creating Purchase Order

Check Quantity at different locations

Confirmed Purchase, Created multiple Receipts by selected locations

Created multiple Receipts, List view

Receipt for Location One

Receipt for Location Two

Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Hi,
Need you support I purchased this module but its not work, when I click confirm there is error
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo12/odoo/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo12/odoo/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo12/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo12/odoo/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo12/odoo/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo12/odoo/odoo/service/model.py", line 98, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo12/odoo/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo12/odoo/odoo/http.py", line 941, in __call__
return self.method(*args, **kw)
File "/opt/odoo12/odoo/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/opt/odoo12/odoo/addons/web/controllers/main.py", line 967, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo12/odoo/addons/web/controllers/main.py", line 955, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo12/odoo/odoo/api.py", line 759, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo12/odoo/odoo/api.py", line 746, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo12/odoo-custom-addons/purchase_approval_route/models/purchase_order.py", line 81, in button_confirm
super(PurchaseOrder, order).button_confirm()
File "/opt/odoo12/odoo/addons/purchase/models/purchase.py", line 342, in button_confirm
order.button_approve()
File "/opt/odoo12/odoo/addons/purchase_requisition/models/purchase_requisition.py", line 381, in button_approve
res = super(PurchaseOrder, self).button_approve(force=force)
File "/opt/odoo12/odoo/addons/purchase_stock/models/purchase.py", line 80, in button_approve
self._create_picking()
File "/opt/odoo12/odoo/addons/purchase_stock/models/purchase.py", line 201, in _create_picking
res = order._prepare_picking()
File "/opt/odoo12/odoo-custom-addons/branch/models/inherited_purchase_order.py", line 71, in _prepare_picking
res = super(PurchaseOrder, self)._prepare_picking()
File "/opt/odoo12/odoo-custom-addons/purchase_for_individual_location/models/models.py", line 89, in _prepare_picking
for line in self.order_line.filtered(lambda l: not l.display_type):
File "/opt/odoo12/odoo/odoo/models.py", line 4947, in filtered
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo12/odoo/odoo/models.py", line 4947, in
return self.browse([rec.id for rec in self if func(rec)])
File "/opt/odoo12/odoo-custom-addons/purchase_for_individual_location/models/models.py", line 89, in
for line in self.order_line.filtered(lambda l: not l.display_type):
AttributeError: 'purchase.order.line' object has no attribute 'display_type'
this is my
Sales Order SO2023/3086667
Re:
Hi,
Please contact me by my email id erpmstra@gmail.com for proper discussion.
Thanks