Ir al contenido
Menú
Se marcó esta pregunta

I added calendar view on stock transfer (stock.picking). I see the transfer name in the calendar view label. However, I want to see a different field that I added on the stock transfer as a label. (x_city)

I found the following code for XML on forums.

display="[name]"

I used this code in calendar view.

Image Link: https://prnt.sc/BYUE75MIWSaS

But when I try to save I get the following error.

https://prnt.sc/KmIGy50wJrip

How can I see x_city field in tag in XML.

my code;
















Avatar
Descartar
Autor

my code;

<?xml version="1.0"?>
<calendar string="Calendar View" date_start="scheduled_date" display="[x_city]" color="x_city" event_limit="10">
<field name="x_city" filters="1"/>
<field name="partner_id"/>
<field name="origin"/>
<field name="picking_type_id"/>
<field name="state"/>
</calendar>

Publicaciones relacionadas Respuestas Vistas Actividad
1
ene 24
1456
2
sept 22
2070
0
jun 23
1648
1
feb 22
3121
0
nov 20
3921