When creating a product document, it was still possible to save something that wasn't a pdf. The check only happened when modifying it. opw-3802795 closes odoo/odoo#160879 Signed-off-by: Morgane Demesmaeker <edm@odoo.com>
When creating a product document, it was still possible to save something that wasn't a pdf. The check only happened when modifying it. opw-3802795 closes odoo/odoo#160879 Signed-off-by: Morgane Demesmaeker <edm@odoo.com>