Odoo Help

Welcome!

This community 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.

1

yaml test and --test-commit

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

as per this:

https://accounts.openerp.com/forum/Help-1/question/10366/

--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?

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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