在odoo 9的日历视图

时间:2017-04-17 14:12:32

标签: openerp odoo-9

是否可以在odoo 9的日历视图中显示状态=完成的所有项目,以及日历中不需要的状态(新的,进行中)的其他项目。

1 个答案:

答案 0 :(得分:1)

如果你想在任何视图中显示一些记录:树,形式.... 您需要在XML场中的WindowAction记录中提供域:

<record .. model="ir.actions.act_window">
    ....
    ...
    <!-- this is for testing only if it return all record 
         then this doesn't work else you domain is wrong -->
    <field name="domain">[('id','=','False)]</field>
  </record>