我是Openerp 7中的新人,我安装了请购单模块,在openerp 7中请购单没有审批方式,我通过视图添加了自定义按钮
<header>
<button name="tender_in_progress" states="draft" string="Send to Suppliers" type="object" class="oe_highlight"/>
<button name="tender_in_progress" states="draft" string="Approve" type="object" class="oe_highlight"/>
<button name="tender_reset" states="done,cancel" string="Reset to Draft" type="object"/>
<button name="tender_done" states="in_progress" string="Purchase Done" type="object" class="oe_highlight"/>
<button name="tender_cancel" states="draft,in_progress" string="Cancel Requisition" type="object"/>
<field name="state" widget="statusbar" statusbar_visible="draft,in_progress,done" statusbar_colors="{"in_progress":"blue"}"/>
</head变更流程或采购-基本流程草案->审批->发送
按钮正在显示,但我不知道点击[审批]按钮后,请购单状态由新建变为已审批的动作如何。请帮帮我...
发布于 2013-05-27 20:05:50
工作流不仅要添加这样的按钮,还需要创建工作流过渡。
工作流主要是在完整对象的生命周期中以垂直方式定义的技术流程。
仅供参考:你可以在"account_invoice_workflow.xml“的基础上尝试& make。
https://stackoverflow.com/questions/16771955
复制相似问题