Odoo Help

0

0
2 Answers
1
Dhaval Desai
5/20/19, 2:23 AM


Hi,

Here is product qty is a computed field. compute field does not store in database.

you can used compute field in domain, when it is store in database, otherwise it will return null.

so add parameter store=True in field definition.

if compute field have store=True parameter, it will store in database and you can used as domain.

Make sure it will help.

Thank You.

1 Comment
Zbik
5/20/19, 4:16 AM

Quoting previous answers and giving them as yours is not very elegant

0
Avatar

Zbik

--Zbik--
10923
| 7 6 9
Łódź, Poland
--Zbik--


Zbik
5/19/19, 1:31 PM

Field product qty is a computed field. Field computed can be used in domain, only when it is stored in database - parameter store=True in field definition.

1 Comment
Magen
5/20/19, 4:01 AM

oh, I had overlooked that one. Thank you for pointing it out.

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now