Skip to content

Draft: Introduce soft consistency

Titouan Soulard requested to merge tsoulard/erp5:soft-consistency into master

This is an idea that came up some time ago, now I have use cases in Nexedi ERP5 (I remember we discussed it for "a customer project" some years ago as well). I talked with JP he said it'd be nice to have. Implementation is straightforward, questions are:

  • where should we display soft consistency messages? For now I have it on workflow dialog, I think it is good, but maybe not so visible;
  • should we prompt user to accept inconsistencies? I have mixed feelings about it;
  • should we introduce something in the Workflow history to state that such issues existed? There is this idea that we will one day have a "Consistency Workflow", that I may end up doing, so maybe not so needed for now?

To give an example of what I want to do: before confirming a Sale Order, 80% of the time we need an aggregated PDF, and often Sale Managers will forget, but I cannot enforce it (hard consistency) since there are exceptions to the rule. So this is more or less a "reminder" for users, inconsistencies that can sometimes be accepted.

I know there are many things we want to do with consistency (add tab for users, consistency workflow, etc), but this subject seems largely independent, so I do first since there is a need. Maybe also we should ditch the idea, this is mostly an MR to discuss, with a maybe-acceptable implementation on the table.

/cc @romain @jerome @cedric.leninivin @xiaowu.zhang

Edited by Jérome Perrin

Merge request reports