Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4547 Tampilan


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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jun 20
6826
2
Mar 15
4664
1
Mar 23
2720
0
Jun 21
3111
0
Sep 16
3742