Questions tagged [tryton]

Is a three-tier high-level general purpose application platform under the license GPL-3 written in Python and using PostgreSQL as database engine. It is the core base of a complete business solution providing modularity, scalability and security.

The core of Tryton (also called Tryton kernel) provides all the necessary functionalities for a complete application framework: data persistence, extensive modularity, users management (authentication, fine grained control for data access, handling of concurrent access of resources), workflow and report engines, web services and internationalisation. Thus constituting a complete application platform which can be used for any relevant purpose.

The code is licensed under GPL-3, and the PostgreSQL is the main persistence system, though SQLite is use for small systems.

Source: Tryton.org (About)

76 questions
1
vote
1 answer

centos 6.5 python 2.7 can not find pygtk that python 2.6 sees fine

I have installed python 2.7 beside 2.6 on a CentOS 6.5 os. The particular application I want to install needs 2.7, but it also needs pygtk (as well as other stuff). If I start an interpreter with 2.6, it imports pygtk fine. But if I start an…
depling
  • 3,413
  • 2
  • 16
  • 7
1
vote
1 answer

What's the use of this function in tryton?

Reading code modules of Tryton, I met a lot this method but I did not figure out what this is for. What's the use of this function in Tryton? @classmetod def __register__(cls,module_name): TableHandler = backend.get('TableHandler') cursor =…
sarra
  • 21
  • 3
1
vote
1 answer

how to edit records in the database using Tryton code

I want to edit (add or delete) records in the database using Tryton code. Which function or method should I use to modify records in Tryton? Example: status=fields.Char("status") How can I delete all records of field status and add a new one which…
sarra
  • 21
  • 3
1
vote
1 answer

How to change value of a selection using Python on Tryton

Is there a way to change selection field value using Python and I didn't find any documentation to use . The state field is a field that describe a treatment state I wish to do something like : state=fields.Selection([ ('stopped',…
user2181871
1
vote
1 answer

adding a button in tryton view form

hi i have been searching and i cant find any tutorial about how to add a button in my view_form part of a custom module. i wanted to add a button and make it call a method i made every time it is clicked. in xml view form :
user2181871
1
vote
1 answer

how fill Selection field in tryton

I have 2 modules in tryton the first is employee and the second is pointage. I am trying t add a Selection field that allow me to select the pointage. To do that we have to create a list of tuple pointagedef = [('', '')] now we have fill it but…
gasroot
  • 515
  • 3
  • 15
1
vote
2 answers

Tryton client doesn't connect via Internet port 8000

I have Tryton ERP working locally on a VM, functioning correctly. However, the client cannot connect to it via internet. nmap reports port 8000 to be "closed", that is, nothing is listening there. ~# nmap -PN -p 8000 Starting Nmap 5.21 (…
markwest
  • 259
  • 1
  • 5
  • 14
1
vote
1 answer

Cannot connect to Tryton database

After installing the standard Tryton packages in Ubuntu 12.04, I can start the client and create a new database. But the client refuses to connect to the database. It will display the locally created databases, but will fail to add the localhost…
markwest
  • 259
  • 1
  • 5
  • 14
1
vote
2 answers

Using Tryton as a python module

I have just installed Tryton on Ubuntu 12.0.4 from the PPA. I want to be able to interface directly with Tryton in my Python code (thereby bypassing the frontend GUI client). However, there appears to be no useful information on how to use Tryton,…
Homunculus Reticulli
  • 65,167
  • 81
  • 216
  • 341
1
vote
3 answers

Tryton Incompatible version of the server

I'm trying to connect Tryton to a postgres database. In the Tryton client profile, I used the following details: Hostname : localhost port : 8000 username : admin Now everytime I put in the details above, the database labels show: Incompatible…
Katherina
  • 2,153
  • 7
  • 26
  • 34
1
vote
0 answers

How do I connect PostgreSQL with PyDev in Eclipse

I'm developing a module for Tryton, and when I'm trying to run unittest test in Eclipse with PostgreSQL and PyDev, Eclipse is not enable to connect to PostgreSQL. The test fails and raises this message: OperationalError: fe_sendauth: no password…
aneolf
  • 311
  • 1
  • 2
  • 5
0
votes
1 answer

Tryton not connecting to PostgreSQL in same docker network: could not translate host name "postgres" to address

I'm currently trying to setup a docker environment for GNUHealth, involving containers running Tryton and PostgreSQL. However, I'm facing a problem where when I start up the containers and enter Tryton's web interface on localhost:8000, I'm unable…
Matthias
  • 13
  • 2
0
votes
1 answer

KeyError.gnuhealth.inpatient.registration

I am using Tryton's GNU Health. I am facing a KeyError exception for the "gnuhealth.inpatient.registration" model in health module when I try to run the module. Others modules run fine, e.g. the health_inpatient module which depends on the health…
0
votes
1 answer

Tryton web client version mismatch?

I am using GNU Health and I have installed trytond server 6.0.24 and tryton desktop 6.0.10 and when I install trytond web client it was installed successfully but when I open it on localhost it shows the error Version Mismatch. How can I match the…
0
votes
1 answer

Unable to install Tryton Server on windows

I am new to Tryton. I am insalling a trytond with a command pip install trytond . everything goes right but when I try to check the version with command tryrond --version . It give me the following error. Also can someone guide me through steps…
Hassan Turi
  • 334
  • 3
  • 14