Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Can not add configured product to cart #137

Open
chriseger opened this issue Dec 8, 2017 · 0 comments
Open

Can not add configured product to cart #137

chriseger opened this issue Dec 8, 2017 · 0 comments

Comments

@chriseger
Copy link

Impacted versions: 10.0 EE

Steps to reproduce: Configure product, try to add to cart. Will not add to cart or do anything.

Current behavior: Will not add to cart.

Expected behavior: Adds product to cart

Video/Screenshot link (optional):

The following error is observed in the browser developer mode.

Server application error {"message":"Odoo Server Error","code":200,"data":{"debug":"Traceback (most recent call last):\n File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 640, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 677, in dispatch\n result = self._call_function(**self.params)\n File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 333, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 101, in wrapper\n return f(dbname, *args, **kwargs)\n File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 326, in checked_call\n result = self.endpoint(*a, **kw)\n File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 935, in call\n return self.method(*args, **kw)\n File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 506, in response_wrap\n response = f(*args, **kw)\n File "/usr/lib/python2.7/dist-packages/odoo/addons/website_sale_options/controllers/main.py", line 66, in modal\n product = request.env['product.product'].with_context(product_context).browse(int(product_id))\nTypeError: int() argument must be a string or a number, not 'NoneType'\n","exception_type":"internal_error","message":"int() argument must be a string or a number, not 'NoneType'","name":"exceptions.TypeError","arguments":["int() argument must be a string or a number, not 'NoneType'"]}}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant