From cab9dbc7ae730fb2deddb4955d1d033801cca8e7 Mon Sep 17 00:00:00 2001 From: Lunga Baliwe Date: Wed, 6 Dec 2017 11:04:50 +0200 Subject: [PATCH] AN-54: ClientUID was passed on createInvoice whereas it was expecting ClientTitle --- bika/lims/content/analysisrequest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bika/lims/content/analysisrequest.py b/bika/lims/content/analysisrequest.py index 584e47255..1ab81eca2 100644 --- a/bika/lims/content/analysisrequest.py +++ b/bika/lims/content/analysisrequest.py @@ -2222,9 +2222,9 @@ def issueInvoice(self, REQUEST=None, RESPONSE=None): ) invoice_batch.processForm() - client_uid = self.getClientUID() + client_title = self.getClientTitle() # Get the created invoice - invoice = invoice_batch.createInvoice(client_uid, [self, ]) + invoice = invoice_batch.createInvoice(client_title, [self, ]) invoice.setAnalysisRequest(self) # Set the created invoice in the schema self.Schema()['Invoice'].set(self, invoice)