Files
chatwoot/spec
Mrsandeep27andClaude eecb4a999d fix: store contact CSV import company under additional_attributes[:company_name]
The rest of the product reads the contact company from
additional_attributes[:company_name] (Contact.order_on_company_name scope,
ContactInfo.vue, ContactForm.vue, ContactSortMenu, widget contacts store).
DataImport::ContactManager was writing to additional_attributes[:company]
instead, so imported values silently never appeared in the Company field.

- Write to additional_attributes[:company_name]
- Accept either `company` or `company_name` CSV columns so existing
  import templates keep working (`company_name` wins when both are set).
- Update the existing specs to assert against company_name and add a
  new spec that verifies the company_name CSV column path.

Closes #14096
Revives the never-fully-resolved #9907.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-20 00:46:04 +05:30
..