Ir al contenido
Menú
Se marcó esta pregunta

This is the main calendar view definition:

        <record id="event_mgmt_view_calendar" model="ir.ui.view">
            <field name="name">event_mgmt.event_mgmt.view.calendar</field>
            <field name="model">event_mgmt.event_mgmt</field>
            <field name="search_view_id" ref="view_event_mgmt_events_filter"/>            
            <field name="arch" type="xml">
                <calendar string="Events Calendar" date_start="assembly_start_time" date_stop="disassembly_finish_time" color="venue_id" mode="month" quick_add="False">
                    <field name="reference_code"/>
                    <field name="name"/>
                    <field name="venue_id"/>
                    <field name="stage_id"/>
                    <field name="partner_id"/>
                </calendar>
            </field>
        </record>


With this definition, we would expect the colors to be fixed. This is, each "venue" is assigned a color and it's always the same color. At least we would expect this behaviour while the service is not restarted.

The point is that the color of each venue is constantly changing, and as far as we have checked it out has nothing to do with any eventual restart of the service.


Is there a parameter or something missing to make this color assignment persistent through time?


Thank for your help! Best Regards!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 25
702
2
ene 25
1231
1
ene 24
1317
0
dic 21
1918
1
dic 20
6867