Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
feb 25
808
2
gen 25
1490
1
gen 24
1462
0
dic 21
2048
1
dic 20
6954