[tryton] server speed

2012-02-03 Thread Mariano DAngelo
Hi, i installed trytond server on my webfaction account, my question
is which is the most important factor on connection with trytond
server.

* Client / Hosting internet connecton ?
* Server RAM ?
* Location of the Server ?

I wanted to install on a server to access anywere, anytime and also to
shared database info with my shopping cart, but I need speed in the
office.

thanks
Mariano

-- 
tryton@googlegroups.com mailing list


[tryton] Re: Server logs

2012-01-29 Thread Mariano DAngelo
how it should be:
  jsonrpc = *: 8000  or the real ip?

On 27 ene, 19:51, Sharoon Thomas  wrote:
> Hi,
>
> On Jan 27, 2012, at 4:20 PM, Mariano DAngelo wrote:
>
> > [Fri Jan 27 21:10:25 2012] INFO:server:starting JSON-RPC protocol on
> > localhost:8000
>
> The server daemon is connected to localhost and not listening on all 
> interfaces.
>
> If you are trying to connect to the public interface it would not connect 
> because its
> not listening there.
>
> Copy the trytond.conf file and modify the jsonrpc parameter [1]
>
> Thanks,
>
> Sharoon Thomas
> Director & CEO, Openlabs Technologies & Consulting Pvt Limited
> Regd Office: 2J-Skyline Daffodil, Trippunithura - Kochi - IN 682013
>
> Mobile:  +1 786 247 1317http://openlabs.co.in
>
> [1]http://hg.tryton.org/2.2/trytond/file/835240a4a5f8/etc/trytond.conf#l9

-- 
tryton@googlegroups.com mailing list


[tryton] Server logs

2012-01-27 Thread Mariano DAngelo
Hi I'm trying to find were trytond save starup logs I'm trying to
configure WebFaction to serve tryton, in the hosting support said that
having my own dedicated ip it's posible.

The port 8000 is already open in the server.
The trytond config listening on 8000 like this: jsonrpc = localhost:
8000


Starting trytond server give the following output

[marianodan@web319 ~]$ trytond
[Fri Jan 27 21:10:25 2012] INFO:server:using /home/marianodan/lib/
python2.6/trytond-2.2.1-py2.6.egg/etc/trytond.conf as configuration
file
[Fri Jan 27 21:10:25 2012] INFO:server:initialising distributed
objects services
[Fri Jan 27 21:10:25 2012] DEBUG:psycopg2:installed. Logging using
Python logging module
[Fri Jan 27 21:10:25 2012] INFO:modules:ir:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:res:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:webdav:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:workflow:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:test:registering classes
[Fri Jan 27 21:10:25 2012] INFO:server:starting JSON-RPC protocol on
localhost:8000
[Fri Jan 27 21:10:25 2012] INFO:server:waiting for connections...

but it fail doing the conection from the tryton client, how can I
debug were is failing, there are trytond logs?

-- 
tryton@googlegroups.com mailing list


[tryton] Re: Tryton on shared hosting

2012-01-26 Thread Mariano DAngelo
Yes I have already installed on local machine and into a remote
server... but I need an economic solution to start...

On 26 ene, 11:10, Dominique Chabord 
wrote:
> Hi,
>
> may I advice you to install locally first so you understand the
> requirements, both regarding dependencies and network ports.
> I would be surprised a shared hosting would fit your needs. A VPS seems
> a minimum.
> Regards
>
> Le 25/01/2012 21:32, Mariano DAngelo a crit :
>
> > Have anyone installed trytond on shared hosting?
>
> > I read webfaction and bluehost, limits connections to postgresql 
>
> > If anyone know how to install it, I would apreciate any directions...
>
> > Thanks
>
> --
> Dominique Chabord - SISalp
> Logiciel libre pour l'entreprise : Gestion (ERP) et applications web2
> 18 avenue Beauregard 74960 Cran Gevrier
> 145A rue Alexandre Borrely 83000 Toulon
> t l +33(0)950274960 fax +33(0)955274960 mob 
> +33(0)622616438http://sisalp.fr-http://sisalp.org-http://bdll.fr

-- 
tryton@googlegroups.com mailing list


[tryton] Tryton on shared hosting

2012-01-25 Thread Mariano DAngelo
Have anyone installed trytond on shared hosting?

I read webfaction and bluehost, limits connections to postgresql 

If anyone know how to install it, I would apreciate any directions...

Thanks

-- 
tryton@googlegroups.com mailing list


[tryton] menu enabled

2011-12-09 Thread Mariano DAngelo
Hi,
I notice that sometimes the toolbar have some tools not enabled, but
not the menu, and when you clicked it the submenu of the tool is
shown, when it doesn't intended to do.

-- 
tryton@googlegroups.com mailing list


[tryton] Re: proteus import

2011-12-09 Thread Mariano DAngelo
Thanks Nicolas now it's working... I didn't now the decimal library

On 8 dic, 06:04, Nicolas Évrard  wrote:
> * Mariano DAngelo  [2011-12-08 04:56 +0100]:
>
> Hello,
>
> >I'm trying to import a list of products, and I having trouble saving
> >product cost_price  I see it's stored in ir_property table
> >but I cannot save it as product.cost_price, how it most be done?
>
> You must assign to product.cost_price a decimal value (not a float).
>
>
>
>
>
>
>
>
>
> >def append_product(name, code, st_cat,cost_price):
> >    Product = Model.get('product.product')
> >    product = Product()
> >    #using unit as default uom
> >    uom = Model.get('product.uom')
> >    (um,) = uom.find([('name', '=', 'Unit')])
> >    product.default_uom = um
>
> >    product.active = True
> >    product.account_category = True
> >    product.taxes_category = True
> >    product.purchasable = True
> >    product.salable = True
>
> >    product.code = '%s' %code
> >    product.name = '%s' %name
>
> >    #searching category
> >    cat = Model.get('product.category')
> >    (ca,) = cat.find([('name', '=', st_cat)])
> >    product.category = ca
>
> >    product.save()
>
> There is no assignation to product.cost_price is it normal ?
>
> --
> Nicolas Évrard
>
> B2CK SPRL
> rue de Rotterdam, 4
> 4000 Liège
> Belgium
> Tel: +32 472 54 46 59
> E-mail/Jabber: nicolas.evr...@b2ck.com
> Website:http://www.b2ck.com/

-- 
tryton@googlegroups.com mailing list


[tryton] proteus import

2011-12-08 Thread Mariano DAngelo
I'm trying to import a list of products, and I having trouble saving
product cost_price  I see it's stored in ir_property table
but I cannot save it as product.cost_price, how it most be done?

My saving fuction...

def append_product(name, code, st_cat,cost_price):
Product = Model.get('product.product')
product = Product()
#using unit as default uom
uom = Model.get('product.uom')
(um,) = uom.find([('name', '=', 'Unit')])
product.default_uom = um

product.active = True
product.account_category = True
product.taxes_category = True
product.purchasable = True
product.salable = True

product.code = '%s' %code
product.name = '%s' %name

#searching category
cat = Model.get('product.category')
(ca,) = cat.find([('name', '=', st_cat)])
product.category = ca

product.save()

-- 
tryton@googlegroups.com mailing list


[tryton] extended modules documentation?

2011-11-16 Thread Mariano DAngelo
I'm trying to understand how trytons modules works, i want to
configure and adapt it to Argentine's financial system, but the web
documentation isn't too deep, where can I find more?

I'm specially interested in account module, creating acounts types

thanks

-- 
tryton@googlegroups.com mailing list


[tryton] Bug import

2011-11-07 Thread Mariano DAngelo
I think there's a bug importing.

The error is:


File "/usr/local/lib/python2.6/dist-packages/tryton/gui/window/
form.py", line 325, in sig_import
win.run()

  File "/usr/local/lib/python2.6/dist-packages/tryton/gui/window/
win_import.py", line 336, in run
return self.import_csv(csv_data, fields, self.model)

  File "/usr/local/lib/python2.6/dist-packages/tryton/gui/window/
win_import.py", line 357, in import_csv
rpc.CONTEXT)

  File "/usr/local/lib/python2.6/dist-packages/tryton/rpc.py", line
190, in execute
return _execute(True, *args)

  File "/usr/local/lib/python2.6/dist-packages/tryton/rpc.py", line
174, in _execute
result = getattr(CONNECTION, name)(*args)

  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)

  File "/usr/local/lib/python2.6/dist-packages/tryton/jsonrpc.py",
line 282, in __request
verbose=self.__verbose

  File "/usr/local/lib/python2.6/dist-packages/tryton/jsonrpc.py",
line 230, in request
response.getheaders()


The Server console says:

[Mon Nov 07 16:08:41 2011] ERROR:import:int() argument must be a
string or a number, not 'list'


I'm trying to import a file created from tryton so it cannot be format
error:

the file:

Categoría/Nombre,Código,Descripción,Nombre,Precio de coste
Suplementos / Multivitaminicos,s1,,[s1] Universal Animal Pack
x 44 u,150.0
Indumentaria / Remeras,brn-001,,[brn-001] Never Surrender Remera
Boxing Gloves brn-001,27.0


-- 
tryton@googlegroups.com mailing list