Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
871 Ansichten

Hi, I was struggling with this, maybe someone else is also not yet familiar with this, what I did is I experimented and got to solution.

This happened to me when I changed module and archived a field that was a selection type and changed it to Many2one. There was still users that had their default filter using the archived field and when they opened the tree view of the model they had error saying (more less):

...
ValueError: Invalid field 'my_selection_field' on model 'my.custom.model'
Avatar
Verwerfen
Autor Beste Antwort

So the solution was to:

  1. Start the developer mode
  2. Open any tree view
  3. Select the "bug" and option "Manage Filters"



  4. Remove all default filtration from the view and use "Context" custom filter field to find the 'my_selection_field' in issue.



  5. And delete the views you find there

There - Solved :)

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
März 25
6356
0
Dez. 24
1471
2
Jan. 24
2079
1
Sept. 23
1794
4
Apr. 25
12527