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, "