Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3109 Представления

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?

Аватар
Отменить

are you trying categ_id ? typo error

Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
июл. 24
2686
1
июн. 24
5148
1
окт. 23
10865
1
окт. 23
98
1
авг. 23
2193