Odoo 8 项目工作流程 - 为任务添加新阶段

Odoo 8 workflow for project - add new stages for tasks

我删除了 Odoo 项目中的现有阶段并创建了三个阶段:

如何确保移动到 "Done" 的任务被假定为已完成(即它们在指定的截止日期后不再以红色突出显示)?

我尝试从“项目”页面启用“调试”视图和 "Edit Workflow"。工作流是空的。有一个 "Import" csv 文件的选项。有没有办法生成这个 CSV?

更新1:

基于this bug/explanation ,我想我已经删除了阶段。 (摘录如下)

Bug Description

This is a usability issue:

After creating a new project, A Project Manager clicks on it project at the Project Kanban view and navigates to the Task Kanban View.

There he deletes one of the Stage, to remove it from it's project stage list. However, this actually deletes the Stage from the Stages table, so it's also removed from all other projects.

My suggestion is to remove the Stages "delete" option at Kanban Views: this should be done only on the Project's definitions Stage list.

是否可以恢复原始阶段以便我可以使用阶段"Completed"将任务标记为完成?

将阶段 "Done" 标记为 'folded' 状态。

原始阶段定义包含在文件 addons/project/project_data.xml 中并标记为 no_update=='1',以便在更新项目模块时不会重新创建它们。

共有三个 'folded' 阶段定义,您可以使用外部 ID project.project_tt_mergeproject.project_tt_deployment(标记为 'Done')和 project.project_tt_cancel.

这些只是建议,当然可以删除并替换为您自己的定义。

配置 "Done" activity 并将 "flow_stop" 属性设置为 True。这就是工作流实例被视为完成的方式。

信息:https://www.odoo.com/documentation/8.0/reference/workflows.html