【求助】odoo13中的仪表板编辑布局时,报错缺少参数
-
<?xml version="1.0"?> <odoo> <data> <!--引用模型列表/表单视图--> <record model="ir.actions.act_window" id="act_course_list"> <field name="name">crm.lead.tree.lead</field> <field name="res_model">crm.lead</field> <field name="view_mode">tree,form</field> <field name="view_ids" eval="[(5, 0, 0), (0, 0, {'view_mode': 'tree', 'view_id': ref('crm.crm_case_tree_view_leads')}), (0, 0, {'view_mode': 'form', 'view_id': ref('crm.quick_create_opportunity_form')})]"/> </record> <!--定义仪表板form表单--> <record model="ir.ui.view" id="sps_board_session_form"> <field name="name">SPS My Dashboard</field> <field name="model">board.board</field> <field name="inherit_id" ref="board.board_my_dash_view"/> <field name="arch" type="xml"> <xpath expr="//board/column" position="inside"> <action id="test5" string="线索" name="%(act_course_list)d"/> </xpath> </field> </record> </data> </odoo>
点击更改布局,选择一个布局时
报如下错误:TypeError: edit_custom() missing 1 required positional argument: 'custom_id'
请问这个应该怎么解决呢?谢谢