Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4400 Zobrazení


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


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvn 20
6658
2
bře 15
4532
1
bře 23
2591
0
čvn 21
2984
0
zář 16
3645