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 140
    • Merge requests 140
  • 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
  • !460

Merged
Created Oct 18, 2017 by Cédric Le Ninivin@cedric.leninivinMaintainer

Add constraint on Causality State for packing List

  • Overview 15
  • Commits 8
  • Changes 18

For invoicing and delivering, transition requiring a "solved" causality state were testing for "building" and "diverged" states. This lead to errors as causality state can be "calculating" and heading toward divergence, but if the user is fast enough, the transition can be used before the activity marking the element as diverged.

After discussion it has been decided to move this verification on Constraint for the following reasons:

  • Having a message explain why the transition is blocked is simpler for users:
    • No need to explain to current users why their transition has gone (no formation or documentation is needed for the update)
    • Simpler for user to only remember their goal (doing the transition) and having a message explain them why they cannot
  • Bonus: The condition is verified on the transition which improve reliability.
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: master
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7