<?xml version="1.0" encoding="utf-8"?>
<openerp>
	<data>
		<report id="list_coste_product" model="product.template" string="Precio Coste de Producto" report_type="qweb-pdf"
            name="report_product.print_product_standard_view" file="report_product.print_product_standard_view" />

		<template id="print_product_standard_view">
			<t t-call="report.html_container">
				<t t-call="report.internal_layout">
					  <div class="page">
							<style type="text/css">
								.crm_tcab{
								font-size: 3mm;
								font-family: Arial, Helvetica, sans-serif;
								}
								.crm_tbody{
								font-size: 2.8mm;
								font-family: Arial, Helvetica, sans-serif;
								}
							</style>
						  <h2 class="text-center"><strong>Listado de Precio Coste de Productos</strong></h2>
            	<table class="table table-condensed">
						  <thead class="crm_tcab">
								<tr class="active">
						      <th><strong>Producto</strong></th>
						      <th><strong>Referencia de Fabrica</strong></th>
						      <th><strong>Precio de Coste</strong></th>
									<th><strong>Precio de Venta</strong></th>
						    </tr>
						  </thead>
							<t t-foreach="docs" t-as="o">
						  <tbody class="crm_tbody">
								<tr>
						     	<td> <span t-field="o.name"/> </td>
						     	<td> <span t-field="o.factory_reference"/> </td>
								 	<td> <span t-field="o.standard_price"/> </td>
								 	<td> <span t-field="o.list_price"/> </td>
							 	</tr>
							</tbody>
							</t>
						  </table>
						</div>
				</t>
			</t>
		</template>
	</data>
</openerp>
