Skip to content

Commit

Permalink
Fix pharmacy id
Browse files Browse the repository at this point in the history
  • Loading branch information
lasley committed Oct 26, 2016
1 parent 1308db2 commit 84726ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector_carepoint/models/medical_prescription_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def physician_id(self, record):
def partner_id(self, record):
binder = self.binder_for('carepoint.carepoint.store')
store = binder.to_odoo(record['store_id'], browse=True)
return {'partner_id': store.pharmacy_id}
return {'partner_id': store.pharmacy_id.id}

@mapping
def carepoint_id(self, record):
Expand Down

0 comments on commit 84726ad

Please sign in to comment.