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


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
6606
2
3月 15
4519
1
3月 23
2554
0
6月 21
2972
0
9月 16
3626