Thanks for pointing out
<record id="my_action" model="ir.actions.act_window"> ... <field name="context">{}</field> <!-- was wrong, reset it --> </record>
IMHO this is not very intuitive (but probably the way to go and should be documented)
intuitive (for me) is to delete the name="context">{wrong definition}</field>
Thanks for pointing out
<record id="my_action" model=" ir.actions. act_window" > >{}</field> <!-- was wrong, reset it -->
...
<field name="context"
</record>
IMHO this is not very intuitive (but probably the way to go and should be documented)
intuitive (for me) is to delete the name="context" >{wrong definition}</field>