• Tristan Cavelier's avatar
    erp5_discussion: change reference generation behavior on forum thread creation · 77c686a3
    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
    77c686a3
testERP5Discussion.py 10 KB