El 23/05/18 a les 20:12, John ha escrit:
> Hi,

Hi John,
> 
> I have been following this example guide on how to create my own module:
> http://tryton-documentation.readthedocs.io/en/latest/developer_guide/example_library_1.html

This guide is a little bit outdated. It is based on 3.2 series and the
latest stable series is 4.8 series.
> 
> However, when I get to the last step, where I am supposed to insert the 
> module into the database using
> 
> TRYTOND_HOME/trytond/bin/trytond -d NAME_OF_THE_DATABASE -i MODULE_NAME
> 
> I get the following error:
> 
> trytond: error: unrecognized arguments: -i MODULE_NAME
> 
> (MODULE_NAME is replaced with the actual module name)
> 
> Can anyone tell me what I am doing wrong?

Probably you have a newer version of trytond. You can check your trytond
version with trytond --version

On newer versions we have `trytond-admin` comandline to manage modules.
You can see the full commands available with:

trytond-admin --help

There is an option to refresh the database list which is what you are
looking for at this step.

Hope it helps.

-- 
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/1045c65d-82a4-8468-c5fb-6aa207d7b05e%40koolpi.com.

Reply via email to