Skip to Content
Menu
This question has been flagged
4402 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
6661
2
kov. 15
4532
1
kov. 23
2596
0
birž. 21
2987
0
rugs. 16
3645