Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error:
- Odoo Server Error
- Traceback (most recent call last):
- File "/data/build/odoo/odoo/http.py", line 677, in dispatch
- result = self._call_function(**self.params)
- File "/data/build/odoo/odoo/http.py", line 353, in _call_function
- return checked_call(self.db, *args, **kwargs)
- File "/data/build/odoo/odoo/service/model.py", line 93, in wrapper
- return f(dbname, *args, **kwargs)
- File "/data/build/odoo/odoo/http.py", line 346, in checked_call
- result = self.endpoint(*a, **kw)
- File "/data/build/odoo/odoo/http.py", line 922, in __call__
- return self.method(*args, **kw)
- File "/data/build/odoo/odoo/http.py", line 523, in response_wrap
- response = f(*args, **kw)
- File "/data/build/odoo/addons/web/controllers/main.py", line 1318, in call_button
- action = self._call_kw(model, method, args, kwargs)
- File "/data/build/odoo/addons/web/controllers/main.py", line 1306, in _call_kw
- return call_kw(request.env[model], method, args, kwargs)
- File "/data/build/odoo/odoo/api.py", line 394, in call_kw
- result = _call_kw_multi(method, model, args, kwargs)
- File "/data/build/odoo/odoo/api.py", line 381, in _call_kw_multi
- result = method(recs, *args, **kwargs)
- File "/data/build/odoo/addons/delivery/wizard/choose_delivery_carrier.py", line 77, in update_price
- vals = self._get_shipment_rate()
- File "/data/build/odoo/addons/delivery/wizard/choose_delivery_carrier.py", line 68, in _get_shipment_rate
- vals = self.carrier_id.rate_shipment(self.order_id)
- File "/data/build/odoo/addons/delivery/models/delivery_carrier.py", line 150, in rate_shipment
- res = getattr(self, '%s_rate_shipment' % self.delivery_type)(order)
- File "/data/build/enterprise/delivery_ups/models/delivery_ups.py", line 90, in ups_rate_shipment
- packages.append(Package(self, total_weight))
- File "/data/build/enterprise/delivery_ups/models/ups_request.py", line 101, in __init__
- self.dimension = {'length': carrier.ups_default_packaging_id.length, 'width': carrier.ups_default_packaging_id.width, 'height': carrier.ups_default_packaging_id.height}
- Exception
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/data/build/odoo/odoo/http.py", line 632, in _handle_exception
- return super(JsonRequest, self)._handle_exception(exception)
- File "/data/build/odoo/odoo/http.py", line 317, in _handle_exception
- raise exception.with_traceback(None) from new_cause
- AttributeError: 'product.packaging' object has no attribute 'length'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement