chat.freenode.net #tryton log beginning Thu Sep 6 00:00:01 CEST 2018 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:06 | |
-!- rmu|w(~robert@cpe90-146-69-94.liwest.at) has joined #tryton | 00:27 | |
-!- csotelo(~csotelo@190.233.231.180) has joined #tryton | 00:34 | |
-!- csotelo(~csotelo@190.233.231.180) has joined #tryton | 00:50 | |
-!- csotelo(~csotelo@190.233.231.180) has joined #tryton | 01:06 | |
-!- pokoli(~pokoli@mail.koolpi.com) has joined #tryton | 01:09 | |
-!- csotelo(~csotelo@190.233.231.180) has joined #tryton | 01:15 | |
-!- lucascastro(~lucascast@177-185-139-175.isotelco.net.br) has joined #tryton | 01:34 | |
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton | 02:16 | |
-!- yangoon(~mathiasb@i59F4A98F.versanet.de) has joined #tryton | 02:48 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 05:45 | |
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 06:17 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:32 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 06:34 | |
-!- thaneor(~lenovo3@179.26.224.34) has joined #tryton | 06:35 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 06:54 | |
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 07:11 | |
-!- zmijunkie(~Adium@i577AD99F.versanet.de) has joined #tryton | 07:13 | |
-!- rpit(~ralf@p5B22B781.dip0.t-ipconnect.de) has joined #tryton | 07:22 | |
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton | 07:23 | |
jcm | hi, I don't undestand how translations work. I added in a custom module entries to translate custom terms in reports. Works in invoice but not in sale, though the fr.po entry is the same for both. | 07:50 |
---|---|---|
jcm | for the sale report my fr.po entry begin with msgctxt "report:sale.sale:" whereas it's msgctxt "report:account.invoice:" for invoice | 07:51 |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 08:12 | |
pokoli | jcm: are you editing the po file directly? | 08:14 |
pokoli | jcm: you should execute the translation wizards from Administration menu. See http://doc.tryton.org/4.8/trytond/doc/topics/translation.html?#translation-wizards | 08:15 |
pokoli | jcm: After the syncrionize translation wizard is executed you will see the terms for this language. You can filter by your module name and edit the translations | 08:16 |
pokoli | jcm: Once translated you can test the reports directly in the database | 08:16 |
pokoli | jcm: the export translation wizard allows to generate the po file of your module once the translation is finished | 08:17 |
-!- JanGB1(~jan@ip92342a4a.dynamic.kabel-deutschland.de) has joined #tryton | 09:33 | |
-!- lukio(~lukio@181.95.226.71) has joined #tryton | 09:47 | |
-!- JanGB1(~jan@ip92342a4a.dynamic.kabel-deutschland.de) has joined #tryton | 09:58 | |
-!- JanGB1(~jan@ip92342a4a.dynamic.kabel-deutschland.de) has left #tryton | 10:03 | |
-!- csotelo(~csotelo@2001:1388:49c7:c14c:b00e:d118:ee33:147f) has joined #tryton | 10:59 | |
-!- mariomop(~quassel@host172.190-227-22.telecom.net.ar) has joined #tryton | 11:06 | |
-!- csotelo_(~csotelo@190.235.169.49) has joined #tryton | 11:32 | |
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton | 12:09 | |
-!- armand_(~armand@41.159.30.242) has joined #tryton | 12:21 | |
-!- lukio(~lukio@186.143.138.3) has joined #tryton | 12:37 | |
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton | 12:48 | |
-!- csotelo_at_work(~csotelo_a@179.43.97.56) has joined #tryton | 13:37 | |
-!- armand_(~armand@41.159.30.242) has joined #tryton | 14:17 | |
-!- andrespoliti(~andrespol@200.50.173.5) has joined #tryton | 14:36 | |
andrespoliti | good morning | 14:36 |
andrespoliti | is it possible to define a button that opens an action with a filter already set? | 14:36 |
andrespoliti | for example: i have an Asset form, and when the user clicks on a button and it open a list of all the Workorders for the current Asset in the Draft state | 14:37 |
cedk | andrespoliti: why not use the relate keyword? | 14:38 |
andrespoliti | cedk: i never used that, what is the relate keyword? | 14:39 |
cedk | andrespoliti: it is a kind of keyword that you can attach to an action | 14:40 |
cedk | andrespoliti: like the wizard or the report | 14:40 |
cedk | otherwise the action launch by a button are evaluated like the action launch from keyword | 14:41 |
cedk | so the domain is evaluated with the active_ids | 14:41 |
andrespoliti | cedk: with the relate keyword, would it be possible to define different domains depending on the column the user clicks on the tree view? | 14:43 |
cedk | andrespoliti: it does not click on any column when he click on a relate | 14:47 |
andrespoliti | my use case is a tree view with a register for each Asset, and a column for each possible state of a Workorder, and each column displays the number of Workorders for that Asset in that state | 14:48 |
andrespoliti | and the user wants to be able to click on a column, and it opens the tree view of Workorderes, filtered by asset and state | 14:49 |
andrespoliti | i'm not sure what would be the best approach for making this | 14:49 |
cedk | andrespoliti: clicking on column makes only sort the content | 14:49 |
andrespoliti | i mean the user clicks on the value of the column | 14:50 |
andrespoliti | they click in the number of Workorders displayed | 14:50 |
cedk | andrespoliti: you can click only on button | 14:51 |
andrespoliti | okey, so i will put a button next to each column | 14:52 |
andrespoliti | i guess i should use the button_action decorator, but how can i give it a domain? | 14:52 |
cedk | andrespoliti: but indeed I find that using a relate will be more efficient | 14:53 |
cedk | user select the row and then select which relate to open | 14:53 |
pokoli | andrespoliti: why not using a single action with tab domains for each state? | 14:54 |
cedk | so the view is not cluttered with a lot of buttons | 14:54 |
cedk | pokoli: maybe it is not the same Model | 14:54 |
pokoli | I understood it was the same model (WorkOrders) | 14:55 |
andrespoliti | the first model is Assets, and the related model is Workorders | 14:55 |
pokoli | andrespoliti: I agree with cedk that using relate is the more is more efficient | 14:55 |
andrespoliti | yes, i can define one relate for each Workorder state | 14:56 |
andrespoliti | okey, i will try that | 14:57 |
andrespoliti | thank you! | 14:57 |
cedk | In addition, you can to run the relate on multiple records which is not possible with a button | 15:02 |
-!- lucascastro(~lucascast@189.90.38.210.jupiter.com.br) has joined #tryton | 15:11 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 15:48 | |
-!- lucascastro(~lucascast@186.193.179.10.jupiter.com.br) has joined #tryton | 16:31 | |
-!- armand(~armand@41.159.30.242) has joined #tryton | 17:11 | |
-!- lucascastro(~lucascast@200.141.207.18) has joined #tryton | 17:59 | |
-!- csotelo(~csotelo@2001:1388:49c7:d150:38c7:734c:8923:4710) has joined #tryton | 18:22 | |
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 18:28 | |
-!- thaneor1(~lenovo3@r179-25-69-219.dialup.adsl.anteldata.net.uy) has joined #tryton | 18:37 | |
-!- mariomop(~quassel@host172.190-227-22.telecom.net.ar) has joined #tryton | 18:59 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 20:00 | |
-!- armand(~armand@41.159.30.242) has joined #tryton | 20:22 | |
-!- jmpoure(~jmpoure@soy95-3-82-237-147-64.fbx.proxad.net) has joined #tryton | 20:24 | |
-!- kwmiebach(sid16855@gateway/web/irccloud.com/x-gltwbtgfrfeusuxi) has joined #tryton | 21:03 | |
-!- giesen(~ggiesen@ego.giesen.me) has joined #tryton | 21:20 | |
-!- lukio(~lukio@181.95.226.71) has joined #tryton | 21:47 | |
lukio | Hi everybody, I added a new field at the tree view of invoices. But, I setted with view_attributes to be display only when the invoices are 'out' type. The problem is that the user can filter on that field at supplier invoices. I'm think is an strange behaviour. I'm working with v4.2 | 21:49 |
lukio | I like to filter on fields that are set to be invisible (like add the tree_invisible attribute on xml), but sometimes, is there any way to set to not add that field on the filter widget on tryton client? | 21:51 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!