You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.5 KiB
36 lines
1.5 KiB
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<odoo>
|
|
<template id="view_res_partner_label">
|
|
<t t-call="web.basic_layout">
|
|
<t t-set="company_id" t-value="res_company" />
|
|
<t t-foreach="docs.with_context(show_address=True)" t-as="this">
|
|
<div
|
|
t-attf-style="height: {{company_id.partner_labels_height}}mm;
|
|
width: {{company_id.partner_labels_width}}mm;
|
|
padding: {{company_id.partner_labels_padding}}mm;
|
|
margin-top: {{company_id.partner_labels_margin_top}}mm;
|
|
margin-bottom: {{company_id.partner_labels_margin_bottom}}mm;
|
|
margin-left: {{company_id.partner_labels_margin_left}}mm;
|
|
margin-right: {{company_id.partner_labels_margin_right}}mm;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
float:left;
|
|
page-break-inside: avoid;"
|
|
>
|
|
<address
|
|
t-field="this.self"
|
|
t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}'
|
|
/>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</template>
|
|
<report
|
|
id="report_res_partner_label"
|
|
string="Partner Labels"
|
|
model="res.partner"
|
|
name="partner_label.view_res_partner_label"
|
|
report_type="qweb-pdf"
|
|
paperformat="base.paperformat_euro"
|
|
/>
|
|
</odoo>
|