mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] base_exception_user: remove unused logger import and commented code
This commit is contained in:
@@ -3,12 +3,9 @@
|
||||
from odoo import fields
|
||||
from odoo.tests import common, Form
|
||||
from odoo.addons.base_exception.tests.purchase_test import PurchaseTest, LineTest
|
||||
# from odoo.addons.base_exception.tests.test_base_exception import TestBaseException
|
||||
|
||||
from .common import setup_test_model
|
||||
from .purchase_test import PurchaseUserTest, PurchaseTestExceptionRuleConfirm
|
||||
import logging
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@common.tagged("post_install", "-at_install")
|
||||
@@ -102,7 +99,6 @@ class TestBaseExceptionUser(common.SavepointCase):
|
||||
)
|
||||
|
||||
def test_purchase_order_exception_ignore(self):
|
||||
# _logger.warning('starting test_purchase_order_exception_ignore')
|
||||
partner = self.env.ref("base.res_partner_1")
|
||||
partner.zip = False
|
||||
potest1 = self.env['base.exception.test.purchase'].with_user(self.user_test).create(
|
||||
|
||||
Reference in New Issue
Block a user