mirror of
https://github.com/Kalenis/kalenislims.git
synced 2023-12-14 07:13:04 +01:00
lims: fix Pending Services Unplanned Spreadsheet
This commit is contained in:
parent
71816d6046
commit
3f5a2d890c
|
@ -11846,10 +11846,6 @@ msgctxt "model:res.group,name:group_lims_planification_readonly"
|
|||
msgid "Lims Planification Read Only"
|
||||
msgstr "Lims Planificación Sólo lectura"
|
||||
|
||||
msgctxt "model:res.user,name:"
|
||||
msgid "Cron Lims Acknowledgment Of Receipt"
|
||||
msgstr "Programador de Acuse de recibo"
|
||||
|
||||
msgctxt "model:user.department,name:"
|
||||
msgid "User Department"
|
||||
msgstr "Usuario Departamento"
|
||||
|
|
|
@ -6286,12 +6286,19 @@ class PendingServicesUnplannedSpreadsheet(Report):
|
|||
if laboratory_id not in labs:
|
||||
continue
|
||||
|
||||
# Service
|
||||
analysis_id = detail.service.analysis.id
|
||||
|
||||
# Party
|
||||
party_id = detail.party.id
|
||||
|
||||
# Key
|
||||
if data['include_method']:
|
||||
key = (detail.fraction.id, detail.method.id)
|
||||
key = (laboratory_id, analysis_id, party_id,
|
||||
detail.fraction.id, detail.method.id)
|
||||
else:
|
||||
key = detail.fraction.id
|
||||
|
||||
key = (laboratory_id, analysis_id, party_id,
|
||||
detail.fraction.id)
|
||||
if key in objects:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in a new issue