/usr/share/pyshared/trytond/test/wizard.py is in tryton-server 2.2.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | from trytond.model import ModelView, fields
from trytond.wizard import Wizard
class TestWizardInit(ModelView):
_name = 'test.test_wizard.init'
name = fields.Char('Test me')
TestWizardInit()
class TestWizard(Wizard):
_name = 'test.test_wizard'
states = {
'init': {
'result': {
'type': 'form',
'object': 'test.test_wizard.init',
'state': [
('end', 'Ok', 'tryton-ok', True),
],
},
},
}
TestWizard()
|