[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health] Free appointments, New Work Schedule bug
From: |
Luis Falcon |
Subject: |
Re: [Health] Free appointments, New Work Schedule bug |
Date: |
Tue, 24 Oct 2017 10:13:08 +0100 |
Dear Mousa
On Sat, 21 Oct 2017 07:30:43 -0400
address@hidden wrote:
> Hello sir,
>
> After creating new work schedule, trying to access the free
> appointment goes to:
>
> File "/trytond/modules/health_qrcodes/health_qrcodes.py", line 103, in
> make_qrcode
> appointment_patient = self.patient.rec_name or ''
> AttributeError: 'NoneType' object has no attribute 'rec_name'
>
> Trying to open previously created free appointment before migrating
> from 3.8 to 4.2 goes into:
>
> File "/trytond/modules/health_qrcodes/health_qrcodes.py", line 111, in
> make_qrcode
> qr_string = 'ID: ' + self.name or '' \
> TypeError: Can't convert 'NoneType' object to str implicitly
>
> When I try to open new appointment and choose state free or checked
> in, shows the first message. Except if the appointment is created as
> confirmed then changed to free.
>
> I think it may be the appointment ID.
>
> The new version first day into work. otherwise going great.
>
It's related to the QRcodes pacakge.
Thank you very much for the feedback ! I'll look into it today and get
back to you.
Did you reproduce this error in versions previous to 3.2 ?
All the best
Luis