Skip to Content
Menu
This question has been flagged

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
Discard
Related Posts Replies Views Activity
1
Jan 24
316
0
Dec 21
1213
1
Dec 20
6218
0
Nov 16
2714
1
Feb 23
1957