Tryton Unconference 2015 - Call for location proposals

Objavljeno: 2015-02-16 12:00:00+01:00 TUx foundation

It's time to plan the fifth TUx and put a capital letter in the x.

The Tryton Foundation is calling for community members (individuals or organizations) that want to establish a local team and host our 2015 global event in November.

Previous editions have taken place in Belgium, Spain and Germany.

Please send your application to You have time until 30th April.

If you have any questions please feel free to contact us on the tryton@ mailing list .

New Tryton release 3.4

Objavljeno: 2014-10-20 18:00:00+00:00 release

We are proud to announce the 3.4 release of Tryton.

In addition to the usual improvements of existing features for users and developers, this release has seen a lot of work done on the accounting part.

Of course, migration from previous series is fully supported with the obvious exception of the ldap_connection module which was removed.

Major changes in graphical user interface

  • The search of relation record has been re-worked to take advantage of the auto-completion. The search box of the pop-up window is filled with the text entered in the widget.

  • The search/open button of the Many2One widget is now inside the entry box and the create button is removed in favor of auto-completion actions or pop-up button. This change allow to harmonize the size of all widgets inside a form.

    many2one button inside
  • A new image widget is available on list/tree view.

    widget image tree
  • The client can now perform a pre-validation before executing a button action. The validation is based on a domain and so the offending fields can be highlighted and focused instead of having an error message pop-up.

  • The selection label are now available in addition of the internal value for the export data (CSV) functionality.

  • The export data window is now predefined with the fields of the current view. This gives a fast way to export what you see.

  • The predefined export can now be replaced directly with a new selection of fields. This eases the process of creating such predefined exportation.

  • It is now possible to re-order the list of the exported fields using drag and drop.

  • The range operator of the search box is now including on both endpoints. It appears to be less astonishing behavior for users even if the previous behavior including-excluding had some practical advantages.

  • The client loads now plug-ins defined in the user local directory (~/.config/tryton/x.y/plugins).

Major changes on the server side

  • A new Mixin MatchMixin is introduced. It allows to implement a common pattern in Tryton to find records that match certain values.
  • Another UnionMixin is also introduced. It allows to define a ModelSQL which is the UNION of some ModelSQL's.
  • Actually, Tryton doesn't update a record defined in a XML file if this one has been modified outside the XML. Now, it is possible to find those records and force the update to get the record synchronised with the XML.
  • A Python descriptor has been added to the Selection field. It allows to define an attribute on a Model which will contains the selection label of the record. It is planned to update all the reports to use such descriptor instead of hard-coded values.
  • A new configuration file format is introduced for the server. It is easily extendable to be used by modules. For example, the ldap_authentication module starts using it in replacement of the removed ldap_connection.
  • It is now possible to give a logging configuration files to setup the server logging. This file uses the Python logging configuration format.
  • The context defined on relation fields are now used to instantiate the target.
  • The SQL clause for a domain on a field can be now customized using a domain_<field> method. This method allows in some cases a more efficient SQL query. The method is designed to support joins.
  • The access rights has been reworked to be active only on RPC calls. With this design, Tryton follows the principle of checking input on the border of the application. So it is no more required to switch to the root user when calling methods requiring some specific access rights as far as it is not from an RPC call.



  • A new wizard to help reconcile all accounts has been added. It loops over each account and party and makes a proposal of lines to reconcile if it could find one. This really speeds up the reconciliation task.

    reoncilie wizard
  • There is also another new wizard to ease the creation of cancellation moves. The wizard also reconciles automatically the line with the cancelled sibling.

  • A new option Party Required on account has been added. This option makes the party required for move lines of this account and forbids it for others.

Account Invoice

  • It is now possible to configure which tax rounding to use. There are two ways implemented: per document and per line. The default stays per document.

Account Payment

  • It is now possible to change a succeeded payment to failed.

Account Payment SEPA

  • The scheme Business to Business is supported for direct debit.
  • The mandate receives now a default unique identification using a configured sequence.
  • The module supports now the bank to customer debit/credit notification message (CAMT.054).
  • A report to print a standard form for mandate has been added.

Account Statement

  • It is now possible to order the statement lines and to give them a number. With those features, it is easier to reproduce the same layout of a bank statement.
  • A report for statement has been added. For example, it can be used when using the statement for check deposit.
  • A validation method can be defined on the statement journal. The available methods are: Balance, Amount and Number of Lines. This helps to uses the statement for different purposes like bank statement or check deposit.

Account Stock Continental/Anglo-Saxon

  • The method is now defined on the fiscal year instead of being globally activated on module installation.


  • It is now possible to store zip code per country. A script is provided to load zip codes from GeoNames.

LDAP Authentication

  • The module ldap_connection has been replaced by an entry in the configuration file of trytond.


  • The new zip code from the module country is used to auto-complete zip and city field on address.


  • The Confirmed state has been split into Confirmed and Processing, just like the Sale workflow.

Sale Supply Drop Shipment

  • The management of exception on drop shipment is propagated from the sale to the purchase.

New modules

  • The Account Payment Clearing module allows to generate clearing account move when a payment has succeeded between the receivable/payable account to a clearing account. The clearing account will be reconciled later by the statement.


Proteus is a library to access Tryton like a client.

  • It is now possible to run reports. It is useful for testing them.
  • A new duplicate method is added which is similar to the copy menu entry of the client.

Security Release for issue4155

Objavljeno: 2014-09-30 10:00:00+00:00 release security


A vulnerability in trytond has been found by duesenfranz, that might allow a malicious user to execute arbitrary commands on the server via the safe_eval function (see issue4155).


Any authenticated user can run arbitrary commands on the server with the permissions of the trytond user.


There is no workaround.


All users should upgrade trytond to the latest version of the used series.


Any security concerns should be reported on the bug-tracker at with the type security.

Tryton Unconference Leipzig 2014

Objavljeno: 2014-09-15 12:00:00+00:00 TUL

This year the annual Tryton Unconference will take place in Leipzig the 14th, 15th and 16th of November at the Leipzig University of Applied Sciences.

This will be the fourth global meeting where users, developers and interested people will have the opportunity to discover or talk about Tryton.

Until now, the following talks are proposed:

(More to be announced on our Lanyrd page)

The second Foundation Supporter Meeting will take place on Saturday 15h, 18.00.

On Sunday 16th, a Sprint is planned at the Hackerspace sublab.

Registration is available at TUL 2014.

If you like to give a talk, please announce it on Lanyrd. If you want to request a talk on a specific topic, you can send your request to the Tryton mailing list. If you have question about the organisation, please contact the foundation at

And don't forget to spread the word! #TUL2014

Posnetki s Tryton nekonference 2013

Objavljeno: 2014-06-05 12:00:00+00:00 TUB video
Končno so na voljo posnetki, narejeni med zadnjo Tryton nekonferenco 2013. Vzelo je kar nekaj časa za sinhronizacijo zvoka s sliko, vendar jih sedaj imamo po zaslugi Pierre-Louis Bonicoli.

Nova Tryton izdaja 3.2

Objavljeno: 2014-04-21 20:00:00+00:00 release

Z veseljem vam sporočamo, da je izšla nova izdaja Trytona.

Ta izdaja v glavnem utrjuje več novih funkcionalnosti, dodanih v zadnjih dveh letih. Med drugim se ta izdaja z opustitvijo podpore za Python 2.6 pripravlja na bodočo selitev na Python 3 platformo. Kot ponavadi je v tej izdaji mnogo popravkov, izboljšav in novih modulov (glej spodaj).

Selitev s prejšnjih verzij je, seveda, v celoti podprta.

Večje spremembe v grafičnem uporabniškem vmesniku

  • Odjemalec uporablja krajevni časovni pas za prikaz datuma in časa.

  • Poleg ažuriranja obstoječih postavk je na urejevalnem seznamu izboljšano kopiranje/lepljenje za dodajanje novih postavk.

  • Gumbi na obrazcu so na voljo tudi meniju za ukrepe. Na ta način je mogoč hiter dostop preko tipkovnice in tudi omogoča proženje gumba za izbrane zapise.

    gumb v meniju za ukrepe
  • Gumbi in čarovniki lahko sedaj prožijo ukrepe na odjemalčevi strani. To pomeni, da se obnaša tako, kot da bi uporabnik kliknil na enega od gumbov na orodni vrstici.

  • Odjemalec sedaj uporablja zalogo povezav, ki omogoča pospešitev odjemalca pri zahtevah, katere lahko paralelizira.

  • Za hitrejše pripenjanje prilog lahko sedaj gumb za priloge sprejme povleci-in-spusti operacijo datoteke.

  • Dodan je nov gradnik multi-selection, ki kot zaledje uporablja polje Many2Many.

  • Odjemalec omogoča brskanje različic zapisa, če je le ta historiziran. Deluje tudi na celotnem naboru zapisov in v tem primeru odjemalec prikaže rezultat iskanja, kot da bi bilo iskanje izvedeno na datumu različice.


Večje spremembe na strežniški strani

  • Strežnik interno teče vedno v UTC časovnem pasu.
  • Metoda ModelStorage.write prejme podobne izboljšave kot metoda ModelStorage.create v inačici 2.8. To pomeni, da lahko spremeni različne vrednosti večim zapisom v enem klicu in tako izboljša zmogljivost z vrednotenjem vseh zapisov naenkrat in to samo spremenjena in odvisna polja. Poleg tega so bili z istim vmesnikom posodobljeni ukrepi pri veznim poljih.
  • Vpeljan je nov dekorator fields.depends, ki nadomešča opuščene atribute on_change, on_change_with, selection_change_with in autocomplete. Ta dekorator velja za klicane metode in rezultat je seštevek vseh metod s tem dekoratorjem na vseh modulih, kar prinaša modularnosti veliko več prožnosti.
  • Če je knjižnica bcrypt na voljo, jo Tryton uporablja za zgoščevanje gesel.
  • Vsi tipi polj imajo lahko sedaj domeno za omejevanje svojih vrednosti. Na odjemalčevi strani je večina domen podprtih pri prevrednotenju in inverziji.
  • Vrnjena vrednost on_change polja tipa One2Many sedaj uporablja indeks pri ključni besedi add. To omogoča določanje pozicije novega zapisa v seznamu, namesto da je vedno na koncu seznama.
  • Nova metoda ModelSQL.restore_history omogoča povrnitev vrednosti zapisa, ki so bile ob določenem datumu.



  • Za izdelavo odpisov je dodana je nova vrsta dnevnika odpis (write-off).
  • Davki imajo sedaj neobvezen začetni in končni datum, kar omogoča kasnejše popravke.


  • Francoski kontni načrt je posodobljen z novimi davčnimi stopnjami, vpeljanimi v letu 2014.


  • Modul sedaj preprečuje uporabo že plačanih računov v pripravljenih izpiskih.
  • Za dodajanje nove razdelitvene postavke pod originalom modul uporablja nov indeks pri on_change.


  • Knjiženje prenosa zaloge je pospešeno.


  • IBAN računi so sedaj vrednoteni in formatirani.


  • Družbi je dodano novo polje za časovni pas, da se pridobi pravilen datum za današnji dan.
  • Zaposlenec se isto jemlje iz konteksta, podobno kot družba. To omogoča uporabo večih odjemalcev z istim uporabnikom, a z različnimi zaposlenci.


  • Sedaj je možno določiti dejanski datum proizvodnje, kar omogoča vnašanje preteklih proizvodenj.


  • Vpeljano je opozorilo, ko se poskuša prejeti prenos zaloge dobavitelja brez porekla. Ponavadi je poreklo nabavni nalog.
  • Nabavni modul poskuša vzpostaviti povezavo med prenosom zaloge in postavkami prejetih računov.


  • Enako opozorilo kot pri nabavnem modulu obstaja tudi za prenos zaloge kupca brez porekla.
  • Prodajni modul poskuša vzpostaviti povezavo med prenosom zaloge in postavkami izdanih računov.


  • Vrnjena pošiljka dobavitelja ima lahko sedaj delno dodeljena.
  • Izračun količin zaloge je predelan, da omogoča enostavno nastavitev po meri in boljše iskanje.
  • Sedaj je možno določiti dejanski datum za vse pošiljke, kar omogoča vnašanje preteklih pošiljk.


  • Dodana je nova veza med serijo in prenosom zaloge.

Novi moduli

  • Modul party_relationship definira različne vrste razmerij med partnerji.
  • Modul account_payment omogoča izdelavo združenih plačil pri knjiženju postavk obveznosti in terjatev.
  • Modul account_payment_sepa omogoča izdelavo datotek za SEPA plačila.
  • Modul stock_package omogoča shranjevanje informacij o pakiranju pri vrnjenih pošiljkah kupcev in dobaviteljev.
  • Modul sale_shipment_grouping dodaja možnost, kako združiti promet zaloge iz prodaje.
  • Modul account_credit_limit vodi kreditni limit partnerjev.
  • Modul sale_credit_limit dodaja potrjeno prodajo k znesku kreditnega limita partnerja.

Security Release for issue3446

Objavljeno: 2013-11-04 10:00:00+00:00 release security


A vulnerability in tryton has been found, that might allow a malicious server to send a crafted extention as answer to a report request leading the client to write the report on any file of the client host with the right of the user running the client (see issue3446).


Any file can be created on the client host with the access permissions of the user running the client.


Users should connect only to trusted servers.


All users should upgrade to the latest version of the used series.


Any security concerns should be reported on the bug-tracker at with the type security.

Nova Tryton izdaja 3.0

Objavljeno: 2013-10-21 18:00:00+00:00 release

Z veseljem vam sporočamo izdajo 3.0 Trytona .

Ta izdaja prinaša nov koledarski pogled pri uporabniškem vmesniku in razkriva izid velike preureditve kode, ki se je začela pred 2 leti s projektom python-sql. Kot ponavadi so tu mnogi popravki napak, izboljšave in novi moduli (glej spodaj).

Migracija iz prejšnjih serije je v celoti podprta, seveda.

Večje spremembe v uporabniškem vmesniku

  • Na voljo je koledarski pogled, ki omogoča prikaz zapisov na koledarju s pomočjo datumskim polj za začetek in/ali konec. Podpira operacijo povleci-spusti za dogodke in popravljanje z dvoklikom. Pogled je optimiziran tako, da poizvede samo zapise prikazanih dogodkov.

    production calendar
  • URL shema, vpeljana v verziji 2.0, je sedaj dostopna v statusni vrstici pod vsemi zavihki. Ta URL omogoča odpiranje istega zavihka na kateremkoli drugem odjemalcu.

  • Zahtevki so umaknjeni. Namesto tega se priporoča uporaba elektronskih sporočil z URLji.

  • Izbrani zapisi v seznamskem pogledu so shranjeni za preklop med sejami.

Večje spremembe na strežniški strani

  • Strežnik sedaj uporablja python-sql za izdelavo SQL poizvedb. Ta sprememba prinaša večjo združljivost z vsemi različnimi trenutno podprtimi podatkovnimi bazami (kakor tudi z bodočimi).
  • Metoda za iskanje sedaj lahko vrača celotno domeno (namesto omejene samo na AND stavek).
  • Za večjo modularnost je nekdanji atribut order_field nadomestila metoda order_<field name>
  • Zaledni del podatkovne baze se lahko dinamično nalaga, kar posledično pomeni, da ga je mogoče definirati z zunanjim trytond paketom.
  • Zmogljivost shrambe za MPTT se je povečala z odstranitvijo privzetega razvrščanja in s tem zmanjšanja števila poizvedb.
  • Na značko 'data' je možno dodati atribut grouped, kar omogoča izdelavo vseh zapisov istega modela naenkrat. To skrajšuje čas nameščanja modulov z velikimi količinami podatkov.
  • Oknu za ukrep je možno določiti privzeto razvrščanje.


  • Več modulov je bilo prilagojeno novemu dizajnu za povezovanje izdelanih dokumentov z njihovim izvorom. Namesto kopiranja šifre izvora v sklic se sedaj uporablja sklicno polje in ponavadi je to polje na postavkah. To prinaša večji pregled nad vezami med dokumenti in brez izgube informacij, ki se lahko pojavi pri združevanju dokumentov.


  • Nov čarovnik olajšuje knjiženje izenačevanja neodložljivih kontov ob zaključku poslovnega leta.
  • Vsi konti iz kontnega načrta morajo vedno biti za isto podjetje. Ta omejitev drastično izboljšuje hitrost izračuna debeta/kredita.
  • Knjižba z eno samo postavko z vrednostjo 0 se samodejno uskladi, če je knjižena na konto za usklajevanje. S to možnostjo so računi z zneskom nič samodejno označeni kot plačani.
  • Možnost centraliziranega protikonta pri dnevniku je umaknjena.


  • Ko je račun knjižen, se za prikaz zneska uporablja knjižba namesto preračunavanja iz postavk. To nekoliko izboljšuje hitrost, posebej pri računih z veliko postavk.


  • Sedaj je mogoče neposredno nastaviti račun na postavki izpiska, ki bo samodejno zapolnil informacijo o stranki in kontu.


  • Sedaj je mogoče dobiti količino zaloge s poljubnim združevanjem, npr. izračun zaloge po šarži namesto po izdelku.
  • Šifra popisa je predelana, da omogoča enostavno prirejanje prometa in tudi omejitve po enoličnosti pri popisnih postavkah.
  • Predpomnilnik obdobja se lahko prilagodi, da pomni drugačno vrsto uskupinjenih količin.


  • Polji Količina in Predvidena količina sta bili dodani k šarži.
  • Mogoča je izdelava popisov s šaržo.
  • Predpomnilnik obdobja hrani tudi količine po šarži.


  • Nov čarovnik samodejno izdeluje notranje odpremnice.
  • V primeru, da pri izdelavi nabavnih zahtevkov vhodni promet od dobavitelja zamuja, bo čarovnik opozoril in tako lahko uporabnik po potrebi prestavi datume vhodnega prometa v prihodnost, drugače bo ta vhodni promet prezrt.

Novi moduli

  • Modul bank določa koncept banke in bančnega računa.
  • Modul account_dunning omogoča vodenje izterjav s sledenjem postopka različnih stopenj.
  • Modul account_dunning_letter dodaja izdelavo opominov pri obdelavi izterjav.
  • Modul sale_invoice_grouping dodajo možnost, kako združiti postavke računa, narejenih iz prodajnih nalogov.

Tryton Nekonferenca Barcelona 2013

Objavljeno: 2013-09-17 12:00:00+00:00 TUB

To leto se bo letna Tryton Nekonferenca odvijala v Barceloni in sicer od 8. do 10. novembra.

V tem tretjem globalnem srečanju boste imeli priložnost družiti se s člani skupnosti (uporabniki in razvijalci), razpravljati o prihodnosti Trytona in seveda raziskovati samo mesto Barcelono.

Do sedaj so bila predlagana naslednja predavanja:

(Sledite spremembam na naši strani za načrtovanje predavanj)

Prvo srečanje podpornikov Fundacije Tryton se bo odvijalo v soboto, 9. novembra ob 18.30, na istem mestu, kjer se odvija nekonferenca.

Nedeljo, 10. novembra, smo rezervirali za koderski šprint.

Prijava na dogodek je na voljo na strani TUB 2013.

Če želite imeti predavanje (o vašem delu, dati vašo povratno informacijo, ipd.), se prosim dodajte na wiki stran ali pa pošljite elektronsko sporočilo na naslov

Prosimo, razširite novico! #TUB2013

News from Development July13

Objavljeno: 2013-07-08 12:00:00+00:00 development

Here are some changes recently landed in the development branch of Tryton that will be available on the next release.


  • A factor on number widgets. This factor is used for conversion between the value displayed and the internal value. The main usage is showing the user a percent value like 10%, while storing 0.1.

  • The requests have been removed. Instead the server sends emails to notify users and thanks to the Tryton URL users are able to communicate about specific records by referencing them. This also removes load on the server as each client was polling every 5 minutes for new requests.


  • A new kind of view has been added: calendar. It allows to display records on a calendar using ane start and/or an end date/datetime fields. It is based on the widget GooCalendar. It supports the Drag&Drop of events, the edition on double-click and it fetches only the events to display.

    production calendar
  • Since the version 2.0, Tryton has a URL scheme that the client can read. But in the past there was no easy way for the user to get the URL of a record. Now the URL is visible at the bottom of each tab. It contains all information to open the same tab on any other client.




  • Now any move posted with one line of zero is automaticaly reconciled if it is on an account to reconcile. With this feature, invoices with an amount of zero are automatically marked as paid.
  • A legacy of OpenERP, the centralised counterpart option on journal, has been removed after a poll that shows nobody was using it.

Account Invoice

  • Once an invoice is posted, the account move is used to show the amounts instead of computing it from the lines. This improve a little bit the performance especially for invoices with a lot of lines.

Account Statement

  • Now it is possible to directly set an invoice on a statement line. This will fill the party and account automatically.


  • It is now possible to query the stock quantity with any kind of grouping parameters. For example, it can be used to compute the stock quantity of a lot instead of a product.
  • The code of inventory has been reworked to allow easy customization of the move creation and also of the unique constraint on the inventory lines.
  • The period cache can now be adapted to cache different kind of grouped quantities.

Stock Lot

  • It is now possible to create inventories with lot.
  • The period cache store also the quantities per lot.

Stock Supply

  • If there are late supplier moves when creating purchase requests, the wizard shows a warning to allow the user to change the date of those moves into the future if needed otherwise those incoming moves will be ignored.