Skip to Content
Menu
This question has been flagged
4696 Rodiniai


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


Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
birž. 20
7029
2
kov. 15
4833
1
kov. 23
2907
0
birž. 21
3307
0
rugs. 16
3855