#ERP
!
!
!
- Tryton es un sistema de propósito general
- Mantiene un Sistema ERP
- Y muchos otros mas...
!
- Tres capas
- Arquitectura cliente-servidor
- Licencia: GPLv3
- Python
- BD: Postgresql, MySQL, Sqlite3
!
Contabilidad
Facturación
Ventas
Compras
Inventario
!
- Release cada 6 meses.
- API
- Migraciones entre versiones
- Arquitectura modular, escalable.
- Multiusuario
!
#Cliente
- GUI sin lógica.
- MVC
- GTK (multiplataforma)
** Mac, Win, Linux
!
#Server
- Sistema de Wizard
- Sistema de Workflow
- Sistema de Reportes (relatorio)
- Capa de Red/Network (xmlrpc, jsonrpc, netrpc) con ssl
- Seguridad (por tabla/registro)
- Internacionalización i18n. ** es_Es, es_Ar, es_Co, en_US, etc etc etc.
!
!
- Se define la lógica del negocio
- En cada vista se define como mostrar los datos
- Reportes a mas de 20 Formatos (unoconv)
!
#Hola mundo
!
from trytond.model import ModelView, ModelSQL, fields class Hello(ModelSQL, ModelView): 'HelloWorld' _name = 'hello.hello' _description = doc
Hello()
! #vista
<?xml version="1.0"?>
<tryton>
<data>
<menuitem name="Hello World" id="menu_hello_world" sequence="10" icon="tryton-users"/>
<!-- View for tree-->
<record model="ir.ui.view" id="hello_view_tree">
<field name="model">hello.hello</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Hello World">
<field name="name"/>
<field name="greeting"/>
</tree>
]]>
</field>
</record>
!
<record model="ir.ui.view" id="hello_view_form">
<field name="model">hello.hello</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Hello">
<label name="name"/>
<field name="name"/>
<label name="greeting"/>
<field name="greeting"/>
</form>
]]>
</field>
</record>
</data>