# Developer

**URL:** https://discuss.tryton.org/c/support/developer/19.md

[Latest](https://discuss.tryton.org/latest.md) · [Categories](https://discuss.tryton.org/categories.md) · [Tags](https://discuss.tryton.org/tags.md)

---

## [About the Developer category](https://discuss.tryton.org/t/about-the-developer-category/186)

<div class="topic-metadata">

**Author:** [@ced](https://discuss.tryton.org/u/ced)\
**Replies:** 0

</div>

Developer support To help developing on Tryton.

---

## [How to launch a wizard by a Tryton cron?](https://discuss.tryton.org/t/how-to-launch-a-wizard-by-a-tryton-cron/9427)

<div class="topic-metadata">

**Author:** [@Eulengesicht](https://discuss.tryton.org/u/Eulengesicht)\
**Replies:** 4\
**Last updated:** [October 13, 2026, 6:58am UTC](https://discuss.tryton.org/t/how-to-launch-a-wizard-by-a-tryton-cron/9427 "2026-10-13T06:58:18Z")

</div>

I created (or rather AI did) a wizard to monitor the range of coverage of my stock - a problem that regularly caused headaches to me. It checks stock and calculates average sales in a reference period of time I can type …

---

## [edocument\_unece UNCL5189 / UNCL7161 code lists – correctness and EN 16931 validation](https://discuss.tryton.org/t/edocument-unece-uncl5189-uncl7161-code-lists-correctness-and-en-16931-validation/9419)

<div class="topic-metadata">

**Author:** [@mariem](https://discuss.tryton.org/u/mariem)\
**Replies:** 12\
**Last updated:** [October 8, 2026, 12:59pm UTC](https://discuss.tryton.org/t/edocument-unece-uncl5189-uncl7161-code-lists-correctness-and-en-16931-validation/9419 "2026-10-08T12:59:23Z")

</div>

Hi, I’m developing a Tryton module which using edocument\_unece module and I’m working around allowances and charges. I looked at the UNCL5189 and UNCL7161 code lists added to edocument\_unece in 8.0 (product.py) and I ha…

---

## [Module Update to improve](https://discuss.tryton.org/t/module-update-to-improve/9431)

<div class="topic-metadata">

**Author:** [@essajee](https://discuss.tryton.org/u/essajee)\
**Replies:** 1\
**Last updated:** [October 7, 2026, 4:38pm UTC](https://discuss.tryton.org/t/module-update-to-improve/9431 "2026-10-07T16:38:37Z")

</div>

I have added some modules to better the system as its working currently, i wanted to share the code for the same if it can be reviewed and maybe part of the future relase. Please guide me on how I can share a zipped file…

---

## [More precision needed on sale and invoice unit prices](https://discuss.tryton.org/t/more-precision-needed-on-sale-and-invoice-unit-prices/9428)

<div class="topic-metadata">

**Author:** [@shervas](https://discuss.tryton.org/u/shervas)\
**Replies:** 1\
**Last updated:** [October 7, 2026, 9:33am UTC](https://discuss.tryton.org/t/more-precision-needed-on-sale-and-invoice-unit-prices/9428 "2026-10-07T09:33:05Z")

</div>

Hi, We have a customer that uses unit prices with more than 4 decimals. With our 4 decimals, lines with big quantities differ by a few cents, so our sale and invoice totals don’t match theirs. We have considered two op…

---

## [Install module in editable mode with pyproject.toml](https://discuss.tryton.org/t/install-module-in-editable-mode-with-pyproject-toml/9415)

<div class="topic-metadata">

**Author:** [@maxx](https://discuss.tryton.org/u/maxx)\
**Replies:** 1\
**Last updated:** [September 30, 2026, 12:23pm UTC](https://discuss.tryton.org/t/install-module-in-editable-mode-with-pyproject-toml/9415 "2026-09-30T12:23:21Z")

</div>

Did someone test module installation in editable mode ? Installation is working but when launching ./.venv/trytond/bin/trytond-admin -c../.trytond.conf -d mr\_3009 -v --all --activate-dependencies I’m getting this erro…

---

## [Errors when migrating dev trytond from 7.9 to 8.1 (pre 8.2)](https://discuss.tryton.org/t/errors-when-migrating-dev-trytond-from-7-9-to-8-1-pre-8-2/9409)

<div class="topic-metadata">

**Author:** [@maxx](https://discuss.tryton.org/u/maxx)\
**Replies:** 10\
**Last updated:** [September 30, 2026, 7:32am UTC](https://discuss.tryton.org/t/errors-when-migrating-dev-trytond-from-7-9-to-8-1-pre-8-2/9409 "2026-09-30T07:32:33Z")

</div>

Hi, trying to migrate a test database fom 7.9 to 8.1 I’m getting this error when doing ‘trytond-admin’: (seems linked to trytond/trytond/ir/translation.py · branch/default · Tryton / Tryton · GitLab ) /srv/tryton/tryt…

---

## [B-Tree index size limit with long translated text](https://discuss.tryton.org/t/b-tree-index-size-limit-with-long-translated-text/9402)

<div class="topic-metadata">

**Author:** [@Gruenfischer](https://discuss.tryton.org/u/Gruenfischer)\
**Replies:** 2\
**Last updated:** [September 22, 2026, 7:27am UTC](https://discuss.tryton.org/t/b-tree-index-size-limit-with-long-translated-text/9402 "2026-09-22T07:27:15Z")

</div>

Hi, Tryton version: 8.0 Database: PostgreSQL When saving a longer translatable text, an HTML marketing email, PostgreSQL raises: psycopg.errors.ProgramLimitExceeded: index row size 2768 exceeds btree maximum 2704 Th…

---

## [How to add a form view button without displaying it in the Actions menu?](https://discuss.tryton.org/t/how-to-add-a-form-view-button-without-displaying-it-in-the-actions-menu/9388)

<div class="topic-metadata">

**Author:** [@Ibtissemj](https://discuss.tryton.org/u/Ibtissemj)\
**Replies:** 1\
**Last updated:** [September 15, 2026, 3:08pm UTC](https://discuss.tryton.org/t/how-to-add-a-form-view-button-without-displaying-it-in-the-actions-menu/9388 "2026-09-15T15:08:16Z")

</div>

Hi, I have a button defined directly in a Tryton form view: \<button name="xxxxxxx" string="Test"/\> I want the button to be visible directly in the form view, but I don’t want it to appear in the Actions menu. I tried…

---

## [Close Purchase Order](https://discuss.tryton.org/t/close-purchase-order/9385)

<div class="topic-metadata">

**Author:** [@essajee](https://discuss.tryton.org/u/essajee)\
**Replies:** 1\
**Last updated:** [September 14, 2026, 7:55am UTC](https://discuss.tryton.org/t/close-purchase-order/9385 "2026-09-14T07:55:14Z")

</div>

Hello, We should have the option of closing partial delivered purchase orders or amending the PO.

---

## [How to build an ecommerce?](https://discuss.tryton.org/t/how-to-build-an-ecommerce/9383)

<div class="topic-metadata">

**Author:** [@tryhard](https://discuss.tryton.org/u/tryhard)\
**Replies:** 2\
**Last updated:** [September 14, 2026, 5:51am UTC](https://discuss.tryton.org/t/how-to-build-an-ecommerce/9383 "2026-09-14T05:51:53Z")

</div>

so i want to use tryton for my business and saw that it lacks ecommerce. is there a guide on how to build that part? are there any guides and tutorial for tryton as a developer just to get familiar on where everything i…

---

## [Direct debit on supplier credit notes](https://discuss.tryton.org/t/direct-debit-on-supplier-credit-notes/9346)

<div class="topic-metadata">

**Author:** [@acaubet](https://discuss.tryton.org/u/acaubet)\
**Replies:** 2\
**Last updated:** [September 10, 2026, 8:31am UTC](https://discuss.tryton.org/t/direct-debit-on-supplier-credit-notes/9346 "2026-09-10T08:31:40Z")

</div>

I found an asymmetry in account\_payment and I am not sure what the intended behavior is. A party has two different direct debit settings: payment\_direct\_debit, whose help says it is used when the supplier does direct …

---

## [Cron failing after loading all modules on 8.0](https://discuss.tryton.org/t/cron-failing-after-loading-all-modules-on-8-0/9358)

<div class="topic-metadata">

**Author:** [@piosystems](https://discuss.tryton.org/u/piosystems)\
**Replies:** 5\
**Last updated:** [September 5, 2026, 4:07pm UTC](https://discuss.tryton.org/t/cron-failing-after-loading-all-modules-on-8-0/9358 "2026-09-05T16:07:05Z")

</div>

When I start an instance of tryton-cron, the log shows that it successfully loads all modules but then fails as shown in the excerpt below. The instance eventually dies. I am trying to figure out what could be wrong. Lo…

---

## [Is there an equivalent for setup.py's MODULE2PREFIX in pyproject.toml?](https://discuss.tryton.org/t/is-there-an-equivalent-for-setup-pys-module2prefix-in-pyproject-toml/9348)

<div class="topic-metadata">

**Author:** [@lars\_wuerfel](https://discuss.tryton.org/u/lars_wuerfel)\
**Replies:** 3\
**Last updated:** [September 1, 2026, 11:47am UTC](https://discuss.tryton.org/t/is-there-an-equivalent-for-setup-pys-module2prefix-in-pyproject-toml/9348 "2026-09-01T11:47:46Z")

</div>

I am working with custom module prefix for custom tryton modules, say ‘my\_prefix’ instead of default ‘trytond’. I have custom modules that depend on other custom modules. Before the transition to pyproject.toml, in set…

---

## [Medical Imaging Report Formatting issue](https://discuss.tryton.org/t/medical-imaging-report-formatting-issue/9351)

<div class="topic-metadata">

**Author:** [@asifrana](https://discuss.tryton.org/u/asifrana)\
**Replies:** 6\
**Last updated:** [September 1, 2026, 9:49am UTC](https://discuss.tryton.org/t/medical-imaging-report-formatting-issue/9351 "2026-09-01T09:49:51Z")

</div>

Hi, I am facing problem when copy Old imaging report text and insert in new report. It shows error and some times it remove formatting. TypeError: Unable to marshal str as an array, use .encode() to convert to bytes Pl…

---

## [Manually creating a Shipment out by picking outgoing moves](https://discuss.tryton.org/t/manually-creating-a-shipment-out-by-picking-outgoing-moves/9345)

<div class="topic-metadata">

**Author:** [@maxx](https://discuss.tryton.org/u/maxx)\
**Replies:** 3\
**Last updated:** [August 28, 2026, 9:51am UTC](https://discuss.tryton.org/t/manually-creating-a-shipment-out-by-picking-outgoing-moves/9345 "2026-08-28T09:51:50Z")

</div>

Hi, We are wondering if we could customize Tryton to create Shipment Out manually and then picking outgoing moves created when processing the sale. (similar behaviour as Shipment In). Is there any inconvenient to have …

---

## [Create\_date in list views Sao client hangs](https://discuss.tryton.org/t/create-date-in-list-views-sao-client-hangs/9325)

<div class="topic-metadata">

**Author:** [@Gruenfischer](https://discuss.tryton.org/u/Gruenfischer)\
**Replies:** 3\
**Last updated:** [August 18, 2026, 9:05am UTC](https://discuss.tryton.org/t/create-date-in-list-views-sao-client-hangs/9325 "2026-08-18T09:05:29Z")

</div>

Hi, the moment I use create\_date, the internal field in list view, the view will not load, and the clients shows the “processing” note. There is no error logged. even if I wrap the crate date inside a function field cr…

---

## [Total amount issue](https://discuss.tryton.org/t/total-amount-issue/9322)

<div class="topic-metadata">

**Author:** [@mimo\_Alva](https://discuss.tryton.org/u/mimo_Alva)\
**Replies:** 1\
**Last updated:** [August 17, 2026, 12:21pm UTC](https://discuss.tryton.org/t/total-amount-issue/9322 "2026-08-17T12:21:08Z")

</div>

Hi, I have an issue with how to handle Brutto (tax-included) prices in supplier invoices. The client wants to enter the Brutto price first for each invoice line, and then have Tryton calculate the net/untaxed price and…

---

## [On\_change\_notify issue](https://discuss.tryton.org/t/on-change-notify-issue/9311)

<div class="topic-metadata">

**Author:** [@Gruenfischer](https://discuss.tryton.org/u/Gruenfischer)\
**Replies:** 2\
**Last updated:** [August 14, 2026, 10:58am UTC](https://discuss.tryton.org/t/on-change-notify-issue/9311 "2026-08-14T10:58:10Z")

</div>

Hi , I try to add a simple on\_change\_notify() to the sale\_subscription module. I extend class Subscription with: @fields.depends('party') def on\_change\_notify(self): notifications = super().on\_change\_notif…

---

## [Trouble installing Tryton dependencies (PyGObject, girepository-2.0) on WSL2 Ubuntu](https://discuss.tryton.org/t/trouble-installing-tryton-dependencies-pygobject-girepository-2-0-on-wsl2-ubuntu/8506)

<div class="topic-metadata">

**Author:** [@JACKDEV](https://discuss.tryton.org/u/JACKDEV)\
**Replies:** 4\
**Last updated:** [July 27, 2026, 11:56pm UTC](https://discuss.tryton.org/t/trouble-installing-tryton-dependencies-pygobject-girepository-2-0-on-wsl2-ubuntu/8506 "2026-07-27T23:56:24Z")

</div>

Hello community, I’m encountering persistent issues while trying to install the development dependencies for Tryton on my Windows Subsystem for Linux 2 (WSL2) running Ubuntu. I’ve followed the standard Tryton installat…

---

## [Display API information without storing it](https://discuss.tryton.org/t/display-api-information-without-storing-it/9282)

<div class="topic-metadata">

**Author:** [@German](https://discuss.tryton.org/u/German)\
**Replies:** 5\
**Last updated:** [July 10, 2026, 9:01am UTC](https://discuss.tryton.org/t/display-api-information-without-storing-it/9282 "2026-07-10T09:01:55Z")

</div>

Hello, I am looking for some architectural guidance on a Tryton implementation. I have two external API endpoints: The first endpoint returns a list of car models for a specific brand. The second endpoint returns…

---

## [After Upgrade 7.8 to 8.0 - Import of SEPA Statement CAMT.052 failing](https://discuss.tryton.org/t/after-upgrade-7-8-to-8-0-import-of-sepa-statement-camt-052-failing/9265)

<div class="topic-metadata">

**Author:** [@chrisexner](https://discuss.tryton.org/u/chrisexner)\
**Replies:** 2\
**Last updated:** [June 22, 2026, 9:15am UTC](https://discuss.tryton.org/t/after-upgrade-7-8-to-8-0-import-of-sepa-statement-camt-052-failing/9265 "2026-06-22T09:15:23Z")

</div>

Attached you will find a Statement of german Sparkasse Pforzheim-Calw in CAMT.052 Format. Before Upgrade to 8.0, import of statements worked fine. Since 8.0 import failes while missing the Amount in Detail. Does this …

---

## [Facing (ir\_sequence\_strict) Error at Front Desk Office after clicking on PAY NOW Button](https://discuss.tryton.org/t/facing-ir-sequence-strict-error-at-front-desk-office-after-clicking-on-pay-now-button/9259)

<div class="topic-metadata">

**Author:** [@chmsaadsh](https://discuss.tryton.org/u/chmsaadsh)\
**Replies:** 6\
**Last updated:** [June 17, 2026, 1:18pm UTC](https://discuss.tryton.org/t/facing-ir-sequence-strict-error-at-front-desk-office-after-clicking-on-pay-now-button/9259 "2026-06-17T13:18:59Z")

</div>

We are using Tryton 6.0/GNU Health 4.2.0 development & Our system is Facing this (ir\_sequence\_strict) Error again and again (many times a day) at Front Desk Office after clicking on PAY NOW Button. When ever a sale is ma…

---

## [How to make a generated File selected by default in the manual email wizard?](https://discuss.tryton.org/t/how-to-make-a-generated-file-selected-by-default-in-the-manual-email-wizard/9251)

<div class="topic-metadata">

**Author:** [@mimo\_Alva](https://discuss.tryton.org/u/mimo_Alva)\
**Replies:** 4\
**Last updated:** [June 4, 2026, 11:10am UTC](https://discuss.tryton.org/t/how-to-make-a-generated-file-selected-by-default-in-the-manual-email-wizard/9251 "2026-06-04T11:10:30Z")

</div>

Hello, I am customizing account.invoice in Tryton and I generate an XML file as a binary field: invoice\_xrechnung invoice\_xrechnung\_filename My problem is that when I open the email wizard, so the XRechnung is not au…

---

## [Automating Statement-Import using Naiad Library](https://discuss.tryton.org/t/automating-statement-import-using-naiad-library/9244)

<div class="topic-metadata">

**Author:** [@chrisexner](https://discuss.tryton.org/u/chrisexner)\
**Replies:** 2\
**Last updated:** [May 31, 2026, 3:25pm UTC](https://discuss.tryton.org/t/automating-statement-import-using-naiad-library/9244 "2026-05-31T15:25:16Z")

</div>

Hi, me again. after upgrading Tryton 7.8 to 8.0.3 our automated Statement Import ( Using proteus to automate import of bank statement based on proteus) fail by receiving a 405 from the Backend. In knowledge of the new …

---

## [Tools for AI powered coding?](https://discuss.tryton.org/t/tools-for-ai-powered-coding/9239)

<div class="topic-metadata">

**Author:** [@Eulengesicht](https://discuss.tryton.org/u/Eulengesicht)\
**Replies:** 2\
**Last updated:** [May 21, 2026, 3:07pm UTC](https://discuss.tryton.org/t/tools-for-ai-powered-coding/9239 "2026-05-21T15:07:46Z")

</div>

As I never managed to learn coding, AI is a godsend to me. I could already create some useful tools for every day’s use; one of these I published at Tryton Community. There is more to come. Till now, I could only do scri…

---

## [Production on\_changes triggered while searching records](https://discuss.tryton.org/t/production-on-changes-triggered-while-searching-records/9235)

<div class="topic-metadata">

**Author:** [@Xavi](https://discuss.tryton.org/u/Xavi)\
**Replies:** 3\
**Last updated:** [May 19, 2026, 10:04am UTC](https://discuss.tryton.org/t/production-on-changes-triggered-while-searching-records/9235 "2026-05-19T10:04:49Z")

</div>

Hi, some user reported that sometimes, somehow, when he opens a production, some fields such as “product” “bom”, just lose their value. I’ve checked the server logs and got this: 7672 140120593266368 \[2026-05-11 09:27:…

---

## [Create Inbound Emails](https://discuss.tryton.org/t/create-inbound-emails/9213)

<div class="topic-metadata">

**Author:** [@qpdb](https://discuss.tryton.org/u/qpdb)\
**Replies:** 8\
**Last updated:** [April 27, 2026, 1:26pm UTC](https://discuss.tryton.org/t/create-inbound-emails/9213 "2026-04-27T13:26:43Z")

</div>

Hi there, I just want to create some inbound emails from my inbox. from exchangelib import Credentials, Account, Configuration, DELEGATE from pathlib import Path import dotenv import argparse import os import proteus …

---

## [Relation of account\_tax\_lines to move\_move?](https://discuss.tryton.org/t/relation-of-account-tax-lines-to-move-move/9212)

<div class="topic-metadata">

**Author:** [@Eulengesicht](https://discuss.tryton.org/u/Eulengesicht)\
**Replies:** 5\
**Last updated:** [April 24, 2026, 6:29am UTC](https://discuss.tryton.org/t/relation-of-account-tax-lines-to-move-move/9212 "2026-04-24T06:29:45Z")

</div>

Hello, doing my annual reporting, each year I’m struggling with differences between saldi on VAT accounts and tax lines, due to mistakes in manually created moves and move templates. (Yes I know, these mistakes can be a…

---

## [Tree menu dropdown not show in SAO 8.0](https://discuss.tryton.org/t/tree-menu-dropdown-not-show-in-sao-8-0/9211)

<div class="topic-metadata">

**Author:** [@pnunez](https://discuss.tryton.org/u/pnunez)\
**Replies:** 2\
**Last updated:** [April 21, 2026, 4:57pm UTC](https://discuss.tryton.org/t/tree-menu-dropdown-not-show-in-sao-8-0/9211 "2026-04-21T16:57:05Z")

</div>

In the release 8.0 the icon to select the visibility of optional columns of a tree view does not show the the options. The problem seems to be related to the CSS code: .treeview \> table.tree \> thead \> tr \> th \> div { …

[Next page](https://discuss.tryton.org/c/support/developer/19.md?page=1)
