mirror of
https://github.com/Kalenis/kalenislims.git
synced 2023-12-14 07:13:04 +01:00
Services: fix verification of "Report Grouper" in confirmation of Fractions
This commit is contained in:
parent
dd53f701af
commit
b6b6af3a05
|
@ -1780,8 +1780,8 @@ class Fraction(ModelSQL, ModelView):
|
|||
if services:
|
||||
if (EntryDetailAnalysis.search_count([
|
||||
('service', 'in', [s.id for s in services]),
|
||||
('report_grouper', '!=', 0),
|
||||
]) == 0):
|
||||
('report_grouper', '=', 0),
|
||||
]) != 0):
|
||||
cls.raise_user_error('not_divided')
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in a new issue