Before this commit: printing a product's label which has currency with zero decimal places (like CFA franc) raised a traceback error. To fix this issue, I added a condition that checks whether there is a separator in the value to ensure that the currency has a decimal point. opw-2711074 closes odoo/odoo#83358 X-original-commit: bc2ad6ac2312d8446e6d2a9909e957d5e18c3c0e Signed-off-by: Simon Goffin <sig@odoo.com> Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>