Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4303 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
6489
2
bře 15
4415
1
bře 23
2482
0
čvn 21
2872
0
zář 16
3577