Skip to content

Commit

Permalink
remove unused log on custom procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Oct 11, 2024
1 parent fd797e6 commit 2439322
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plm_client_customprocedure/models/res_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,12 @@ def commonSave(self, vals, binary_field, content_field, fname, custom_file):

def getCustomProcedure(self):
for groupBrws in self:
logging.info('Request CustomProcedure file for user %r and group %r-%r and id %r' % (groupBrws.env.uid, groupBrws.category_id.name, groupBrws.name, groupBrws.id))
if groupBrws.custom_procedure:
return True, groupBrws.custom_procedure, groupBrws.custom_procedure_fname
return False, '', groupBrws.custom_procedure_fname

def getCustomMulticad(self):
for groupBrws in self:
logging.info('Request Multicad file for user %r and group %r-%r and id %r' % (groupBrws.env.uid, groupBrws.category_id.name, groupBrws.name, groupBrws.id))
if groupBrws.custom_multicad:
return True, groupBrws.custom_multicad, groupBrws.custom_multicad_fname
return False, '', groupBrws.custom_multicad_fname

0 comments on commit 2439322

Please sign in to comment.