Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. Error:
  2. Odoo Server Error
  3.  
  4. Traceback (most recent call last):
  5. File "/data/build/odoo/odoo/http.py", line 677, in dispatch
  6. result = self._call_function(**self.params)
  7. File "/data/build/odoo/odoo/http.py", line 353, in _call_function
  8. return checked_call(self.db, *args, **kwargs)
  9. File "/data/build/odoo/odoo/service/model.py", line 93, in wrapper
  10. return f(dbname, *args, **kwargs)
  11. File "/data/build/odoo/odoo/http.py", line 346, in checked_call
  12. result = self.endpoint(*a, **kw)
  13. File "/data/build/odoo/odoo/http.py", line 922, in __call__
  14. return self.method(*args, **kw)
  15. File "/data/build/odoo/odoo/http.py", line 523, in response_wrap
  16. response = f(*args, **kw)
  17. File "/data/build/odoo/addons/web/controllers/main.py", line 1318, in call_button
  18. action = self._call_kw(model, method, args, kwargs)
  19. File "/data/build/odoo/addons/web/controllers/main.py", line 1306, in _call_kw
  20. return call_kw(request.env[model], method, args, kwargs)
  21. File "/data/build/odoo/odoo/api.py", line 394, in call_kw
  22. result = _call_kw_multi(method, model, args, kwargs)
  23. File "/data/build/odoo/odoo/api.py", line 381, in _call_kw_multi
  24. result = method(recs, *args, **kwargs)
  25. File "/data/build/odoo/addons/delivery/wizard/choose_delivery_carrier.py", line 77, in update_price
  26. vals = self._get_shipment_rate()
  27. File "/data/build/odoo/addons/delivery/wizard/choose_delivery_carrier.py", line 68, in _get_shipment_rate
  28. vals = self.carrier_id.rate_shipment(self.order_id)
  29. File "/data/build/odoo/addons/delivery/models/delivery_carrier.py", line 150, in rate_shipment
  30. res = getattr(self, '%s_rate_shipment' % self.delivery_type)(order)
  31. File "/data/build/enterprise/delivery_ups/models/delivery_ups.py", line 90, in ups_rate_shipment
  32. packages.append(Package(self, total_weight))
  33. File "/data/build/enterprise/delivery_ups/models/ups_request.py", line 101, in __init__
  34. self.dimension = {'length': carrier.ups_default_packaging_id.length, 'width': carrier.ups_default_packaging_id.width, 'height': carrier.ups_default_packaging_id.height}
  35. Exception
  36.  
  37. The above exception was the direct cause of the following exception:
  38.  
  39. Traceback (most recent call last):
  40. File "/data/build/odoo/odoo/http.py", line 632, in _handle_exception
  41. return super(JsonRequest, self)._handle_exception(exception)
  42. File "/data/build/odoo/odoo/http.py", line 317, in _handle_exception
  43. raise exception.with_traceback(None) from new_cause
  44. AttributeError: 'product.packaging' object has no attribute 'length'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement