コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3758 ビュー


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


アバター
破棄
関連投稿 返信 ビュー 活動
2
6月 20
5977
2
3月 15
3961
1
3月 23
1877
0
6月 21
2274
0
9月 16
3218