Created on 2021-11-13.17:11:30 by numaelis, last changed 2 months ago by numaelis.
I'm not sure if it's a bug
SAO 6.0 client.
I have created a new menu / view (tree-form) for party.party with a domain for categories, I have done it only with xml or with wizard.
<record model = "ir.action.act_window" id = "act_party_form">
<field name = "name"> Parties 2 </field>
<field name = "res_model"> party.party </field>
<field name = "domain" eval = "[('categories', '=', 'people2')]" pyson = "1" />
action ['pyson_domain'] = PYSONEncoder (). encode (
[('categories', '=', 'people2')])
I can launch the new view perfectly with the domain filter ... I can switch to form mode, but I can't go back to tree mode.
I was able to solve by changing the domain using wizard with [('id', 'in', ids)]), after doing a search with pool ()
Showing 10 items. Show all history (warning: this could be VERY long)