[trunk/6.1] editing a sale order line of an unsaved order breaks into error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
using trunk rev #1394 + head server/addons + demo data,
I create a new sale order for Axelor partner, then I add one order line with product "ATX". I close the order line popup with the "Save & Close" button. This adds an order line in the order form.
Notice that I don't save the order at this stage!
Then, I try to re-open the same order line by clicking on it, but when opening the popup, I receive this error:
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
return self.call_
File "/home/
c, d = eval_context_
File "/home/
e_context = session.
File "/home/
return ccontext.
File "/home/
final_
File "/home/
final_
File "/home/
raise ValueError('Error during evaluation of this context: "%s", message: "%s"' % (self.get_
ValueError: Error during evaluation of this context: "{'partner_
The same works with the GTK client. Also notice if I save the order, then opening an order line generates no error.
Hope this helps.