Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <odoo>
- <data>
- <report
- id="libreria.report_libro"
- model="libreria.libro"
- string="Informe Libro"
- name="libreria.report_libro_view"
- file="libreria.report_libro_view"
- report_type="qweb-html"/>
- <template id="report_libro_view">
- <t t-call="report.html_container">
- <t t-foreach="docs" t-as="libro">
- <t t-call="report.external_layout">
- <div class ="page">
- <h2 t-field="libro.name"/>
- <div>
- <strong>Precio:</strong>
- <span t-field="libro.precio"/>
- </div>
- <div>
- <strong>Ejemplares:</strong>
- <span t-field="libro.ejemplares"/>
- </div>
- <div>
- <strong>Categoria:</strong>
- <span t-field="libro.categoria"/>
- </div>
- </div>
- </t>
- </t>
- </t>
- </template>
- </data>
- </odoo>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement