diff options
| author | Kinjal Mehta <kme@odoo.com> | 2017-12-27 16:20:10 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-02-06 08:56:54 +0100 |
| commit | e25d0b38913c276e67e415e76af5720bb99fc04c (patch) | |
| tree | 8aa81bf6e90bb4fd4559112a9a2897e5bbfb8a71 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 05fc6f52d07c3a93fb56d478c78bd4e430122065 (diff) | |
[IMP] project: Remove a shared stage if no linked record inside this project
Purpose
=======
Projects may have share columns. If we want to delete a stage on a project there's several use case
Specification
=============
Different use cases:
- The stage is shared
- There's no task in this stage for this project: Remove the stage from this project, don't delete it
- There's a task in this stage (Active or not): Raise an error from the ondelete restrict
- The stage is not shared
- There's no task in this stage: Delete the stage (unlink)
- There's a task in this stage (Active or not): Raise an error from the ondelete restrict
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
