Web client working improperly in IE8 (onchange with checkboxes, different layout)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I made a module with excluding checkboxes. I want 3 checkboxes that that are exclusive. IE clicking on one sets False on others:
I creted 3 boolean bields with 3 methods (described below).
Everything looks ok and works ok in Firefox 3.5.9
But in IE8 the onchange methods don't set the values properly. The change takes place only when someone clicks somehere outside the form (or on another button/field), not when the checkbox is clicked. I gess that some "refresh" is not set
Attached are 2 videos showing differences between IE and Firefox.
onchange code:
-------
def onchange_
if platnik_
else:
result = {'value': {
}
}
return result
def onchange_
if platnik_
else:
result = {'value': {
}
}
return result
def onchange_
if platnik_
else:
result = {'value': {
}
}
return result
This is the same page in Firefox 3.5.9 This is how it should work!!
Not that the positioning of some buttons is different between the browsers
I can help with fixing the bug, but I need some help (for example where the javascripts activeted by onchenge methods are defined). I am not a javascript expert.