Odoo Help

1

yaml test and --test-commit

By
Davide Corio
on 7/12/13, 1:16 PM 1,276 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?

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

Question tools

0 follower(s)

Stats

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