Browse Source

[IMP] _get_info_session_followed made shorter

pull/105/head
nicolasjamoulle 6 years ago
committed by Elouan
parent
commit
0c011608db
  1. 3
      beesdoo_shift/wizard/subscribe.py

3
beesdoo_shift/wizard/subscribe.py

@ -41,9 +41,6 @@ class Subscribe(models.TransientModel):
session_followed = (self.env['res.partner'] session_followed = (self.env['res.partner']
.browse(self._context.get('active_id')) .browse(self._context.get('active_id'))
.info_session) .info_session)
if not session_followed:
return False
else:
return session_followed return session_followed
def _get_super(self): def _get_super(self):

Loading…
Cancel
Save