Skip to content

Instantly share code, notes, and snippets.

@zodman
Created September 14, 2012 04:49
Show Gist options
  • Save zodman/3719860 to your computer and use it in GitHub Desktop.
Save zodman/3719860 to your computer and use it in GitHub Desktop.
tryton presentation

Software libre para empresas

tryton img

¿Qué es tryton?

#ERP

Como ...

sap

contpaq

dyn

aspel

Pueden conseguir en lugares de prestigio

pirata

!

Opensource ERP

bravo

!

openerp

!

¿Qué es Tryton ?

  • Tryton es un sistema de propósito general
  • Mantiene un Sistema ERP
  • Y muchos otros mas...

!

Tryton Core

  • Tres capas
  • Arquitectura cliente-servidor
  • Licencia: GPLv3
  • Python
  • BD: Postgresql, MySQL, Sqlite3

!

Modulos

Contabilidad
Facturación
Ventas
Compras
Inventario

!

¿Y qué mas hace ?

  • 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.

!

arch

!

Modulos

  • 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

!

modelo

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment