Author: |
SUBTENO-IT, FLorent de Labarre, Apertoso NV, Odoo Community Association (OCA) |
License: |
AGPL-3 |
Branch: |
12.0 |
Repository: |
brain-tec/report-print-send |
Dependencies: |
base_report_to_printer |
Languages: |
PO File (8798, 79.7%),
Python (1937, 17.5%),
XML (245, 2.2%),
and
reStructuredText (60, 0.5%) |
Other branches: |
10.0,
11.0,
11.0-xp,
13.0,
14,
14.0,
14.0-ocabot-merge-pr-313-by-sebalix-bump-nobump,
14.0-ocabot-merge-pr-313-by-simahawk-bump-nobump,
15.0,
15.0.migration_from_ge,
15.0.project_PT_642,
9.0,
and
moylop260-patch-1 |
Other repositories: |
2FM/report-print-send,
ACCOMODATA-BVBA/report-print-send,
AMhadhbi/report-print-send,
Alfa-90/report-print-send,
AliWebkul/report-print-send,
BibekLamichhane/report-print-send,
Change2improve/report-print-send,
ClearCorp/oca-report-print-send,
CompassionCH/report-print-send,
Comunitea/report-print-send,
Dobtor-OCA/report-print-send,
ForgeFlow/report-print-send,
Gabinete-Digital/report-print-send,
Guobower/report-print-send,
Hamza-Talibi/report-print-send,
HomerDeoDatu/report-print-send,
Ingeos/report-print-send,
Jarsa/report-print-send,
JibenCL/report-print-send,
LasLabs/report-print-send,
NeatNerdPrime/report-print-send,
OCA-MUK/report-print-send,
OCA/report-print-send,
QANSEE/report-print-send,
RealSolutionsLux/report-print-send,
SHEFFIELDAFRICA/report-print-send,
SerpentConsultingServices/report-print-send,
SeuMarco/report-print-send,
Style-sen/report-print-send,
Tecnativa/report-print-send,
ThomasBinsfeld/report-print-send,
Vauxoo/report-print-send,
VisiionSolucionesTecnologicas/report-print-send,
aaltinisik/report-print-send,
abaghirli/report-print-send,
abakus-it/report-print-send,
acsone/report-print-send,
adhoc-dev/report-print-send,
agknz/report-print-send,
ahilali/report-print-send,
ajinvn2019/report-print-send,
akretion/report-print-send,
alesisjoan/report-print-send,
alfieqashwa/report-print-send,
amendoncabh/report-print-send,
angelmoya/report-print-send,
anhvu-sg/report-print-send,
antilhue/report-print-send,
apachesep/report-print-send,
apetbiz/report-print-send,
aroodooteam/report-print-send,
aurestic/report-print-send,
blutecsolutions/report-print-send,
bvkl/report-print-send,
camptocamp/report-print-send,
conandark/report-print-send,
connect-to-ak/report-print-send,
damendieta/report-print-send,
daramousk/report-print-send,
dyshrmn/report-print-send,
etobella/report-print-send,
eucedajosue/report-print-send,
fmdl/report-print-send,
gdgellatly/report-print-send,
grindtildeath/report-print-send,
guidev224/report-print-send,
gurneyalex/report-print-send,
guwenfeng/report-print-send,
hammadraza/report-print-send,
haroldtamo/report-print-send,
haryoran04/report-print-send,
iamyeonhan/report-print-send,
igallart/report-print-send,
igh-fp/report-print-send,
isoscl/report-print-send,
jardosa/report-print-send,
jco-subteno-it/report-print-send,
josueBulle/report-print-send,
karizmaconseil/report-print-send-1,
kmee/report-print-send,
lideritjnma/report-print-send,
maniraj89/report-print-send,
markrobinson85/report-print-send,
mikael85/report-print-send,
mohamed-helmy/report-print-send,
mohamedhabibchallouf/report-print-send,
myonnet/oca-report-print-send,
nbessi/report-print-send,
nbornand/report-print-send,
niulinlnc/report-print-send,
noorealam96/report-print-send,
odoonz/report-print-send,
onurugur/report-print-send,
pscloud/report-print-send,
puchisco/report-print-send,
quentingigon/report-print-send,
robertsvx27/report-print-send,
rosenvladimirov/report-print-send,
rosyidridho/report-print-send,
roussel2nis/report-print-send,
rousseldenis/report-print-send,
royalline1/report-print-send,
rudisulistyo/report-print-send,
rven/report-print-send,
sanube/report-print-send,
schout-it/report-print-send,
sebalix/report-print-send,
sematicshood/flectra,
sendalpegat/report-print-send,
sewisoft/report-print-send,
subteno-it/report-print-send,
tegin/report-print-send,
thomasbshop/report-print-send,
ti-ku/report-print-send,
ursais/report-print-send,
vertelab/report-print-send,
vvrossem/report-print-send,
westlyou/report-print-send,
widiana/report-print-send,
x0rzkov/odoo-report-print-send,
xpansa/report-print-send,
xpertiz/report-print-send,
ygdmxy/report-print-send,
zarumaru/report-print-send,
zeroincombenze/report-print-send,
and
zohaibrehman/report-print-send |
<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg">
</a>
<a name="zpl-ii-label-printing"></a>
<h2>ZPL II Label printing</h2>
<p>This module extends the <strong>Report to printer</strong> (<code>base_report_to_printer</code>)
module to add a ZPL II label printing feature.</p>
<p>This module is meant to be used as a base for module development, and does not provide a GUI on its own.
See below for more details.</p>
<a name="installation"></a>
<h3>Installation</h3>
<p>Nothing special, just install the module.</p>
<a name="configuration"></a>
<h3>Configuration</h3>
<p>To configure this module, you need to:</p>
<ol class="arabic simple">
<li>Go to <em>Settings > Printing > Labels > ZPL II</em></li>
<li>Create new labels</li>
<li>Import ZPL2 code</li>
<li>Use the Test Mode tab during the creation</li>
</ol>
<p>It's also possible to add a label printing wizard on any model by creating a new <em>ir.actions.act_window</em> record.
For example, to add the printing wizard on the <em>product.product</em> model</p>
<pre>
<code><act_window id="action_wizard_purchase"
name="Print Label"
src_model="product.product"
res_model="wizard.print.record.label"
view_mode="form"
target="new"
key2="client_action_multi"/></code>
</pre>
<a name="usage"></a>
<h3>Usage</h3>
<p>To print a label, you need to call use the label printing method from anywhere (other modules, server actions, etc.).</p>
<p>Example : Print the label of a product</p>
<pre>
<code>self.env['printing.label.zpl2'].browse(label_id).print_label(
self.env['printing.printer'].browse(printer_id),
self.env['product.product'].browse(product_id))</code>
</pre>
<p>You can also use the generic label printing wizard, if added on some models.</p>
<a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/144/12.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a>
<a name="known-issues-roadmap"></a>
<h3>Known issues / Roadmap</h3>
<ul class="simple">
<li>Develop a "Designer" view in a separate module, to allow drawing labels with simple mouse clicks/drags</li>
</ul>
<a name="bug-tracker"></a>
<h3>Bug Tracker</h3>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/report-print-send/issues">GitHub Issues</a>. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.</p>
<a name="credits"></a>
<h3>Credits</h3>
<a name="images"></a>
<h4>Images</h4>
<ul class="simple">
<li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li>
</ul>
<a name="contributors"></a>
<h4>Contributors</h4>
<ul class="simple">
<li>Sylvain Garancher <<a class="reference external" href="mailto:sylvain.garancher@syleam.fr">sylvain.garancher@syleam.fr</a>></li>
<li>Florent de Labarre</li>
<li>Jos De Graeve <<a class="reference external" href="mailto:Jos.DeGraeve@apertoso.be">Jos.DeGraeve@apertoso.be</a>></li>
</ul>
<a name="maintainer"></a>
<h4>Maintainer</h4>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>This module is maintained by the OCA.</p>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>