# Developer

**URL:** https://discuss.tryton.org/c/support/developer/19.md?page=1

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

**Page:** 2

---

## [Secondary uom not showing in stock?](https://discuss.tryton.org/t/secondary-uom-not-showing-in-stock/3636)

<div class="topic-metadata">

**Author:** [@deathrake](https://discuss.tryton.org/u/deathrake)\
**Replies:** 5\
**Last updated:** [March 11, 2026, 3:47pm UTC](https://discuss.tryton.org/t/secondary-uom-not-showing-in-stock/3636 "2026-03-11T15:47:12Z")

</div>

i just activated secondry uom for stock move but i can’t see the field on Moves what am i doing wrong ?

---

## [The tests with tox aren't working](https://discuss.tryton.org/t/the-tests-with-tox-arent-working/9132)

<div class="topic-metadata">

**Author:** [@Andres\_Pias](https://discuss.tryton.org/u/Andres_Pias)\
**Replies:** 5\
**Last updated:** [March 5, 2026, 9:32pm UTC](https://discuss.tryton.org/t/the-tests-with-tox-arent-working/9132 "2026-03-05T21:32:06Z")

</div>

Hi, When I try to run tox, I get an error in test\_tryton.py: root@dfa338eb8779:/code# tox -e py310-sqlite .pkg: \_optional\_hooks\> python /usr/local/lib/python3.10/site-packages/pyproject\_api/\_backend.py True setuptools.…

---

## [Add tab to variants](https://discuss.tryton.org/t/add-tab-to-variants/9130)

<div class="topic-metadata">

**Author:** [@qpdb](https://discuss.tryton.org/u/qpdb)\
**Replies:** 2\
**Last updated:** [March 4, 2026, 8:40pm UTC](https://discuss.tryton.org/t/add-tab-to-variants/9130 "2026-03-04T20:40:26Z")

</div>

Hi there Currently I am fighting to show a blank new tab in Products \> Variant. product.xml \<?xml version="1.0"?\> \<tryton\> \<data\> \<record model="ir.ui.view" id="product\_view\_form"\> \<field name=…

---

## [How to apply percentage surcharges in Sale/Invoice](https://discuss.tryton.org/t/how-to-apply-percentage-surcharges-in-sale-invoice/9112)

<div class="topic-metadata">

**Author:** [@shervas](https://discuss.tryton.org/u/shervas)\
**Replies:** 3\
**Last updated:** [March 3, 2026, 8:07am UTC](https://discuss.tryton.org/t/how-to-apply-percentage-surcharges-in-sale-invoice/9112 "2026-03-03T08:07:08Z")

</div>

Hello everyone, We have a requirement (similar to construction/contracting scenarios) where sales and invoices must support several structural percentage adjustments, such as: General expenses (%) Industrial benef…

---

## [Hide a Record On List](https://discuss.tryton.org/t/hide-a-record-on-list/9118)

<div class="topic-metadata">

**Author:** [@ravellswdd](https://discuss.tryton.org/u/ravellswdd)\
**Replies:** 1\
**Last updated:** [February 26, 2026, 6:25am UTC](https://discuss.tryton.org/t/hide-a-record-on-list/9118 "2026-02-26T06:25:55Z")

</div>

I’m trying to hide a record that the state is still ‘draft’ and status = ‘pending’. I’m a beginner at Tryton. I was requested to hide the leave record that the state is ‘draft’ and status = ‘pending’. Can anyone have …

---

## [Replace\_attributes in form](https://discuss.tryton.org/t/replace-attributes-in-form/9111)

<div class="topic-metadata">

**Author:** [@Gruenfischer](https://discuss.tryton.org/u/Gruenfischer)\
**Replies:** 3\
**Last updated:** [February 24, 2026, 9:37pm UTC](https://discuss.tryton.org/t/replace-attributes-in-form/9111 "2026-02-24T21:37:27Z")

</div>

H Hi everyone, I’m trying to extend a Tryton 7.8 wizard result view and change the root form layout from col="2" to col="4" via view inheritance. The inherited view loads without XML errors, but the layout does not chan…

---

## [Strings from \<page\> entries are missing in the Translations function](https://discuss.tryton.org/t/strings-from-page-entries-are-missing-in-the-translations-function/9110)

<div class="topic-metadata">

**Author:** [@jankstar](https://discuss.tryton.org/u/jankstar)\
**Replies:** 2\
**Last updated:** [February 24, 2026, 8:39am UTC](https://discuss.tryton.org/t/strings-from-page-entries-are-missing-in-the-translations-function/9110 "2026-02-24T08:39:36Z")

</div>

In form.xml, I use string and id instead of name for page elements — these entries are not offered in the translations function—is there a way to translate these elements?

---

## [Pop Up Notification After Clicking the Save Button](https://discuss.tryton.org/t/pop-up-notification-after-clicking-the-save-button/9107)

<div class="topic-metadata">

**Author:** [@ravellswdd](https://discuss.tryton.org/u/ravellswdd)\
**Replies:** 1\
**Last updated:** [February 20, 2026, 9:09am UTC](https://discuss.tryton.org/t/pop-up-notification-after-clicking-the-save-button/9107 "2026-02-20T09:09:28Z")

</div>

Hi, So I’ve been developing a application form to submit leave request. My client has a request that everytime I click save button to save a record about the leave form request, it must shown a confirmation pop up notifi…

---

## [How to remove the checkbox](https://discuss.tryton.org/t/how-to-remove-the-checkbox/9101)

<div class="topic-metadata">

**Author:** [@Luis.Ramos](https://discuss.tryton.org/u/Luis.Ramos)\
**Replies:** 3\
**Last updated:** [February 17, 2026, 8:40am UTC](https://discuss.tryton.org/t/how-to-remove-the-checkbox/9101 "2026-02-17T08:40:59Z")

</div>

Hey there, Is there any way to remove the checkbox that appears on the left, in a specific view? Or has anyone who talk about this priviously in the forum? I’m attaching a photo to explain myself better. Thanks in adva…

---

## [Create Holiday Calendar](https://discuss.tryton.org/t/create-holiday-calendar/9091)

<div class="topic-metadata">

**Author:** [@Luis.Ramos](https://discuss.tryton.org/u/Luis.Ramos)\
**Replies:** 0\
**Last updated:** [February 11, 2026, 9:58am UTC](https://discuss.tryton.org/t/create-holiday-calendar/9091 "2026-02-11T09:58:19Z")

</div>

Hi everyone, I’m developing a custom module to create calendars to mark holiday/non-working days per location. I’m using Tryton 7.0 with the SAO client. In the calendar form view I implemented two panels: one for the c…

---

## [Tryton client crashes for local login](https://discuss.tryton.org/t/tryton-client-crashes-for-local-login/9088)

<div class="topic-metadata">

**Author:** [@Toni](https://discuss.tryton.org/u/Toni)\
**Replies:** 3\
**Last updated:** [February 10, 2026, 7:16pm UTC](https://discuss.tryton.org/t/tryton-client-crashes-for-local-login/9088 "2026-02-10T19:16:51Z")

</div>

I’m trying to run a Tryton 7.0.32 client against a Tryton 7.0.30 server with a SQLite database for testing purposes, both installed in a virtualenv, and using a memory database. However, I can’t log in. To start the ser…

---

## [Display numbers in reports with only significant decimals](https://discuss.tryton.org/t/display-numbers-in-reports-with-only-significant-decimals/9086)

<div class="topic-metadata">

**Author:** [@shervas](https://discuss.tryton.org/u/shervas)\
**Replies:** 2\
**Last updated:** [February 9, 2026, 10:49am UTC](https://discuss.tryton.org/t/display-numbers-in-reports-with-only-significant-decimals/9086 "2026-02-09T10:49:33Z")

</div>

Hi, I’m working on a Tryton report and I want to display numbers with only the significant decimals, removing unnecessary trailing zeros. For example, a field stored in Tryton with 4 decimals as: 1.2000 → REPORT: 1.…

---

## [How to resolve tryton.cfg not found?](https://discuss.tryton.org/t/how-to-resolve-tryton-cfg-not-found/9085)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 2\
**Last updated:** [February 5, 2026, 4:00pm UTC](https://discuss.tryton.org/t/how-to-resolve-tryton-cfg-not-found/9085 "2026-02-05T16:00:57Z")

</div>

Recently, my friend who works on other module commit his module to git, so I pulled it. But when I try to compile the tryton with: trytond-admin -c trytond.conf -d tryton --all Error like below turned up: Traceback (…

---

## [Switching view from module A to module B but keeping custo in module A](https://discuss.tryton.org/t/switching-view-from-module-a-to-module-b-but-keeping-custo-in-module-a/9084)

<div class="topic-metadata">

**Author:** [@maxx](https://discuss.tryton.org/u/maxx)\
**Replies:** 1\
**Last updated:** [February 5, 2026, 9:14am UTC](https://discuss.tryton.org/t/switching-view-from-module-a-to-module-b-but-keeping-custo-in-module-a/9084 "2026-02-05T09:14:09Z")

</div>

Hi, I’m having some problems to move a view from a module A to a module B in my custos. I’ve defined a view in a module A which is specific for a department. \<?xml version="1.0"?\> \<!-- This file is part of Tryton. T…

---

## [Use of genshi in email templates](https://discuss.tryton.org/t/use-of-genshi-in-email-templates/5876)

<div class="topic-metadata">

**Author:** [@shervas](https://discuss.tryton.org/u/shervas)\
**Replies:** 12\
**Last updated:** [January 28, 2026, 12:38pm UTC](https://discuss.tryton.org/t/use-of-genshi-in-email-templates/5876 "2026-01-28T12:38:54Z")

</div>

I have a question regarding the use of genshi. I want to make a hyperlink to a sale in an email template in order to redirect users to it. I want to do it directly on the text field throughout the user interface like th…

---

## [Cannot attach files to a singleton model until update the record](https://discuss.tryton.org/t/cannot-attach-files-to-a-singleton-model-until-update-the-record/9070)

<div class="topic-metadata">

**Author:** [@fransuar](https://discuss.tryton.org/u/fransuar)\
**Replies:** 1\
**Last updated:** [January 27, 2026, 9:54am UTC](https://discuss.tryton.org/t/cannot-attach-files-to-a-singleton-model-until-update-the-record/9070 "2026-01-27T09:54:51Z")

</div>

Hi, I am working on a singleton model to make a configuration record, as it is usual on tryton (tryton 6.0). At the time when I install the module where it is defined and try to attach a file to it, it gaves me an error…

---

## [Default invoice type based on menu action in version 7.6](https://discuss.tryton.org/t/default-invoice-type-based-on-menu-action-in-version-7-6/9067)

<div class="topic-metadata">

**Author:** [@rvong](https://discuss.tryton.org/u/rvong)\
**Replies:** 2\
**Last updated:** [January 17, 2026, 3:53pm UTC](https://discuss.tryton.org/t/default-invoice-type-based-on-menu-action-in-version-7-6/9067 "2026-01-17T15:53:56Z")

</div>

In version 7.4 when a user opens the list of “Supplier Invoices” from the menu, the ir.action.act\_window will push a value “type” = ”in” into the context, so when a user clicks on “Add” a new invoice, the default value f…

---

## [Hide Tabs/form/pagex within model and model within model hiding feature](https://discuss.tryton.org/t/hide-tabs-form-pagex-within-model-and-model-within-model-hiding-feature/9064)

<div class="topic-metadata">

**Author:** [@Sharjeel](https://discuss.tryton.org/u/Sharjeel)\
**Replies:** 1\
**Last updated:** [January 16, 2026, 9:47am UTC](https://discuss.tryton.org/t/hide-tabs-form-pagex-within-model-and-model-within-model-hiding-feature/9064 "2026-01-16T09:47:42Z")

</div>

There is a main model Prescription Order model and there is a sub-model prescription order line and there are many tabs/pages within one notebook page like Vitals Page, Medication Tab, Diagnosis that are called from othe…

---

## [Show attributes on Shopify webshop](https://discuss.tryton.org/t/show-attributes-on-shopify-webshop/9061)

<div class="topic-metadata">

**Author:** [@qpdb](https://discuss.tryton.org/u/qpdb)\
**Replies:** 2\
**Last updated:** [January 14, 2026, 7:54am UTC](https://discuss.tryton.org/t/show-attributes-on-shopify-webshop/9061 "2026-01-14T07:54:15Z")

</div>

Ok got it. I want to show the attribute table, created my own module and changed in web.py the following rules for the domains: class Shop(metaclass=PoolMeta): \_\_name\_\_ = 'web.shop' @classmethod def \_\_setu…

---

## [Rights/Access Permission Based (Prescription) Tabs](https://discuss.tryton.org/t/rights-access-permission-based-prescription-tabs/9060)

<div class="topic-metadata">

**Author:** [@chmsaadsh](https://discuss.tryton.org/u/chmsaadsh)\
**Replies:** 2\
**Last updated:** [January 13, 2026, 2:58pm UTC](https://discuss.tryton.org/t/rights-access-permission-based-prescription-tabs/9060 "2026-01-13T14:58:45Z")

</div>

I have attached a snap. I want to make these Tabs/Pages rights-based for Prescription. The requirement is that only those Tabs/Pages should be visible in Prescription which are related to the doctor’s specialty. For ex…

---

## [Posting 10k accounting moves](https://discuss.tryton.org/t/posting-10k-accounting-moves/9046)

<div class="topic-metadata">

**Author:** [@spec001](https://discuss.tryton.org/u/spec001)\
**Replies:** 4\
**Last updated:** [January 6, 2026, 9:12am UTC](https://discuss.tryton.org/t/posting-10k-accounting-moves/9046 "2026-01-06T09:12:52Z")

</div>

Thanks — I understand the options (proteus / trytond-console, or adding the button to the list view) and I will implement one of them for generating asset depreciation lines after CSV import. But I’m hitting a similar (…

---

## [Converter for \_\_init\_\_.py to trytond.cfg (7.8)?](https://discuss.tryton.org/t/converter-for-init-py-to-trytond-cfg-7-8/9041)

<div class="topic-metadata">

**Author:** [@htgoebel](https://discuss.tryton.org/u/htgoebel)\
**Replies:** 2\
**Last updated:** [January 5, 2026, 2:30pm UTC](https://discuss.tryton.org/t/converter-for-init-py-to-trytond-cfg-7-8/9041 "2026-01-05T14:30:53Z")

</div>

Tryton 7.8 moved the registration of models, wizards and reports to the tryton.cfg module file. I wonder whether a tools for doing this conversion has been published anywhere. It might b very useful for all integrators …

---

## [Proteus xml\_rpc connection problem 7.8](https://discuss.tryton.org/t/proteus-xml-rpc-connection-problem-7-8/9031)

<div class="topic-metadata">

**Author:** [@Gruenfischer](https://discuss.tryton.org/u/Gruenfischer)\
**Replies:** 7\
**Last updated:** [December 22, 2025, 7:11pm UTC](https://discuss.tryton.org/t/proteus-xml-rpc-connection-problem-7-8/9031 "2025-12-22T19:11:45Z")

</div>

Hi folks, I need your help. I am not able to connect to a newly created 7.8 database using proteus. The same setup works for 7.6. As you ca see database exists localhost in running on 8078. You have to trust me that adm…

---

## [Attachement again (the last one)](https://discuss.tryton.org/t/attachement-again-the-last-one/9026)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 9\
**Last updated:** [December 19, 2025, 1:46pm UTC](https://discuss.tryton.org/t/attachement-again-the-last-one/9026 "2025-12-19T13:46:09Z")

</div>

What is the right way to delete an attachment, I think that the file deleted stays in the File system.

---

## [Add header (replay-to) on mail from sao and proteus](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 5\
**Last updated:** [December 19, 2025, 9:09am UTC](https://discuss.tryton.org/t/add-header-replay-to-on-mail-from-sao-and-proteus/9025 "2025-12-19T09:09:25Z")

</div>

How (and where to search) could it be possible to add a repay-to header to the mail send for tryon and proteus ?

---

## [Visualize accounts on 7.8](https://discuss.tryton.org/t/visualize-accounts-on-7-8/9024)

<div class="topic-metadata">

**Author:** [@iehoshia](https://discuss.tryton.org/u/iehoshia)\
**Replies:** 1\
**Last updated:** [December 18, 2025, 2:34pm UTC](https://discuss.tryton.org/t/visualize-accounts-on-7-8/9024 "2025-12-18T14:34:04Z")

</div>

I’m testing version 7.8. I have a chart of accounts that works when installed on previous versions, but in 7.8 the chart appears and I install it, yet I can’t view it. The accounts are in the database, but they don’t sh…

---

## [Help with context of StateView model](https://discuss.tryton.org/t/help-with-context-of-stateview-model/9013)

<div class="topic-metadata">

**Author:** [@tiyujopite](https://discuss.tryton.org/u/tiyujopite)\
**Replies:** 9\
**Last updated:** [December 15, 2025, 10:17am UTC](https://discuss.tryton.org/t/help-with-context-of-stateview-model/9013 "2025-12-15T10:17:22Z")

</div>

I am implementing a party creation wizard, loading the data, and opening the form with: class MyWizard(Wizard): "My Wizard" \_\_name\_\_ = 'xxx' start = StateTransition() create\_party = StateView('party.par…

---

## [Problems of access rights between sao and proteus](https://discuss.tryton.org/t/problems-of-access-rights-between-sao-and-proteus/9017)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 3\
**Last updated:** [December 15, 2025, 1:21pm UTC](https://discuss.tryton.org/t/problems-of-access-rights-between-sao-and-proteus/9017 "2025-12-15T13:21:45Z")

</div>

as shown here : Attachement with proteus when you deal with protheus and sao for attachments (in the file systems) the system rights management cannot permit tryton-sao to manage tryton-proteus files. we could use a cr…

---

## [Attachement with proteus](https://discuss.tryton.org/t/attachement-with-proteus/9012)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 2\
**Last updated:** [December 15, 2025, 10:58am UTC](https://discuss.tryton.org/t/attachement-with-proteus/9012 "2025-12-15T10:58:56Z")

</div>

I have a strange behavior that i do not understand, i probably miss something i create an attachment like that : att=Model.get(‘ir.attachment’) the\_att=att() the\_att.type=‘data’ with open(‘/home/user/image428.png’, ‘rb…

---

## [Proteus and send mail](https://discuss.tryton.org/t/proteus-and-send-mail/9009)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 4\
**Last updated:** [December 10, 2025, 7:11pm UTC](https://discuss.tryton.org/t/proteus-and-send-mail/9009 "2025-12-10T19:11:31Z")

</div>

I am trying to send mail from proteus. I read the topic about the models (notes and attachement) but did not succeed, i must miss something (probably simple) what i tried: Party=Model.get('party.party') the\_party=Party…

[Previous page](https://discuss.tryton.org/c/support/developer/19.md)

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