Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3105 Widoki

I clicked Edit Action in open developer tool and wrote some filters value in Domain Value.But I make wrong spelling.So I got

ValueError: Invalid field 'catge_id' in leaf "<osv.ExtendedLeaf: ('catge_id', '=', 'Diet Item') on product_template (ctx: )>"

error.How can I fix it?

Awatar
Odrzuć

are you trying categ_id ? typo error

Najlepsza odpowiedź

Hi SuDarly,

The domain that you've created is in fact invalid. It is saying catge_id instead of categ_id. Fix it like this:

([('categ_id', '=', 'Diet Item')])

P.S: This is a very hardcoded domain, you might want to make it more dynamic or flexible.

Regards,
Yenthe

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 24
2685
1
cze 24
5147
1
paź 23
10863
1
paź 23
98
1
sie 23
2193