Bahmni 0.92
ODOO 10
Quotation Sync
Login to Bahmni->Consultation->Orders>Generate one radiology order Login to ODOO->Confirm that the order synced generating a new Quotation (in draft mode)
From Bahmni->Consultation->Orders>Place a different radiology order for the same patient
In ODOO a new Quotation is generated instead of adding a second order line item to the earlier draft quotation of the same patient.
In earlier version, if a patient’s quotation is in draft mode a new order will get added to the same quotation.
Could not find it in Odoo Feedback/Issues Doc
Debugging this shows that it is searching for a sales order (draft mode) with
'origin', '=', 'ATOMFEED SYNC'
But the in database origin field in sale_order is blank after sync.
In earlier version the origin was getting set here while creating new order which is missing in ODOO.
Could this be the reason?