Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 25
798
2
thg 1 25
1455
1
thg 1 24
1442
0
thg 12 21
2036
1
thg 12 20
6943