product_historical_margin: error when clicking on a line in the result tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Financial controlling and costing |
New
|
Undecided
|
Unassigned |
Bug Description
steps to reproduce:
1. select one or more products
2. click on "Margin Details" (in the actions column)
3. select an invoice line in the resulting tree
you get a crash:
Client Traceback (most recent call last):
File "/srv/openerp/
response["result"] = method(controller, self, **self.params)
File "/srv/openerp/
return self.fields_
File "/srv/openerp/
context = req.session.
File "/srv/openerp/
return ccontext.
File "/srv/openerp/
final_context.
File "/srv/openerp/
final_context.
File "/srv/openerp/
return eval(self.
File "<string>", line 1, in <module>
File "/srv/openerp/
raise AttributeError(
AttributeError: type
This bug is caused by lp:1065568 and there is no obvious workaround.