[6.1] form view of account.invoice.line uses parent.xxxx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
New
|
Undecided
|
OpenERP Publisher's Warranty Team |
Bug Description
The form view for account.
This view must be inlined in the account.invoice form view, and another safe form view must be provided.
Steps to reproduce:
1. define a custom tree view displaying account.
2. display that view
3. click on a line
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
the attribute error comes from the use of parent.type in the form view.
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
This issue causes lp:1065850