[FIX] mail: issue when creating nameless contact
Current behaviour: When creating a nameless contact, while selecting delivery address type for an existing company, there is a traceback Steps to reproduce: 1. Install contacts,sale_management,crm 2. Settings > Sales > Quotations & Orders 3. Check "Customer Addresses" 4. Go to Contacts 5. Create a new contact 6. Check "individual" 7. Select a company 8. Select "Delivery" in Address type 9. Save => traceback Cause of the issue: Introduced by https://github.com/odoo/odoo/commit/9ef715fb994564af9e933ba31933a09eca97c24f partner.name can be False opw-3495748 closes odoo/odoo#137317 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Co-authored-by: Thibault Delavallée <tde@odoo.com>
Loading