somebody can help me…??? where to start learning tryton
Hello,i am a beginner in trytond and i am little bit confused how to code in tryton and run it…
There is no hello world module to tryton but you can write a model with a single field to start. In order to do this you should start by writing a module to add some functionalities on the application, have a look at:
Once you have the basic structure, you should create a python file which adds the model and the fields. Then you should create some views from the model as explained on:
There is also this presentation. It may be a little bit old but most of the concepts should still be valid.
let me know how to run the module
my model sturcture
You do not run module directly, you have to have it under the
trytond/modules directory or installed by an entrypoint
[trytond.modules]. Then you have to activate the module for a database using the
trytond-admin command and run the server as usual.