mollie / mollie-odoo

Mollie Payments plugin for Odoo - an open source CRM and ERP
29 stars 50 forks source link

familyName contains whitespace characters #69

Closed PCatinean closed 4 years ago

PCatinean commented 4 years ago

Whenever a user is registered with a name that contains whitespaces we get this:

odoo.addons.payment_mollie_official.models.sale_order: ERROR! The 'familyName' field should not contain only whitespace characters

Looking at the way it's generated it only makes sense: https://github.com/mollie/mollie-odoo/blob/12.0/payment_mollie_official/models/res_partner.py#L38

ghost commented 4 years ago

Fix available at #68

ghost commented 4 years ago

@PCatinean thank you for report. you can find fix at #68