popup window of one2many field crash if it has context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Undecided
|
Sananaz (Open ERP) |
Bug Description
Hi!
When you click in a row of a one2many field, the popup window doesn't appear, and the web client get the next error:
(If you are in editing mode, the popup window works well !!)
[28/Jan/
File "/usr/local/
cherrypy.
File "/usr/local/
return self.callable(
File "/usr/local/
return fn(*args, **kw)
File "/usr/local/
res = func(*args, **kw)
File "/usr/local/
context = tools.expr_
File "/usr/local/
return eval(string, context)
File "<string>", line 1, in <module>
NameError: name 'alias' is not defined
I write an example:
=======
class test_parent(
_name = 'test_parent'
_description = 'Test Parent'
_columns = {
'name': fields.char('Parent Name', size=64, required=True, select=True),
'alias': fields.
}
test_parent()
class test_child(
_name = 'test.child'
_description = 'Test Child'
_columns = {
'name': fields.char('Child Name', size=64, required=True, select=True, translate=True),
'alias': fields.
}
test_child()
=======
<record id="view_
<field name="name"
<field name="model"
<field name="type"
<field name="arch" type="xml">
</record>
<record id="action_
<field name="name">Test parent</field>
<field name="type"
<field name="res_
<field name="view_
<field name="view_
</record>
<menuitem id="menu_
Related branches
Changed in openobject-client-web: | |
assignee: | nobody → Jra (Open ERP) (jra-openerp) |
Changed in openobject-client-web: | |
assignee: | Jra (Open ERP) (jra-openerp) → sma (Open ERP) (sma-tiny) |
milestone: | none → 5.0.11 |
status: | Fix Committed → Fix Released |
Hello,
Its fixed in stable. Please update your code and notify us.
Revision-Info:
2809 <email address hidden>
Thanks.