mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] printer_zpl2: Adapt code about having the library embedded
This commit is contained in:
@@ -11,12 +11,9 @@ from PIL import Image, ImageOps
|
||||
|
||||
from odoo import _, fields, models
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
from ..models import zpl2
|
||||
|
||||
try:
|
||||
import zpl2
|
||||
except ImportError:
|
||||
_logger.debug("Cannot `import zpl2`.")
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _compute_arg(data, arg):
|
||||
|
||||
Reference in New Issue
Block a user