[product configurator] 'NoneType' object is unsubscriptable when used with web-client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Invalid
|
Undecided
|
Navrang Oza |
Bug Description
Hello,
DESCRIPTION:
I recently learnt about the target="new" feature from that bug report https:/
Part if the target="new" fix is working: so the variant lines wizard is now properly returning back to the sale.order.line view in the web client.
However, the target="new" on the validate button of the "Validate" button (see changeset), is now causing the web-client to blows up instead of returning to the current sale order view. See stack trace at the end.
HOW TO REPRODUCE:
install a fresh database with demo data and with product_
https:/
Then create a new sale order, set a partner and click on "configure new product". In the wizard that pops up, selecting a template won't do the job because of that other pending web client bug: https:/
So instead, just select a variant directly to keep avancing in the conifigurator regardless of the feature loss.
Then click on OK that brings you back to the sale order line view, which is already good (that is thanks to one of the target="new").
But in that order line view, if you click on "Validate", instead of bringing you back on the current order line (validate has a target="new" button), unlike the GTK client, it will blow up with the following stack:
127.0.0.1 - - [15/Dec/
[15/Dec/
File "/usr/local/
cherrypy.
File "/usr/local/
return self.callable(
File "/home/
return fn(*args, **kw)
File "/home/
res = func(*args, **kw)
File "/home/
form = init_form(args and args[0] or kw["self"])
File "/home/
init_form = lambda self: form(self)
File "/home/
form = self.create_
File "/home/
params.
TypeError: 'NoneType' object is unsubscriptable
Hope this helps
Changed in openobject-client-web: | |
assignee: | nobody → noz (Tiny) (noz-tiny) |
Changed in openobject-client-web: | |
status: | New → Invalid |
Hello,
I am not facing any problem.
Yes, order line window is not close after clicking on Validate button.
Thanks.