Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4799 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 15
4322
1
thg 1 23
4078
0
thg 10 22
1628
0
thg 8 22
3
0
thg 12 21
51