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)