Odoo Help


yaml test and --test-commit

Davide Corio
on 7/12/13, 1:16 PM 1,393 views

as per this:


--test-commit isn't needed, but...

what if i'd like to do something like:

    I create an ObjectA
  !record {model: object.a, id: object_a_1}:
    name: "OA"
    I create an ObjectB
  !record {model: object.b, id: object_b_1}:
    name: "OB"
    object_a_id: object_a_1

In this case --test-commit is needed otherwise the second test won't find object_a_1

Is this true?

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

0 follower(s)


Asked: 7/12/13, 1:16 PM
Seen: 1393 times
Last updated: 3/16/15, 8:10 AM