active_id in XML context field not being correctly written to ir_act_window table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE OpenObject Client |
New
|
Undecided
|
Unassigned | ||
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned | ||
Odoo Web Client |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have noticed that many of my 'links' (custom window actions) on the right-hand side of the web client have started breaking in the last couple of weeks.
I've narrowed the problem down to the special active_id variable being converted to the string 'active_id' when written to the 'context' field of the ir_act_window database table. For example:
<act_window
id=
name="New Contract"
src_
res_
domain=
context=
view_
view_
/>
The 'context' field in the database for the above action is: {'partner_id' : 'active_id'}
It should be (and used to be): {'partner_id' : active_id}
I've had a poke around but have not been able to work out why this is happening :(
Related branches
Changed in openobject-client-web: | |
status: | New → In Progress |
Changed in openobject-client-web: | |
status: | Fix Committed → Fix Released |
Changed in openobject-client-web: | |
milestone: | none → 5.0.11 |
I am using the 5.0 stable branch, latest revision (1884)