I am testing dolibarr 3.6.2
I try to change ID project mask on /projet/admin/project.php
I use PJ-{ccc}-{yy}{mm}-{000} mask.
Sample column display “PJ-CCC-1501-002”
But when I create a new project, the ID is “PJ-###-1501-002”
The bug come because the ref of project is currently defined during creation of draft project instead of being defined at validation step, like it is done for other elements.
At validation step, customer is know and replacement can occurs. But not at initial creation.
We should first fix the behaviour that does not match other element before fixing this.