Re: Comment on HelloWorld in tryton

337 views
Skip to first unread message

try...@googlecode.com

unread,
Aug 11, 2010, 4:30:20 PM8/11/10
to try...@googlegroups.com
Comment by gmartindelcye:

Once tested the module... when I try to uninstall, ther is no option. How
can I uninstall it?


For more information:
http://code.google.com/p/tryton/wiki/HelloWorld

try...@googlecode.com

unread,
Aug 11, 2010, 4:57:07 PM8/11/10
to try...@googlegroups.com
Comment by cedkr...@gmail.com:

There is not yet uninstall option see
http://bugs.tryton.org/roundup/issue322

try...@googlecode.com

unread,
Jul 12, 2011, 11:25:59 AM7/12/11
to try...@googlegroups.com
Comment by chris.ly...@gmail.com:

Version 2.0 view_type is not recognized in ir.action.act_window
here the correction
<!-- View for the main menu and the event -->
<record model="ir.action.act_window" id="act_hello_world_form">
<field name="name">Hello World</field>
<field name="res_model">hello.hello</field>
</record>
I just remove the line :
<field name="view_type">form</field>

try...@googlecode.com

unread,
Jul 12, 2011, 11:30:01 AM7/12/11
to try...@googlegroups.com

try...@googlecode.com

unread,
Jul 22, 2011, 2:31:28 AM7/22/11
to try...@googlegroups.com
Comment by dauren.n...@gmail.com:

1) how about tryton 2.0? how can I create my custom module in tryton 2.0?
2) in ubuntu /usr/local/tryton/trytond/trytond/modules/ is not exist

try...@googlecode.com

unread,
Jul 22, 2011, 2:35:28 AM7/22/11
to try...@googlegroups.com
Comment by dauren.n...@gmail.com:

1) what about tryton 2.0? how can I create my custom module in tryton 2.0?

try...@googlecode.com

unread,
Jul 22, 2011, 2:39:29 AM7/22/11
to try...@googlegroups.com
Comment by dauren.n...@gmail.com:

line1 <br/> line2

try...@googlecode.com

unread,
Jul 22, 2011, 2:43:29 AM7/22/11
to try...@googlegroups.com
Comment by dauren.n...@gmail.com:

l1 \n l2

try...@googlecode.com

unread,
Jul 22, 2011, 2:47:30 AM7/22/11
to try...@googlegroups.com
Comment by dauren.n...@gmail.com:

asd{{{<br/>}}}dsa

try...@googlecode.com

unread,
Jul 22, 2011, 2:51:31 AM7/22/11
to try...@googlegroups.com
Comment by dauren.n...@gmail.com:

asd<br>asdasd

Tejas

unread,
Jul 22, 2011, 3:04:34 AM7/22/11
to try...@googlegroups.com
at trytond/trytond/modules

create folder and inside that you can create relevant files ..

then from admin->modules->update modules ...

and install it...


--
try...@googlegroups.com mailing list



--
Thanks,
Tejas L Tank.
India.

Cédric Krier

unread,
Jul 22, 2011, 4:25:55 AM7/22/11
to try...@googlegroups.com
On 22/07/11 12:34 +0530, Tejas wrote:
> at trytond/trytond/modules
>
> create folder and inside that you can create relevant files ..
>
> then from admin->modules->update modules ...
>
> and install it...
>
>
> On Fri, Jul 22, 2011 at 12:21 PM, <try...@googlecode.com> wrote:
>
> > Comment by dauren.n...@gmail.com:
> >
> > asd<br>asdasd
> >
> >
> > For more information:
> > http://code.google.com/p/**tryton/wiki/HelloWorld<http://code.google.com/p/tryton/wiki/HelloWorld>

@Tejas This is a comment posted on the wiki, if you want to answer, you must
post a comment on the same wiki page.

--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/

try...@googlecode.com

unread,
Aug 23, 2011, 5:35:39 AM8/23/11
to try...@googlegroups.com
Comment by rros...@gmail.com:

<dauren>: in debian squeeze the directory is
/usr/local/lib/python2.6/dist-packages/trytond-2.0.1-py2.6.egg/trytond/modules/
by default installation of source code with 'python setup.py install'. just
look in your filesystem with search file.

try...@googlecode.com

unread,
Nov 10, 2011, 2:52:01 AM11/10/11
to try...@googlegroups.com
Comment by yogeshd....@gmail.com:

debian /usr/local/tryton/trytond/trytond/modules/ is not exist
in my pc path is /usr/share/pyshared/trytond


plz give me reply how can create new project.........

try...@googlecode.com

unread,
Nov 10, 2011, 5:43:03 AM11/10/11
to try...@googlegroups.com
Comment by mathi...@m9s.biz:

> Comment by yogeshd....@gmail.com,


> debian /usr/local/tryton/trytond/trytond/modules/ is not exist

This path would be valid for a dev installation like in
http://code.google.com/p/tryton/wiki/InstallationOnDebian#Option_2:_Running_from_sources

> in my pc path is /usr/share/pyshared/trytond
> plz give me reply how can create new project.......

This path is valid, if you installed Debian packages like in
http://code.google.com/p/tryton/wiki/InstallationOnDebian#Option_1:_Installation_from_package_management

So in your case put your module under /usr/share/pyshared/trytond/modules

try...@googlecode.com

unread,
Dec 3, 2011, 12:59:53 PM12/3/11
to try...@googlegroups.com
Comment by se...@koolpi.com:

With the lastest trunk, got an error Invalid XML error on:

<tree string="Hello World">
<field name="name" select="1"/>
<field name="greeting" select="1"/>
</tree>

If i remove the select attribute for both fields it works.

try...@googlecode.com

unread,
Dec 5, 2011, 3:44:11 AM12/5/11
to try...@googlegroups.com
Comment by udo.s...@gmail.com:

@sergi: Thanks for feedback. I fix the wiki text. May someone please fix
http://wiki.opdevel.com/Tryton/CreacionModulo?action=AttachFile&do=view&target=helloWorld.tar.gz ?

try...@googlecode.com

unread,
Dec 10, 2011, 12:17:17 AM12/10/11
to try...@googlegroups.com
Comment by yogeshd....@gmail.com:

reply by mathi....@m9s.biz
thnak u for giving reply i following your given confirmation path and get
result........


thank u very mutch

try...@googlecode.com

unread,
Dec 10, 2011, 12:21:18 AM12/10/11
to try...@googlegroups.com
Comment by yogeshd....@gmail.com:

reply by mathi....@m9s.biz

thank u for giving reply i following your given confirmation path and
get result........

thank u very much

try...@googlecode.com

unread,
Jan 27, 2012, 6:44:09 AM1/27/12
to try...@googlegroups.com
Comment by gpa.t...@gmail.com:

Hello,

I have downloaded the server and client from http://tryton.org/downloads.

And directly added the tryton module like
/Software/tryton-server_1.6.1-2_all/usr/share/pyshared/trytond/modules but
it not show the helloworld moulde in modules list.

Thanks

try...@googlecode.com

unread,
Jan 27, 2012, 6:55:11 AM1/27/12
to try...@googlegroups.com
Comment by criscode...@gmail.com:

Hello

I have download tryton-server_1.6.1-2_all and tryton-client_1.6.1-2_all.
And server and client sucessfully but when added the module helloworld, it
not show me in the modules list. This is the path where i have added the
module
Software/tryton-server_1.6.1-2_all/usr/share/pyshared/trytond/modules.

Would you please help?

Thanks
Criscoder

try...@googlecode.com

unread,
Jan 28, 2012, 4:13:25 AM1/28/12
to try...@googlegroups.com
Comment by udo.s...@gmail.com:

Hello criscoder.ozas,

it seems to me you install Tryton with Debian package management. For
programming Tryton I suggest to install Tryton from sources[1].
Additionally Tryton version 1.6 is quite old[2]. The current release is 2.2.

To answer your question: There path you mentioned is usually sym-linked
from another destination in Debian, e.g.
/usr/lib/python2.6/dist-packages/trytond/modules/

[1] http://code.google.com/p/tryton/wiki/InstallationMercurial
[2] http://www.tryton.org/downloads.html

try...@googlecode.com

unread,
May 23, 2012, 11:51:58 PM5/23/12
to try...@googlegroups.com
Comment by tristian...@gmail.com:

Do all my module classes have to be in a single file?

try...@googlecode.com

unread,
May 24, 2012, 2:16:22 AM5/24/12
to try...@googlegroups.com
Comment by albert.n...@gmail.com:

@tristian.azuara

No, they can be in several files but you must import those files to
__init__.py, just like in any other python module.

try...@googlecode.com

unread,
May 24, 2012, 5:50:15 PM5/24/12
to try...@googlegroups.com
Comment by tristian...@gmail.com:

Also, can I split my xml into multiple files?

try...@googlecode.com

unread,
Jun 1, 2012, 8:18:40 PM6/1/12
to try...@googlegroups.com
Comment by tristian...@gmail.com:

Ok, I've noticed that you specify them in the 'xml' key of the
*__tryton__.py* dictionary.

try...@googlecode.com

unread,
Jun 29, 2012, 1:53:06 AM6/29/12
to try...@googlegroups.com
Comment by lgastm...@gmail.com:

I installed Tryton on Ubuntu 12.04 and the modules folder is under
/usr/share/pyshared/trytond
I have created the four files as listed in Step 1
I open tryton, go to the Administration > Modules and reload, but module
Hello refuses to show up
I tried setting the permissions to 777 for trytond... but still does not
show up
Any suggestions?

Raimon Esteve

unread,
Jun 29, 2012, 3:31:55 AM6/29/12
to try...@googlegroups.com
how to instal helloword module?

Two options:

A - python setup.py install -> install module by python lib (you need
desing setup.py file)
B- Move dir into trytond/trytond/modules

After, you need update some module to reload modules list (-u res for
example). Maybe next realease is available -m option
(update-modules-list) to upload list of modules. Or create new
database if is a test.

http://codereview.tryton.org/415001/

--
Si us plau, NO adjunti arxius a les seves respostes. Li preguem que
integri el text al cos del missatge. Pot respondre usant NetEtiquete
que li ajudarà a seguir la conversa.
http://es.wikipedia.org/wiki/Netiquette

Por favor, NO adjunte archivos a sus respuestas. Le rogamos que
integre el texto en el cuerpo del mensaje. Puede responder usando
NetEtiquete que le ayudará a seguir la
conversación.http://es.wikipedia.org/wiki/Netiquette

Please, DO NOT send attachment files with your answers, just copy and
paste only the text you need to send into the body of your mails.
Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette

try...@googlecode.com

unread,
Aug 23, 2012, 8:57:11 AM8/23/12
to try...@googlegroups.com
Comment by jay.vora...@gmail.com:

Did I miss anything or there is no addons-path feature?

try...@googlecode.com

unread,
Aug 23, 2012, 9:00:54 AM8/23/12
to try...@googlegroups.com
Comment by cedk...@gmail.com:

@jay.vora4ce

What do you mean? What is «addons-path»?

For more information:
https://code.google.com/p/tryton/wiki/HelloWorld

Er. Jay Vora

unread,
Aug 24, 2012, 4:05:35 AM8/24/12
to try...@googlegroups.com

On Thu, Aug 23, 2012 at 6:30 PM, <try...@googlecode.com> wrote:
Comment by cedk...@gmail.com:

@jay.vora4ce

What do you mean? What is «addons-path»?

For more information:

I meant, I wish to load my modules which are not in tryton directory.

Additionally, I wonder what went wrong but my modules inside 'modules' do not get loaded into system.

--

Thanks,
Regards,

Er. Jay Vora
M : 91 - 9879354457.
(Not miles, just an email away...)
Twitter Facebook LinkedIn Blogger
"No Seconds to be Wasted for Formalities, I have a lot to Execute !" - Jay Vora

try...@googlecode.com

unread,
Aug 24, 2012, 4:41:05 AM8/24/12
to try...@googlegroups.com
Comment by cedk...@gmail.com:

On 24/08/12 13:35 +0530, Er. Jay Vora wrote:
> I meant, I wish to load my modules which are not in tryton directory.

Just install it and create an entry points under «trytond.modules» for it.

> Additionally, I wonder what went wrong but my modules inside 'modules' do
> not get loaded into system.

Don't understand.

PS: Keep answering on the wiki page.

try...@googlecode.com

unread,
Nov 22, 2012, 12:38:46 AM11/22/12
to try...@googlegroups.com
Comment by capi...@gmail.com:

This tutorial is outdated for version 2.6, the tryton.cfg needs to be
declared

try...@googlecode.com

unread,
Feb 18, 2013, 5:20:54 AM2/18/13
to try...@googlegroups.com
Comment by phani...@gmail.com:

Can someone update this document to 2.6 . This will help a lot of
developers who are trying tryton

try...@googlecode.com

unread,
Feb 25, 2013, 6:40:25 AM2/25/13
to try...@googlegroups.com
Comment by eka.han...@gmail.com:

Hi! I(and other commentors) noticed that this hello world tutorial is not
applicable for Tryton 2.6, which is the newest version. I do hope somebody
can update this tutorial.

Thank you!

try...@googlecode.com

unread,
Apr 23, 2013, 3:11:55 AM4/23/13
to try...@googlegroups.com
Comment by james.ba...@gmail.com:

from where to get tryton 2.8 version of hg Mercurial Repositories

try...@googlecode.com

unread,
Jun 5, 2013, 11:27:43 AM6/5/13
to try...@googlegroups.com
Comment by j...@joac.com.ar:

There is a typo on the register of the models:
from trytond.pool import Pool
from .hello import *


def register():
Pool.register(
Hello,
module='helloworld', type_='model')

instead of helloworld, you have to use helloWorld, that is the folder name
(AKA module name)

try...@googlecode.com

unread,
Jun 17, 2013, 1:26:02 PM6/17/13
to try...@googlegroups.com
Comment by oscarcas...@gmail.com:

I cannot install this module.
I have linux mint 15, tryton installed from the updated repository and the
module Hello refuses to show up.

Jean C

unread,
Jun 17, 2013, 1:59:33 PM6/17/13
to try...@googlegroups.com
I cannot install this module.
I have linux mint 15, tryton installed from the updated repository and the module Hello refuses to show up.

It is a browser thing. I had this problem on Chromium / Chrome, and it disappeared on Firefox.

Jean CAVALLO
Coopengo 

try...@googlecode.com

unread,
Jun 18, 2013, 1:38:31 PM6/18/13
to try...@googlegroups.com
Comment by stephand...@gmail.com:

Try upgrading (mark for upgrade -> perform pending updates etc..) an other
modle (e.g. Party). I encountered the behaviour that new modules (modules
that were put in the modules folder after a db was generated) appear after
upgrading of another one..

Oscar Cascante Fonseca

unread,
Jun 19, 2013, 9:50:42 AM6/19/13
to try...@googlegroups.com, codesite...@google.com
I did that and nothing happens....still no show up

El miércoles, 11 de agosto de 2010 14:30:20 UTC-6, try...@googlecode.com escribió:
Comment by gmartindelcye:

Once tested the module... when I try to uninstall, ther is no option. How  
can I uninstall it?

try...@googlecode.com

unread,
Aug 14, 2013, 5:00:21 AM8/14/13
to try...@googlegroups.com
Comment by hru...@gmail.com:

Hi,

I usually run trytond with -i option

for example
python.exe trytond -d testdb -i currency

Martin

try...@googlecode.com

unread,
Jan 24, 2014, 7:49:47 AM1/24/14
to try...@googlegroups.com
Comment by osalep...@acutec.co.bw:

>>> If you have problems activating/installing your new module, try
>>> restarting the tryton server

I'm stuck here. The module is not istalling, nothing showing up even after
restarting server several times. Please help?

try...@googlecode.com

unread,
May 22, 2014, 4:05:17 AM5/22/14
to try...@googlegroups.com
Comment by evernic...@everlibre.fr:

The example should work with the last tryton version ?

Eric

Fabyc

unread,
May 22, 2014, 11:07:54 AM5/22/14
to try...@googlegroups.com, codesite...@google.com, try...@googlecode.com
On Thursday, May 22, 2014 3:05:17 AM UTC-5, try...@googlecode.com wrote:
Comment by evernic...@everlibre.fr:

The example should work with the last tryton version  ?

The comments you see here are posted on the wiki.

You must post a comment (about your question) on the same wiki page:
 
--
Regards

try...@googlecode.com

unread,
Jul 28, 2014, 7:31:26 PM7/28/14
to try...@googlegroups.com
Comment by Rios.cr...@gmail.com:

I have the module charged on tryton but this doesn't show the view....

to charge the module I used:

"trytond -u all" and after that I found my module in modules and alter I
installed it and ready!!! but now is not available the view

try...@googlecode.com

unread,
Jul 28, 2014, 7:54:52 PM7/28/14
to try...@googlegroups.com
Comment by george.l...@gmail.com:

How to pass company name in this report?

try...@googlecode.com

unread,
Jul 28, 2014, 8:02:05 PM7/28/14
to try...@googlegroups.com
Comment by Rios.cr...@gmail.com:

Hello one more time

I had been installed My module correctly
like I said, you should use ./trytond -u all

and later update your database with ./trytond --update=all
--database=database_name

run tryton server and tryton client

go to Modules and looking for your module and install

ready!!!

check a screenshoot of my module

http://s2.subirimagenes.com/imagen/previo/thump_9011115captura-de-pantalla.png

try...@googlecode.com

unread,
Jul 28, 2014, 8:07:32 PM7/28/14
to try...@googlegroups.com
Comment by Rios.cr...@gmail.com:

Hello one more time

I had been installed My module correctly like I said, you should
use ./trytond -u all

and later update your database with ./trytond --update=all
--database=database_name

run tryton server and tryton client

go to Modules and looking for your module and install

ready!!!

check a screenshoot of my module

http://oi59.tinypic.com/27y4fgy.jpg

try...@googlecode.com

unread,
Dec 27, 2014, 12:52:25 PM12/27/14
to try...@googlegroups.com
Comment by rahul.sh...@gmail.com:

how can run this module with complete above step ..
Reply all
Reply to author
Forward
0 new messages