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

Hi everybody !

I'm working on Odoo 12

I have a question with graph views. I want to show a weight evolution in a graph view with a line type.

My code is :

<record model="ir.ui.view" id="view_graph_consultations">
<field name="name">consultations.graph</field>
<field name="model">dt.consultation</field>
<field name="arch" type="xml">
<graph string="Consultations evolution" type="line">
<field name="date" interval="day" type="col" />
<field name="weight" type="measure" />
</graph>
</field>
</record>   

And the result is what i was expected, but the problem is that i don't want a date in my x axis if i havn't a weight for this date.

I can't post image so i hope my question is clear ^^


Thanks you :)

Avatar
Hylkää

did you find a solution? I hope you still remember

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
heinäk. 21
1645
1
toukok. 20
7321
0
marrask. 19
2363
1
jouluk. 16
8299
2
huhtik. 16
3129