mirror of
https://github.com/NaN-tic/trytond-galatea_tutorial.git
synced 2023-12-14 02:32:55 +01:00
Default Comment tutorial
This commit is contained in:
parent
d5b8cf8982
commit
32f16cbaa3
1 changed files with 4 additions and 0 deletions
|
@ -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__()
|
||||
|
|
Loading…
Reference in a new issue