Create product with a trailing space in template code raise RecursionError
The synchronisation of the code enters in an infinite loop because the code generated with trailing space is always different than the one stored in the database (which is stripped).