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


Hello how can I override Odoo general test


@tagged('post_install', '-at_install')
class TestPayment(AccountingTestCase):
this is not working.

import addons.account.tests.test_payment
from addons.account.tests.account_test_classes import AccountingTestCase
from odoo.tests import tagged


@tagged('post_install', '-at_install')
class TestPayment(AccountingTestCase):
def test_full_payment_process(self):
pass

addons.account.tests.test_payment.TestPayment = TestPayment


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 6 20
6606
2
thg 3 15
4518
1
thg 3 23
2554
0
thg 6 21
2972
0
thg 9 16
3626