|
@ -10,8 +10,16 @@ |
|
|
<body class="container"> |
|
|
<body class="container"> |
|
|
<div class="page"> |
|
|
<div class="page"> |
|
|
<t t-foreach="docs.with_context(show_address=True)" t-as="this"> |
|
|
<t t-foreach="docs.with_context(show_address=True)" t-as="this"> |
|
|
<div t-attf-style="height: {{this.company_id.partner_labels_height}}mm; width: {{this.company_id.partner_labels_width}}mm; padding: {{this.company_id.partner_labels_padding}}mm; margin: {{this.company_id.partner_labels_margin}}mm; display: inline-block; overflow: hidden;"> |
|
|
|
|
|
<address t-field="this.self" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' /> |
|
|
|
|
|
|
|
|
<div t-attf-style="height: {{this.company_id.partner_labels_height}}mm; |
|
|
|
|
|
width: {{this.company_id.partner_labels_width}}mm; |
|
|
|
|
|
padding: {{this.company_id.partner_labels_padding}}mm; |
|
|
|
|
|
margin: {{this.company_id.partner_labels_margin}}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> |
|
|
</div> |
|
|
</t> |
|
|
</t> |
|
|
</div> |
|
|
</div> |
|
@ -19,7 +27,7 @@ |
|
|
</html> |
|
|
</html> |
|
|
</template> |
|
|
</template> |
|
|
<report id="report_res_partner_label" |
|
|
<report id="report_res_partner_label" |
|
|
string="Labels" |
|
|
|
|
|
|
|
|
string="Partner Labels" |
|
|
model="res.partner" |
|
|
model="res.partner" |
|
|
name="partner_label.view_res_partner_label" |
|
|
name="partner_label.view_res_partner_label" |
|
|
report_type="qweb-pdf" |
|
|
report_type="qweb-pdf" |
|
|