chat.freenode.net #tryton log beginning Tue Jan 12 12:00:01 AM CET 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:05 | |
samtc | When I try to import a statement (Financials -> Statements -> Import Statement) I get the message "To import statement, you must create a journal for account "123-12345-1234567". | 00:41 |
---|---|---|
samtc | where should I create the Journal? | 00:42 |
samtc | I have an account with that name | 00:43 |
samtc | I tried to create a journal in Financials -> Configuration -> Journals -> Journals using the account name | 00:44 |
samtc | I just found the scenario_account_statement_ofx.rst that could help | 00:50 |
samtc | "The value for field "Bank Account" in "Statement Journal" is not valid according to its domain." | 01:05 |
samtc | ok, my bank account had the wrong owner! | 02:01 |
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton | 02:15 | |
-!- thaneor1(~ldlc6@r167-61-34-86.dialup.adsl.anteldata.net.uy) has joined #tryton | 05:08 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:48 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:52 | |
-!- LordVan(~LordVAn@gentoo/developer/LordVan) has joined #tryton | 06:41 | |
LordVan | hi | 06:43 |
LordVan | since I did not find anything yet .. how can I use translations (of contact mechanism type) in reports? | 06:44 |
-!- Timitos(~kpreisler@2001:a61:578:ee01:762b:62ff:fe84:ed7e) has joined #tryton | 07:17 | |
pokoli | LordVan: yes they can be used but you should create a translated property in the model | 07:42 |
pokoli | LordVan: this is the example for identifier type: https://hg.tryton.org/modules/party/file/dd86a4a67170/party.py#l441 | 07:44 |
pokoli | LordVan: and then in the report you should use the translated property (type_string) instead of the original one (type) | 07:44 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:46 | |
-!- fooflare(~fooflare@213.94.26.109) has joined #tryton | 08:48 | |
LordVan | pokoli, ah thanks .. | 09:01 |
LordVan | I had looked if there was type_string but there was none | 09:01 |
LordVan | that said | 09:01 |
LordVan | how can i do string replacement ? is there some REPLACE function? didn'T see anythin gin genshi docs on a quick look over | 09:02 |
pokoli | LordVan: you can do a function field to return whatever values you need | 09:03 |
LordVan | pokoli, well i only want it at one place in the template so i'D prefer to do it in the odt directly | 09:03 |
LordVan | like i want sale.number "normally" at the top of the page just later on i need it with the '/' replaced with a '-' as it is a path | 09:04 |
pokoli | LordVan: i do not understand what do you want | 09:07 |
LordVan | well I got my sale number which is ${year}/<number> and i want it on a report where it is part of a file system path - so i need to just have a string replace on the text (on the report itself) | 09:10 |
LordVan | alternatively i could make this a seperate field on the sale though and use that .. might even be better .. hmm | 09:11 |
pokoli | LordVan: on the report_name or in the reort content? | 09:11 |
LordVan | content | 09:11 |
pokoli | LordVan: then you can use a python expression to replace it: sale.number.replace('/', '-') | 09:13 |
LordVan | ah i can do that? | 09:13 |
LordVan | nice | 09:13 |
LordVan | so just a placeholder with that text? or do i need to tell it it is an expression? | 09:14 |
pokoli | LordVan: of course, genshi evaluates python expressions so you can do whatever you can do in a one-line expression | 09:14 |
pokoli | LordVan: placeholder with that text | 09:14 |
LordVan | yeah i have no prior experience with genshi | 09:14 |
LordVan | thanks :) | 09:14 |
pokoli | LordVan: other option is to use - as separator for the sequence | 09:14 |
pokoli | LordVan: normally it's bettter to have the same value on tryton and on reports | 09:15 |
LordVan | pokoli, well you probably know how it is with changing long-running conventions in companies .. | 09:15 |
LordVan | and yes i agree | 09:15 |
LordVan | but the '/' is just an issue if you want to use it in file/folder names so | 09:15 |
LordVan | otherwise we want the / | 09:16 |
pokoli | LordVan: tryton uses the rec_name in report names. This means using the sale number for sale reports | 09:17 |
pokoli | LordVan: but IIRC we slugify the name to avoid issues | 09:17 |
pokoli | LordVan: software migration is a good excuse to change long-running conventions in companies :P | 09:19 |
LordVan | s.rec_name | 09:19 |
LordVan | : '2021/0001 [M20061-2460]' | 09:19 |
-!- JanGB(~jan@2a02:810a:1440:64da:6257:18ff:fe9c:c3a9) has joined #tryton | 09:30 | |
JanGB | pokoli: https://bugs.tryton.org/issue9464 | 09:31 |
JanGB | pokoli: Bon dia | 09:31 |
JanGB | pokoli: i search progressbar in roundup thinking that title is indexed | 09:32 |
pokoli | JanGB: title is index, but by default only open issues are shown. So you should check the "All" button to include also resovled issues | 09:32 |
JanGB | pokoli: ah - ok | 09:33 |
pokoli | JanGB: https://bugs.tryton.org/issue?%40columns=id%2Cactivity%2Ctitle%2Ccreator%2Cassignedto%2Cstatus&%40sort=-activity&%40group=priority&%40filter=status&%40search_text=set_editable&submit=Search&status= | 09:33 |
pokoli | JanGB: Bon dia or gutten morgen. what you prefer :P | 09:34 |
LordVan | おはようございます | 09:36 |
LordVan | ah | 09:36 |
LordVan | looks like my hexchat font on windows is .. meh | 09:36 |
pokoli | LordVan: i just see some non encoded charcters | 09:38 |
LordVan | or japanese IME on hexchat on windows is meh | 09:38 |
LordVan | never mind | 09:39 |
JanGB | pokoli: The errror was reported from mac user after update client - possibly your patch is not included? | 10:12 |
pokoli | JanGB: which tryon version? | 10:17 |
JanGB | pokoli: 5.0 | 10:19 |
pokoli | JanGB: 5.0 what else? The patch is included on 5.0.26 | 10:21 |
pokoli | JanGB: latests version of the series is 5.0.30 | 10:22 |
JanGB | pokoli: dont know - he downloaded from top message and blamed me after :) | 10:22 |
JanGB | pokoli: I will ask which version | 10:23 |
pokoli | JanGB: ok. Upgrading to 5.0.30 should fix the issue | 10:24 |
pokoli | JanGB: I've tested on tryton5.0 and I can reproduce it. I get a traceback when opening the projects | 10:27 |
JanGB | pokoli: jupp | 10:27 |
pokoli | JanGB: so probably we need to investigate if there is a problem with the backport or the issue has been reintroduced to tip | 10:27 |
-!- mariomop(~quassel@190.188.44.80) has joined #tryton | 10:43 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 13:07 | |
-!- lucascastro(~lucascast@177-185-133-174.dynamic.isotelco.net.br) has joined #tryton | 13:26 | |
samtc | hi | 15:35 |
samtc | Using "sale_subsription" I created a subscription (start_date: 2021-01-01), but when I manually run the "Create Subcription Invoices" action, nothing happen | 15:36 |
-!- JanGB(~jan@ip5f5ab06a.dynamic.kabel-deutschland.de) has joined #tryton | 15:39 | |
pokoli | samtc: you should create first the consumptions | 15:39 |
samtc | pokoli: yes, but it's the same, nothing happen | 15:40 |
samtc | it works! consumption reference was missing | 15:43 |
-!- thaneor(~ldlc6@r167-61-12-136.dialup.adsl.anteldata.net.uy) has joined #tryton | 17:11 | |
-!- rpit(~rpit@p200300c88f4cbb00cea2955fb3b32f1a.dip0.t-ipconnect.de) has joined #tryton | 17:20 | |
-!- JanGB(~jan@ip5f5ab06a.dynamic.kabel-deutschland.de) has joined #tryton | 19:02 | |
-!- lucascastro(~lucascast@177-185-133-174.dynamic.isotelco.net.br) has joined #tryton | 19:09 | |
-!- lucascastro(~lucascast@177-185-133-174.dynamic.isotelco.net.br) has joined #tryton | 19:19 | |
-!- lucascastro(~lucascast@177-185-133-174.dynamic.isotelco.net.br) has joined #tryton | 19:25 | |
-!- lucascastro(~lucascast@177-185-133-174.dynamic.isotelco.net.br) has joined #tryton | 19:58 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!