Earlier version (7.0) had res_partner_attributes model (corresponding table res.partner.attributes) which is missing from ODOO 10. This was used to sync OpenMRS Person Attributes with ERP.
Also the related code to create Person Attributes in ERP is missing from /opt/bahmni-erp/bahmni-addons/bahmni_atom_feed/models/
What is our strategy to sync OpenMRS Person Attributes in ERP?
In our local implementation we synced person attributes in res_partner by
adding this after line #139 (after fetching address_details) in _get_customer_vals in /opt/bahmni-erp/bahmni-addons/bahmni_atom_feed/models/atom_event_worker.py
And added a new function to fetch person attributes from sync data
def _create_or_update_person_attributes(self, attributes):
res_attributes = {}
for key in attributes:
res_attributes.update({'x_'+key : attributes[key]})
return res_attributes
So if any specific person attribute needs to be synced then a custom field should be created in res_partner as x_<openmrs person attribute name> and it should sync with the above code.
But we can always move person attributes in separate model as earlier res_partner_attributes.