Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !226

Open
Created Jan 26, 2017 by Kazuhiko Shiozaki@kazuhikoOwner
  • Report abuse
Report abuse

WIP: simulation: add 'frozen' state in causality workflow for documents that are no longer simulated.

  • Overview 3
  • Commits 2
  • Changes 11
  • erp5_base: add frozen state and freeze transition in delivery_causality_workflow.
  • ERP5/mixin/rule.py: do nothing in _updateSimulation() if causality_state is 'frozen'.

Background :

The purpose I need this is to delete simulation trees (and avoid regeneration of simulation tree of course) for old enough documents whith we no longer want to handle at all. Since the consistency with simulation is tracked by causality_state, I choose it as the place to declare no-longer-simulated. And I choose frozen as the state id and freeze as the transition id and also give Add portal content permission to nobody and Modify portal content permission to Manager only.

But there may be use cases where we simply want to abandon simulation but still wants to modify or add sub documents etc. If so, the id of the new state and the transition should be different (but what ?).

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: no_longer_simulated_state
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7