• Tristan Cavelier's avatar
    erp5_discussion: change reference generation behavior on forum thread creation · 17bd328d
    Tristan Cavelier authored
    Previous behavior was to generate reference this way : `sanitized title` if reference was not already existing else `random "-" sanitized title`.
    Now it generates `sanitized title "-" random` with:
    - `random` at the end to maximize search engine optimization;
    - `random` every time present to prevent creating document with the same reference by mistake.
    
    + update tests
    17bd328d
testERP5Discussion.py 10 KB