summaryrefslogtreecommitdiff
path: root/jasper_reports/custom_reports/Barcode_Product.jrxml
blob: db5f6f20ee48ea6929c486b8506e96737580b6bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.20.5.final using JasperReports Library version 6.20.5-3efcf2e67f959db3888d79f73dde2dbd7acb4f8e  -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Barcode_Product" pageWidth="595" pageHeight="420" orientation="Landscape" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="3a6cae01-2490-4ba8-8ebf-78853bccc55d">
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="barcodeproduct.jrdax"/>
	<property name="ODOO_RELATIONS">
		<![CDATA[['move_ids_without_package']]]>
	</property>
	<property name="com.jaspersoft.studio.unit." value="pixel"/>
	<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
	<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
	<queryString language="XPath">
		<![CDATA[]]>
	</queryString>
	<field name="QR_Code_Variant-qr_code_variant" class="java.lang.String">
		<property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Stock_moves_not_in_package-move_ids_without_package/QR_Code_Variant-qr_code_variant"/>
		<fieldDescription><![CDATA[/data/record/Stock_moves_not_in_package-move_ids_without_package/QR_Code_Variant-qr_code_variant]]></fieldDescription>
	</field>
	<field name="Display_Name-display_name" class="java.lang.String">
		<property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Stock_moves_not_in_package-move_ids_without_package/Product-product_id/Display_Name-display_name"/>
		<fieldDescription><![CDATA[/data/record/Stock_moves_not_in_package-move_ids_without_package/Product-product_id/Display_Name-display_name]]></fieldDescription>
	</field>
	<field name="QR_Code_Variant-qr_code_variant_1" class="java.lang.String">
		<property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Stock_moves_not_in_package-move_ids_without_package/Product-product_id/QR_Code_Variant-qr_code_variant"/>
		<fieldDescription><![CDATA[/data/record/Stock_moves_not_in_package-move_ids_without_package/Product-product_id/QR_Code_Variant-qr_code_variant]]></fieldDescription>
	</field>
	<field name="Demand-product_uom_qty" class="java.lang.String">
		<property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Stock_moves_not_in_package-move_ids_without_package/Demand-product_uom_qty"/>
		<fieldDescription><![CDATA[/data/record/Stock_moves_not_in_package-move_ids_without_package/Demand-product_uom_qty]]></fieldDescription>
	</field>
	<field name="Print_Barcode-print_barcode" class="java.lang.String">
		<property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Stock_moves_not_in_package-move_ids_without_package/Print_Barcode-print_barcode"/>
		<fieldDescription><![CDATA[/data/record/Stock_moves_not_in_package-move_ids_without_package/Print_Barcode-print_barcode]]></fieldDescription>
	</field>
	<detail>
		<band height="380" splitType="Stretch">
			<image hAlign="Center">
				<reportElement x="0" y="0" width="280" height="380" isRemoveLineWhenBlank="true" uuid="6222a8c9-e873-48fa-a98a-029970fbb4ff"/>
				<imageExpression><![CDATA[$F{Print_Barcode-print_barcode}.equals("True") ? $F{QR_Code_Variant-qr_code_variant_1} : null]]></imageExpression>
			</image>
			<textField isBlankWhenNull="true">
				<reportElement x="320" y="0" width="240" height="380" isRemoveLineWhenBlank="true" uuid="8b7cc4d3-0c91-4ad7-a25d-403806e0978b"/>
				<textElement textAlignment="Center">
					<font size="35" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{Print_Barcode-print_barcode}.equals("True") ? $F{Display_Name-display_name} : null]]></textFieldExpression>
			</textField>
		</band>
	</detail>
</jasperReport>