|
@ -4,15 +4,11 @@ |
|
|
|
|
|
|
|
|
from odoo import _, api, fields, models |
|
|
from odoo import _, api, fields, models |
|
|
from odoo.exceptions import ValidationError |
|
|
from odoo.exceptions import ValidationError |
|
|
|
|
|
from oca.decorators import foreach # pylint: disable=W7935 |
|
|
import logging |
|
|
import logging |
|
|
|
|
|
|
|
|
_logger = logging.getLogger(__name__) |
|
|
_logger = logging.getLogger(__name__) |
|
|
|
|
|
|
|
|
try: |
|
|
|
|
|
from oca.decorators import foreach |
|
|
|
|
|
except ImportError: # pragma: no-cover |
|
|
|
|
|
_logger.warn("Missing dependency", exc_info=True) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PosConfig(models.Model): |
|
|
class PosConfig(models.Model): |
|
|
_inherit = 'pos.config' |
|
|
_inherit = 'pos.config' |
|
|