# Developer

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

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

**Page:** 4

---

## [Mensaje de confirmación en botón de wizard](https://discuss.tryton.org/t/mensaje-de-confirmacion-en-boton-de-wizard/8905)

<div class="topic-metadata">

**Author:** [@fsanchez](https://discuss.tryton.org/u/fsanchez)\
**Replies:** 1\
**Last updated:** [October 22, 2025, 6:00am UTC](https://discuss.tryton.org/t/mensaje-de-confirmacion-en-boton-de-wizard/8905 "2025-10-22T06:00:01Z")

</div>

Estimada comunidad, reciban mi cordial saludo, estoy investigando si es posible agregar un mensaje de confirmación al dar click a un boton en un wizard. Si alguien logro hacerlo le agradeceré alguna opinión o consejo.

---

## [Pdb y trytond-console](https://discuss.tryton.org/t/pdb-y-trytond-console/8839)

<div class="topic-metadata">

**Author:** [@landras1](https://discuss.tryton.org/u/landras1)\
**Replies:** 4\
**Last updated:** [October 21, 2025, 2:08pm UTC](https://discuss.tryton.org/t/pdb-y-trytond-console/8839 "2025-10-21T14:08:01Z")

</div>

Buenos días Quisiera consultar si es posible usar pdb en trytond-console. Si introduzco un breakpoint() o import pdb; pdb.set\_strace() me sale una excepción: \[3\] \> (19)() (Pdb++) Traceback (most recent call last): Fil…

---

## [Cobas e 411 Machine Not Scanning Tryton-Generated Barcode](https://discuss.tryton.org/t/cobas-e-411-machine-not-scanning-tryton-generated-barcode/8898)

<div class="topic-metadata">

**Author:** [@shafi12](https://discuss.tryton.org/u/shafi12)\
**Replies:** 15\
**Last updated:** [October 20, 2025, 9:28am UTC](https://discuss.tryton.org/t/cobas-e-411-machine-not-scanning-tryton-generated-barcode/8898 "2025-10-20T09:28:38Z")

</div>

Hello everyone, I’m facing a barcode compatibility issue with the Cobas e 411 analyzer. The barcode generated from Tryton is not being detected by the Cobas machine. However, the same analyzer perfectly reads barcodes g…

---

## [Different Tryton Version by the Same Cookiecutter Command](https://discuss.tryton.org/t/different-tryton-version-by-the-same-cookiecutter-command/8891)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 5\
**Last updated:** [October 14, 2025, 4:13pm UTC](https://discuss.tryton.org/t/different-tryton-version-by-the-same-cookiecutter-command/8891 "2025-10-14T16:13:40Z")

</div>

Hi recently I want to create a new app in Tryton, and using the below command: cookiecutter hg+https\>//code.tryton.org/tryton --directory cookiecutr-module --checkout 7.6 All good, but I realized there is a difference …

---

## [Remove field from Product Template tree view](https://discuss.tryton.org/t/remove-field-from-product-template-tree-view/8888)

<div class="topic-metadata">

**Author:** [@jt93](https://discuss.tryton.org/u/jt93)\
**Replies:** 2\
**Last updated:** [October 13, 2025, 6:32am UTC](https://discuss.tryton.org/t/remove-field-from-product-template-tree-view/8888 "2025-10-13T06:32:30Z")

</div>

Hi, I want to remove the products field from the template\_view\_tree by inheriting the view with: \<record model="ir.ui.view" id="template\_view\_tree"\> \<field name="model"\>product.template\</field\> \<field name="inh…

---

## [Set the default accounts in the financial configuration with Proteus](https://discuss.tryton.org/t/set-the-default-accounts-in-the-financial-configuration-with-proteus/8875)

<div class="topic-metadata">

**Author:** [@Gruenfischer](https://discuss.tryton.org/u/Gruenfischer)\
**Replies:** 6\
**Last updated:** [October 8, 2025, 9:00am UTC](https://discuss.tryton.org/t/set-the-default-accounts-in-the-financial-configuration-with-proteus/8875 "2025-10-08T09:00:18Z")

</div>

Hi everybody, I am currently working on a testing setup for a chart of accounts. I am stuck at a point with proteus, where I request some help. I try to set the default accounts in the financial configuration with Prote…

---

## [CSV Import Error with Dates in Timesheet Module](https://discuss.tryton.org/t/csv-import-error-with-dates-in-timesheet-module/8805)

<div class="topic-metadata">

**Author:** [@mimo\_Alva](https://discuss.tryton.org/u/mimo_Alva)\
**Replies:** 0\
**Last updated:** [September 3, 2025, 7:42am UTC](https://discuss.tryton.org/t/csv-import-error-with-dates-in-timesheet-module/8805 "2025-09-03T07:42:02Z")

</div>

Hello, When importing a CSV file into the Timesheet module on Trytond 6.0.0, I encountered an error related to date parsing. Here is the error: Warning: Traceback (most recent call last): File “/lib/python3.7/site-pa…

---

## [Implement Calc in FODS template](https://discuss.tryton.org/t/implement-calc-in-fods-template/8883)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 2\
**Last updated:** [October 8, 2025, 8:33am UTC](https://discuss.tryton.org/t/implement-calc-in-fods-template/8883 "2025-10-08T08:33:53Z")

</div>

I have the following setup in my FODS: I want the formula to be = Qty x Unit List Price So I tried like this: And after generating the Excel file.. the formula is not repeated following the row So I searched…

---

## [The “new” and “switch” buttons only work after refreshing the page in the browser](https://discuss.tryton.org/t/the-new-and-switch-buttons-only-work-after-refreshing-the-page-in-the-browser/8879)

<div class="topic-metadata">

**Author:** [@jankstar](https://discuss.tryton.org/u/jankstar)\
**Replies:** 4\
**Last updated:** [October 4, 2025, 9:14am UTC](https://discuss.tryton.org/t/the-new-and-switch-buttons-only-work-after-refreshing-the-page-in-the-browser/8879 "2025-10-04T09:14:59Z")

</div>

Hi, I have defined a simple model and list, form, and menu via XML (similar to the tutorial) – when I click on the menu in the web (sao), the “switch” and “new” buttons do not work at first, only after I have refreshed …

---

## [Issue Integrating External Website Data with Tryton](https://discuss.tryton.org/t/issue-integrating-external-website-data-with-tryton/8869)

<div class="topic-metadata">

**Author:** [@Amy-Leigh](https://discuss.tryton.org/u/Amy-Leigh)\
**Replies:** 1\
**Last updated:** [October 1, 2025, 8:47am UTC](https://discuss.tryton.org/t/issue-integrating-external-website-data-with-tryton/8869 "2025-10-01T08:47:23Z")

</div>

Hello everyone, I’m currently working on integrating my website with Tryton to streamline data management. While other platforms connect smoothly, I’ve run into issues when trying to sync website data (such as customer …

---

## [Suggestions for Improving Tryton’s User Interface for Clients](https://discuss.tryton.org/t/suggestions-for-improving-tryton-s-user-interface-for-clients/8870)

<div class="topic-metadata">

**Author:** [@Amy-Leigh](https://discuss.tryton.org/u/Amy-Leigh)\
**Replies:** 2\
**Last updated:** [October 1, 2025, 8:25am UTC](https://discuss.tryton.org/t/suggestions-for-improving-tryton-s-user-interface-for-clients/8870 "2025-10-01T08:25:55Z")

</div>

Hello everyone, I’ve been setting up Tryton for business management and it works well for backend operations, but I’ve noticed that some clients find the interface less intuitive compared to modern web platforms. I’m ex…

---

## [Get Parent Model ID from Child during New Child Creation](https://discuss.tryton.org/t/get-parent-model-id-from-child-during-new-child-creation/8842)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 8\
**Last updated:** [October 1, 2025, 1:48am UTC](https://discuss.tryton.org/t/get-parent-model-id-from-child-during-new-child-creation/8842 "2025-10-01T01:48:34Z")

</div>

Hi, I have a code as below in a parent model (Project): @classmethod def \_\_setup\_\_(cls): super().\_\_setup\_\_() cls.proj\_phase.selection = cls.\_get\_phases(cls) cls.proj\_type.selection = cls…

---

## [Running tests via pytest fails while collecting tests](https://discuss.tryton.org/t/running-tests-via-pytest-fails-while-collecting-tests/8860)

<div class="topic-metadata">

**Author:** [@htgoebel](https://discuss.tryton.org/u/htgoebel)\
**Replies:** 2\
**Last updated:** [September 30, 2025, 6:02pm UTC](https://discuss.tryton.org/t/running-tests-via-pytest-fails-while-collecting-tests/8860 "2025-09-30T18:02:53Z")

</div>

Preface: I know that the official way to run the test-suites is using tox resp. unittest. Anyhow, for Guix packaging we use pytest to run the test-suites as this allows to easily exclude test (e.g. those requiring networ…

---

## [Delete draft invoice](https://discuss.tryton.org/t/delete-draft-invoice/8858)

<div class="topic-metadata">

**Author:** [@Testing\_tryton](https://discuss.tryton.org/u/Testing_tryton)\
**Replies:** 1\
**Last updated:** [September 26, 2025, 3:23pm UTC](https://discuss.tryton.org/t/delete-draft-invoice/8858 "2025-09-26T15:23:11Z")

</div>

Delete method forces cancel and prevents physical deletion of invoices i’m running into an issue when trying to delete invoices the situation is i have an invoice in draft state. i call =\> AccountInvoice.delete(\[invoi…

---

## [Proteus get list\_price of a product](https://discuss.tryton.org/t/proteus-get-list-price-of-a-product/8850)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 4\
**Last updated:** [September 24, 2025, 5:39pm UTC](https://discuss.tryton.org/t/proteus-get-list-price-of-a-product/8850 "2025-09-24T17:39:15Z")

</div>

how can i get the list-price of a product ? Template=Model.get('product.template') template,=Template.find(\[('code','=','XXX0003')\]) print (template) product.template,2277 Price=Model.get('product.list\_price') price,=Pr…

---

## [Proteus stock\_move and move.origin](https://discuss.tryton.org/t/proteus-stock-move-and-move-origin/8848)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 10\
**Last updated:** [September 24, 2025, 8:51am UTC](https://discuss.tryton.org/t/proteus-stock-move-and-move-origin/8848 "2025-09-24T08:51:49Z")

</div>

je bloque encore sur l’importation des mouvements sans origine. j’ai tenté Create initial stock moves with proteus - #5 by DancesWithHaggises TypeError: ‘\<’ not supported between instances of ‘stock.move’ and ‘stock.mo…

---

## [How to use proteus with stock.move](https://discuss.tryton.org/t/how-to-use-proteus-with-stock-move/8847)

<div class="topic-metadata">

**Author:** [@herve\_02](https://discuss.tryton.org/u/herve_02)\
**Replies:** 12\
**Last updated:** [September 23, 2025, 9:46am UTC](https://discuss.tryton.org/t/how-to-use-proteus-with-stock-move/8847 "2025-09-23T09:46:43Z")

</div>

Hello i am trying to use proteus to create stock\_move, but i may do some things wrong stmove=Model.get('stock.move') the\_move=stmove(); the\_move.product=product; p\_date=date(2025,9,11) the\_move.planned\_date=p\_date the\_m…

---

## [Une application de gestion complète de club de voile](https://discuss.tryton.org/t/une-application-de-gestion-complete-de-club-de-voile/8843)

<div class="topic-metadata">

**Author:** [@npettiaux](https://discuss.tryton.org/u/npettiaux)\
**Replies:** 2\
**Last updated:** [September 22, 2025, 9:26am UTC](https://discuss.tryton.org/t/une-application-de-gestion-complete-de-club-de-voile/8843 "2025-09-22T09:26:17Z")

</div>

Bonjour, Ceci est mon premier message, et mon début dans tryton. Je voudrais l’utiliser pour créer une application qui a vocation à gérer sous différents noms de domaines, des marinas de clubs de voile. Il faut donc po…

---

## [Trying to understand account types](https://discuss.tryton.org/t/trying-to-understand-account-types/8838)

<div class="topic-metadata">

**Author:** [@edbo](https://discuss.tryton.org/u/edbo)\
**Replies:** 3\
**Last updated:** [September 17, 2025, 1:19pm UTC](https://discuss.tryton.org/t/trying-to-understand-account-types/8838 "2025-09-17T13:19:47Z")

</div>

I’m trying to understand the account types because I want to implement the Dutch general CoA called RGS (Referentie Grootboek Schema). This CoA is based on several taxonomies and can be found at Index of /rgs/nt20/rgs/20…

---

## [Unusual behaviour in dunning](https://discuss.tryton.org/t/unusual-behaviour-in-dunning/8835)

<div class="topic-metadata">

**Author:** [@Birlibirloque](https://discuss.tryton.org/u/Birlibirloque)\
**Replies:** 4\
**Last updated:** [September 15, 2025, 2:22pm UTC](https://discuss.tryton.org/t/unusual-behaviour-in-dunning/8835 "2025-09-15T14:22:23Z")

</div>

Using account\_dunning, I have configured the procedure with the following dates. 1 Month 1 Week 1 Day Based on tests I have carried out, this order is correct. When generating dunning notices (invoice unpaid for 2 day…

---

## [Trying to use \<Image\> causes IconFactory.\_get\_pixbuf\_url() error](https://discuss.tryton.org/t/trying-to-use-image-causes-iconfactory-get-pixbuf-url-error/8830)

<div class="topic-metadata">

**Author:** [@philipp.ludwig](https://discuss.tryton.org/u/philipp.ludwig)\
**Replies:** 4\
**Last updated:** [September 11, 2025, 9:51am UTC](https://discuss.tryton.org/t/trying-to-use-image-causes-iconfactory-get-pixbuf-url-error/8830 "2025-09-11T09:51:18Z")

</div>

On Tryton 7.6.6, I am trying to display an image like this: \<image type="url" name="/some/path/filename.jpg" size="200"/\> But I get: File "dev/venv/lib/python3.13/site-packages/tryton/gui/window/view\_form/view/list.py…

---

## [Auto refresh for views](https://discuss.tryton.org/t/auto-refresh-for-views/8712)

<div class="topic-metadata">

**Author:** [@bala4901](https://discuss.tryton.org/u/bala4901)\
**Replies:** 5\
**Last updated:** [September 8, 2025, 8:10am UTC](https://discuss.tryton.org/t/auto-refresh-for-views/8712 "2025-09-08T08:10:13Z")

</div>

Hi, Recently I have a project to collect the ticker(stocks) data, and it will need to refresh frequently example refresh screen every 1 minute. May I know anyone has the experience to make auto refresh on the client? …

---

## [Is it possible to pass the record ID to the Form class automatically when the user click the button?](https://discuss.tryton.org/t/is-it-possible-to-pass-the-record-id-to-the-form-class-automatically-when-the-user-click-the-button/8819)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 1\
**Last updated:** [September 8, 2025, 7:43am UTC](https://discuss.tryton.org/t/is-it-possible-to-pass-the-record-id-to-the-form-class-automatically-when-the-user-click-the-button/8819 "2025-09-08T07:43:24Z")

</div>

Hi @oscarQ thank you for the solution :+1: Now I have another challenge, my wizard form code is like below: class RAGQuotationReportForm(ModelView): 'Download RAG Quotation Form' \_\_name\_\_ = 'ltl.crm.rag.quotati…

---

## [Can a custom Button triggers a Wizard form?](https://discuss.tryton.org/t/can-a-custom-button-triggers-a-wizard-form/8801)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 5:29am UTC](https://discuss.tryton.org/t/can-a-custom-button-triggers-a-wizard-form/8801 "2025-09-01T05:29:39Z")

</div>

Hi, Continue from my question at here, is it possible for this custom button as coded below to trigger a Wizard form, instead of from Wizard Nav-bar button? @classmethod def \_\_setup\_\_(cls): super(SalesO…

---

## [How to Query model id from a function?](https://discuss.tryton.org/t/how-to-query-model-id-from-a-function/8816)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 1\
**Last updated:** [September 6, 2025, 9:00am UTC](https://discuss.tryton.org/t/how-to-query-model-id-from-a-function/8816 "2025-09-06T09:00:29Z")

</div>

I have below code: class RAGQuotationReportForm(ModelView): 'RAG Quotation Report Start' \_\_name\_\_ = 'ltl.crm.rag.quotation.report.form' quotation = fields.Many2One('ltl.crm.rag.quotation', 'Quotation', requ…

---

## [Using Eval with parent fields](https://discuss.tryton.org/t/using-eval-with-parent-fields/8813)

<div class="topic-metadata">

**Author:** [@shervas](https://discuss.tryton.org/u/shervas)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 12:06pm UTC](https://discuss.tryton.org/t/using-eval-with-parent-fields/8813 "2025-09-05T12:06:59Z")

</div>

Hi, When using expressions with Eval('\_parent\_xxx') in view\_attributes or in field states, the referenced field must be present in the view. Otherwise, the view engine will not load its value and the expression won’t w…

---

## [Updating The List in FE](https://discuss.tryton.org/t/updating-the-list-in-fe/8807)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 1\
**Last updated:** [September 4, 2025, 8:05am UTC](https://discuss.tryton.org/t/updating-the-list-in-fe/8807 "2025-09-04T08:05:12Z")

</div>

I have a scenario where I can copy one record to other existing records as below: @classmethod def \_\_setup\_\_(cls): cls.month\_of\_billing.selection = cls.\_month\_get() cls.year\_of\_billing.selection …

---

## [Adding Column Name on Button at tree](https://discuss.tryton.org/t/adding-column-name-on-button-at-tree/8806)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 1\
**Last updated:** [September 4, 2025, 6:59am UTC](https://discuss.tryton.org/t/adding-column-name-on-button-at-tree/8806 "2025-09-04T06:59:42Z")

</div>

On table header, I want to put Column Name for Copy button column. Anybody knows? Bromo

---

## [Speed up supply stock wizard](https://discuss.tryton.org/t/speed-up-supply-stock-wizard/8795)

<div class="topic-metadata">

**Author:** [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Replies:** 8\
**Last updated:** [August 29, 2025, 9:48am UTC](https://discuss.tryton.org/t/speed-up-supply-stock-wizard/8795 "2025-08-29T09:48:20Z")

</div>

Hi, I’m trying to improve the performance of supply stock wizard. Currently or database have the following figures: Product Template: 4.500 records Product Product: 60.000 records (there are products that have more th…

---

## [Custom Button Throws Error at compile](https://discuss.tryton.org/t/custom-button-throws-error-at-compile/8798)

<div class="topic-metadata">

**Author:** [@bromoapp](https://discuss.tryton.org/u/bromoapp)\
**Replies:** 2\
**Last updated:** [August 26, 2025, 2:18pm UTC](https://discuss.tryton.org/t/custom-button-throws-error-at-compile/8798 "2025-08-26T14:18:43Z")

</div>

I want to create a button, so I look at tutorial, but the tutorial it requires Workflow which I don’t.. I just wanna create a button that invoke a classmethod, and print “HELLO WORLD” in console. So I search and found t…

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

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