Default Comment tutorial

This commit is contained in:
resteve 2014-12-15 11:45:19 +01:00
parent d5b8cf8982
commit 32f16cbaa3

View file

@ -49,6 +49,10 @@ class GalateaTutorial(ModelSQL, ModelView):
Website = Pool().get('galatea.website')
return [p.id for p in Website.search([('registration','=',True)])]
@staticmethod
def default_comment():
return True
@classmethod
def __setup__(cls):
super(GalateaTutorial, cls).__setup__()