Issue 10955

Title
unable to return to tree view mode with domain for many2many
Priority
feature
Status
unread
Nosy list
numaelis
Assigned to
Keywords

Created on 2021-11-13.17:11:30 by numaelis, last changed 2 months ago by numaelis.

Messages

Author: [hidden] (numaelis)
Date: 2021-11-13.17:11:30

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.

just xml:

<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" />
</record>

in wizard:
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 ()

History
Date User Action Args
2021-11-13 17:11:30numaeliscreate

Showing 10 items. Show all history (warning: this could be VERY long)