Přejít na obsah
Menu
You need to be registered to interact with the community.
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
úno 25
956
2
led 25
1752
1
led 24
1629
0
pro 21
2225
1
pro 20
7073