Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4721 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
7035
2
bře 15
4846
1
bře 23
2916
0
čvn 21
3324
0
zář 16
3865