Odoo Help


Runbot, inherited models with required fields

Denis Roussel
on 5/21/15, 3:03 AM 517 views


We try to implement runbot to check our devs.

It seems to be ok with few simple modules.

But (and maybe it's a non understanding of the framework on our side), we have errors (in job_20) when we try to add modules with models inheriting from others with required fields (The NOT NULL column error).

As we understand why, we wanted to know how to write correctly our modules to fit runbot tests.

In a daily usage, we can launch a query to fill existing NULL columns, but in a test case not...

Can someone help us or just give clues?

Many thanks

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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.


Odoo Training Center

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

Test it now

Question tools

1 follower(s)


Asked: 5/21/15, 3:03 AM
Seen: 517 times
Last updated: 5/21/15, 3:03 AM