Error trying to find warehouse_id when point_of_sale is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Install sales module, then try to make a quotation or sales order. Create a line with a product. Then, press in the little button at the right of the product name (the arrow exiting from the box) to open its form. OpenERP throws this:
OpenERP Server Error
Client Traceback (most recent call last):
File "/usr/lib/
response[
File "/usr/lib/
return self._call_kw(req, model, method, args, kwargs)
File "/usr/lib/
records = req.session.
File "/usr/lib/
result = self.proxy.
File "/usr/lib/
result = self.session.
File "/usr/lib/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/usr/lib/
return openerp.
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/
return f(self, dbname, *args, **kwargs)
File "/usr/lib/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/
result = self._read_flat(cr, user, select, fields, context, load)
File "/usr/lib/
res2 = self._columns[
File "/usr/lib/
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/usr/lib/
stock = self.get_
File "/usr/lib/
warehouse_id = shop_obj.read(cr, uid, int(context[
KeyError: 'warehouse_id'
It doesn't make sense because there was no configuration of several warehouses or shops. I had to install those modules and configure it and install point_of_sale to fix this, but those are unnecessary for my business.