irc.libera.chat #tryton log beginning Mon Jul 19 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:09 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:09 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:33 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:33 | |
-!- ChanServ(ChanServ@services.libera.chat) has joined #tryton | 05:00 | |
-!- timitos(~kpreisler@2001:a61:4c2:e001:762b:62ff:fe84:ed7e) has joined #tryton | 05:51 | |
-!- udono(~udono@015-056-210-188.ip-addr.inexio.net) has joined #tryton | 06:19 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:38 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:38 | |
-!- rpit(~rpit@p4fd19beb.dip0.t-ipconnect.de) has joined #tryton | 07:05 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 08:15 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 09:22 | |
-!- Jared-nan(~Jared-nan@173.red-2-136-122.staticip.rima-tde.net) has joined #tryton | 10:04 | |
-!- rpit(~rpit@p200300c88f237e00350a8f4bb01b2b21.dip0.t-ipconnect.de) has joined #tryton | 11:08 | |
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton | 11:45 | |
-!- rs[m](~rsinframa@2001:470:69fc:105::ea2) has joined #tryton | 11:54 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:02 | |
Jared-nan | Hello, we're working on the account consolidation task (https://codereview.tryton.org/346041008/), | 13:16 |
---|---|---|
Jared-nan | as Ced said here (https://codereview.tryton.org/346041008/patch/336491010/334471003) | 13:16 |
Jared-nan | we're trying to call the get_amount() with a context for each company, | 13:16 |
Jared-nan | the problem is that we need a fiscal year in the context to get the periods between start and end in GeneralLedger.get_period_ids(), | 13:16 |
Jared-nan | and to get this fiscal year, we use from_date and to_date, this is a problem when the dates are part of different fiscal years. How could we solve this? | 13:16 |
cedk | I think it is not possible to consolidate charts if they do no have the same fiscal year schema | 13:19 |
cedk | so I guess the report should be based on a selection of fiscal years | 13:19 |
cedk | or may it can work with dates using https://bugs.tryton.org/issue10249 | 13:30 |
cedk | indeed it depends of the report for balance sheet like it should be only based on a date | 13:37 |
cedk | and for income statement, it can be done on dates only and it will require something similar to https://bugs.tryton.org/issue10249 but for AccountType.get_amount | 13:42 |
Jared-nan | Yes as you say it's not a problem from balance as it's based on a single date, so if I understand you correctly we should modify AccountType.get_amount of Account to either use periods or dates not both | 13:47 |
cedk | Jared-nan: I think | 13:50 |
Jared-nan | Ok thank you | 13:54 |
-!- rpit(~rpit@p200300c88f237e00350a8f4bb01b2b21.dip0.t-ipconnect.de) has joined #tryton | 14:45 | |
-!- rpit(~rpit@p200300c88f237e00350a8f4bb01b2b21.dip0.t-ipconnect.de) has joined #tryton | 15:06 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!