Skip to content

Commit

Permalink
Deepthi M| BAH-3779-fix|Updated to fix the issue with previousorderid…
Browse files Browse the repository at this point in the history
… to prevent recursive fetch_parent call in odoo modules. (#109)
  • Loading branch information
deepthi-mantena authored Jun 6, 2024
1 parent 75198c5 commit 97c3892
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private OpenERPOrder fetchPreviousDrugOrder(String previousOrderId) {
OpenMRSDrugOrder previousOrder = mapper.readValue(response, OpenMRSDrugOrder.class);
OpenERPOrder order = new OpenERPOrder();
order.setOrderId(previousOrder.getUuid());
order.setPreviousOrderId(previousOrder.getUuid());
order.setPreviousOrderId(previousOrder.getPreviousOrderUuid());
order.setEncounterId(previousOrder.getEncounterUuid());
order.setProductId(previousOrder.getDrugUuid());
order.setProductName(previousOrder.getDrugName());
Expand Down

0 comments on commit 97c3892

Please sign in to comment.