0

加载我的日历时出现错误 Uncaught TypeError: Cannot read property 'selection' of undefined my view is

 `<record model="ir.ui.view" id="calldata_calendar_view">
               <field name="name">calldata.calendar</field>
               <field name="model">calldata</field>
               <field name="type">calendar</field>
               <field name="arch" type="xml">
                <calendar string="Call details" date_start="Call_start">
                   <field name="Dialled_number"  string="Dialled number"/>
               </calendar>
               </field>
               </record>`

有人请帮忙吗?

4

1 回答 1

0

标签中缺少颜色属性。

<calendar string="Call details" date_start="Call_start" color="Dialled_number">
    <field name="Dialled_number"  string="Dialled number"/>
</calendar>

查看有关日历视图的更多信息。

于 2013-10-29T05:30:43.897 回答