如何在状态栏中显示当前,上一个和下一个阶段?
我的python代码如下:
workflow_stage = fields.Many2one('stage.name', group_expand='_operation_process_stage_ids'
,domain="[('stage_name', '=', work_flow_type)]")
Xml代码:
<field name="workflow_stage" domain="[('stage_name', '=', workflow_stage)]"
widget="statusbar" options="{'fold_field': 'fold'}"/>