Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4208 Näkymät

Hi, i'm working with Odoo V8 and I wan't to create a new report in the "customer list view" : res.partner.tree.

I have no idea how to do it. I read the official documentation and this : \http://www.odoo.yenthevg.com/creating-custom-reports-odoo-8/  plus some post here.


What I don't understand is how in a new module link my report with the existing view.


Thanks for your help

Avatar
Hylkää
Paras vastaus

Try this solution :first of all you must add an xml file under a report folder, do not forget to add the path under openerp.py

in your xml.file:

<?xml version="1.0" encoding="utf-8"?>

<openerp>

<data>

<report string="Dossier Medical"

id="action_report_dossier_medical"

model="medical.appointment"

report_type="qweb-pdf"

name="medical.report_dossier_medical"

file="medical.report_dossier_medical"/>


<template id="report_dossier_medical">

.......................................

.....................................

</template>

</data>

</openerp>

good luck

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
jouluk. 17
3609
1
syysk. 17
5100
2
helmik. 17
7165
1
elok. 16
16601
0
tammik. 16
3336