跳至內容
選單
此問題已被標幟
4773 瀏覽次數

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
5月 15
4289
1
1月 23
4031
0
10月 22
1590
0
8月 22
3
0
12月 21
51