Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4529 มุมมอง


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


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Why native test fails? แก้ไขแล้ว
2
มิ.ย. 20
6793
2
มี.ค. 15
4646
Very simple POS Tests go to backoffice แก้ไขแล้ว
1
มี.ค. 23
2700
0
มิ.ย. 21
3090
0
ก.ย. 16
3730