[20.0][MIG] printer_zpl2: Migration to 20.0 #495
The following commit authors need to sign the Contributor License Agreement:
duongtq@trobz.com
rod.schouteden@dynapps.be
duyanhitspkt@gmail.com
Jos.DeGraeve@apertoso.be
<!-- CLA BOT SIGNING COMMENT DO NOT EDIT -->
Tested locally on Odoo 20.0 (community dd797414, PostgreSQL 16, Python 3.12) together with the dependency PRs #493 and #494 merged on top of 20.0:
printer_zpl2 installs cleanly, --test-tags=/printer_zpl2: 49 tests, 0 failed, 0 errors, no warnings from the module.ir.access.csv conversion, BinaryBytes / BinaryValue.content handling for graphic_image and the labelary preview, _test_user_groups on the common test class, backend: cups on the test printers.One observation that is not caused by this PR, but shows up as soon as all three are installed together: running the base_report_to_printer tests with base_report_to_printer_cups installed gives 4 errors and 4 failures, e.g. TestPrintingJob.test_action_cancel_ → null value in column "job_id_cups" of relation "printing_job" violates not-null constraint, and TestIrActionsReportCups.test_behaviour_ → 0 not greater than or equal to 1. Same result without printer_zpl2, so it belongs to #493/#494 – just mentioning it here since this PR depends on both.
Not tested: printing on real hardware (Zebra) – only the test suite.
The red "Detect unreleased dependencies" check is expected until #493 and #494 are merged.
🤖 Generated with Claude Code
wpichler
gbaumgartner-callino
Migration to 20.0.
Depends on: - https://github.com/OCA/report-print-send/pull/493
Assisted-by: Claude Opus 5.5