Odoo System parameter "openmrs_patient_attributes" should allow for spaces and blanks

Description

In Bahmni odoo integration, you can define a system parameter "openmrs_patient_attributes" to configure which all patient attributes will be additionally mapped as Customer attributes.

However, if there are spaces in between the names of the attributes, then they do not get filled in when a patient is created as a customer through Sync.
So to work, currently it must be specified as "occupation,primaryContact,secondaryContact,secondaryIdentifier" - without spaces.

Test string (demo) - " occupation, primaryContact , , secondaryContact, secondaryIdentifier, "

Status

Assignee

Angshuman Sarkar

Reporter

Angshuman Sarkar

Labels

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Components

Sprint

Fix versions

Configure