IRC logs of #tryton for Wednesday, 2022-01-19

irc.libera.chat #tryton log beginning Wed Jan 19 12:00:01 AM CET 2022
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:29
-!- ChanServ changed mode/#tryton -> +o cedk 01:29
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton06:12
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton06:15
-!- springwurm(~springwur@5.104.149.54) has joined #tryton06:25
-!- rpit(~rpit@p200300c88f3e0900e532e79838eb182a.dip0.t-ipconnect.de) has joined #tryton08:18
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton08:19
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:46
-!- ChanServ changed mode/#tryton -> +o cedk 08:46
-!- udono(~udono@232-128-067-156.ip-addr.inexio.net) has joined #tryton09:00
pokoliIs there any reason to lock the entire table when sending to chrous? Won't be better to just lock the records that we are sending to? 11:05
pokoliWe follow the same design on account_es_sii so I'm wondering if we can not just lock the records to be sent11:05
cedkpokoli: I agree that we could just lock the invoice12:31
cedkI guess record lock did not exist when this was implemented12:32
cedkalso as there is a commit on each loop the global lock is released on the first iteration12:32
pokolicedk: so you think the best is to lock each record on each loop? 12:33
cedkpokoli: yes12:33
cedkpokoli: indeed I think the best is first lock all records than lock again in each iteration12:33
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton12:57
-!- springwurm(~springwur@5.104.149.54) has joined #tryton13:44
LordVanhi13:52
LordVanquick questions as I am confused with invoicing13:52
LordVanI ahve an invoice with some sale lines with tax and it is all shown correctly,13:53
LordVanbut when I then change it to "post" it recalculates the tax13:56
LordVansay for example in draft state I hav euntaxed: 52 €, 10,40€ tax => 62,40 € taxed which is correct13:56
LordVanand in validated it is still like that13:56
pokoliACTION after 5 sentences starts to think it is not a quick question ;-)13:57
LordVanpokoli, if i knew how to phrase it lol13:57
LordVanhad to swpa the client to english first13:57
LordVananyway after posting it goes to untaxed 41,60 € tax 10,40€ and total 52€13:58
LordVandid i set up the tax wrong somehow or why does it change it like that?13:58
pokoliLordVan: can not know without having the amounts and taxes of your lines 13:58
pokoliLordVan: but tax are recomputed based on the lines13:59
LordVanline 1: 3 * 10 € 20% VAT13:59
LordVanline 2: 22 * 1€ 20% VAT13:59
LordVanso 52 € total13:59
LordVanwith the correct tax selected as 20% VAT13:59
pokoliLordVan: and after posting? 13:59
LordVanafte rposting it subtracts the tax amount from the untaxed amount and makes the new taxed amount the old untaxed14:00
LordVannot sure if i formulated that correctly now .. do you know what i mean?14:00
pokoliLordVan: but which are the values of the lines?14:00
LordVan1st line amount is 30€ 2nd line 22 € -> total untaxed amount 52€14:01
pokoliACTION has a clue about the problem14:01
pokoliLordVan: so the problem is on the untaxed_amount isn't it?14:01
LordVanso adding 20% the total should be €62,40 taxed14:01
LordVanwell all totals are wrong after posting14:01
LordVanbot untaxed and taxed14:02
pokoliLordVan: I seen some issues on the totals when wrong accounts are used14:02
LordVanpokoli, yes that is what i was suspecting but i am not sure what the correct ones would be 14:02
pokoliLordVan: because the amounts are computed using the account move after posting (which is faster) 14:02
pokoliLordVan: so I guess you have some customization that alters the account move so the computation is broken14:02
LordVan[I'm not a bookkeeping person and just used the minimal accounting plan that came with tryton as we don'T do the bookkeeping in tryon14:02
pokoliLordVan: I bet you can not reproduce that on the demo server14:03
LordVanpokoli, i am not altering the account move14:03
LordVanpokoli, let me try quickly ^^14:03
LordVanbut i did not change any account move stuff except add custom fields and a report14:03
pokoliLordVan: could you try on the demo and copy the link to the created invoice here? 14:03
pokoliLordVan: https://demo.tryton.org14:04
LordVanon it right now .. 14:04
LordVanneed to add the tax14:06
LordVanwhat is the correct invoice account i should use for VAT ? 14:06
LordVannm i set it up like i have it here (i think)14:07
LordVanof course it doesn'T happen there ..14:10
LordVanpokoli, what account could be set up wrong though?14:11
pokoliLordVan: I've seen such error when the receivable/payable account on the move is diferent from the invoice account14:12
pokoliLordVan: Could you check that? Move and account are shown on the other info tab14:13
cedkpokoli: do you suspect that tax account used is the same as the invoice account?14:13
cedkI think we are missing a validation on invoice tax like we have on invoice line14:13
LordVanpokoli, Account is "Forderungen" (sorry not sure about correct english term) which is "Minimaler Kontentypenplan\Aktiva\Umlaufvermögen\Barvermögen"14:14
LordVanforderungen seems to translate as "receivables / accoutns receivable/outstanding"14:15
LordVanand the type is roughly translated "minimal accounting plan\assets\current/working assets \ cash14:16
pokolicedk: yes, I think that may cause an issue14:16
LordVantax accounts are set to the same14:16
pokoliLordVan: so you are using cash for both tax and party receivable account? 14:16
LordVanso the "invoice account" is set to the same as the tax accounts14:16
LordVanpokoli, yeah i did not think it mattered much when i did set that up back then14:17
LordVanI was not aware how tryton uses this at that point14:17
LordVanand i forgot to check .. 14:17
LordVanwhat would be correct?14:17
LordVan[there is no austria specific accounting plan for tryton yet so i didn'T have much choice)14:19
pokoliLordVan: you should use "Forderungen" for customer receivable account, "Steuern" for taxes, and Ertrag for revenue14:20
LordVanlet me try chaning the tax settings14:20
cedkACTION filled https://bugs.tryton.org/issue1115114:22
LordVanpokoli, yes that did the trick. thanks!14:23
LordVanI sort of hoped it was just me setting up taxe accounts wrong or so but I really was not sure as I have barely any cloue about accounting14:23
pokoliLordVan: you should think on creating a chart of accounts for austria14:24
LordVanpokoli, I was actualyl talking to timitos about that the other day .. 14:24
LordVanpokoli, but could I easily apply that to a running system still? I think that would be difficult at best?14:24
LordVanalthough i cannot seem to apply that to an existing one anymre? hm14:27
pokoliLordVan: It won't be easy to change the fiscalyear on a running instance in the middle of the fiscalyear14:28
LordVanpokoli, yeah i thought so .. so i might just see if we can get one sorted and maybe apply it next year14:29
pokoliLordVan: it may be possible to do when chaning a fiscalyear14:29
cedkyou will have to move the balance of each account to the new chart14:29
cedkso mainly it will be a like a new setup for accounting14:30
cedkprobably the best is to start with a minimal chart of account for your country and complete it later14:30
pokoliyes the best is always to start with the chart of accounts14:31
pokoliLordVan: the first step is always to find the legislation of your country where the minimal chart is declared14:32
LordVanwell to be honest I really only need minimal as we are not doing accounting with tryton I just need the internals to work so it might be more effort than is worth it14:32
pokoliACTION is tired of people caring only of it's own food14:33
LordVanpokoli, don'T misunderstand I want to make the accounting plan wiht timitos14:39
LordVanbut i might not apply it to my install 14:39
LordVanthat is if we can find someone familiar with austrian accounting laws to do this properly14:39
cedkLordVan: the law is not much to do with the chart of account14:41
cedkthe first step is just to fill all the standard accounts14:42
pokoliLordVan: may this document be a starting point? https://www.steuerverein.at/wp-content/uploads/2019/07/KFSBW6_13072017_RF.pdf ? 14:47
timitosLordVan: i have talked with my contact in austria today. he may be able to provide a starting point for a chart for austria. i will introduce you to each other.14:59
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton15:42
-!- ChanServ changed mode/#tryton -> +o cedk 15:42

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!