IRC logs of #tryton for Wednesday, 2018-02-07

chat.freenode.net #tryton log beginning Wed Feb 7 00:00:01 CET 2018
2018-02-07 00:12 -!- cdchapman(~perturbed@73.98.169.242) has joined #tryton
2018-02-07 00:14 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-02-07 01:49 -!- sim6(sim6matrix@gateway/shell/matrix.org/x-lacmebidyilvbfge) has joined #tryton
2018-02-07 02:02 -!- thaneor(~ldlc6@r179-25-72-225.dialup.adsl.anteldata.net.uy) has joined #tryton
2018-02-07 02:11 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-02-07 04:05 -!- yangoon(~mathiasb@i59F4A9CA.versanet.de) has joined #tryton
2018-02-07 07:04 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-02-07 07:19 -!- rpit(~rpit@p4FFB7ADB.dip0.t-ipconnect.de) has joined #tryton
2018-02-07 07:20 -!- sim6(sim6matrix@gateway/shell/matrix.org/x-iizpkiahircjbqhf) has joined #tryton
2018-02-07 07:57 -!- _2cadz(~2cadz@212-198-245-154.rev.numericable.fr) has joined #tryton
2018-02-07 08:05 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2018-02-07 08:27 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2018-02-07 08:56 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2018-02-07 09:49 -!- JosDzG(~Thunderbi@2806:10a6:3:84b0:6937:6020:3abb:c70e) has joined #tryton
2018-02-07 09:52 -!- rpit(~rpit@ip-109-40-0-250.web.vodafone.de) has joined #tryton
2018-02-07 09:53 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2018-02-07 10:01 -!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton
2018-02-07 10:04 -!- JosDzG(~Thunderbi@2806:10a6:3:84b0:e554:a806:336a:6748) has joined #tryton
2018-02-07 10:38 -!- catonano(~user@151.45.35.92) has joined #tryton
2018-02-07 11:17 -!- csotelo(~csotelo@181.64.241.37) has joined #tryton
2018-02-07 11:19 -!- meigallodixital(~meigallod@162.200.26.77.dynamic.reverse-mundo-r.com) has joined #tryton
2018-02-07 11:26 -!- catonano(~user@151.45.35.92) has joined #tryton
2018-02-07 11:47 -!- mariomop(~quassel@181.93.204.237) has joined #tryton
2018-02-07 12:47 -!- catonano(~user@151.45.35.92) has joined #tryton
2018-02-07 12:57 -!- zmijunkie1(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2018-02-07 13:03 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2018-02-07 13:18 -!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton
2018-02-07 13:19 -!- meigallodixital(~meigallod@162.200.26.77.dynamic.reverse-mundo-r.com) has joined #tryton
2018-02-07 14:01 -!- catonano(~user@151.45.35.92) has joined #tryton
2018-02-07 14:05 -!- thaneor(~ldlc6@179.26.58.127) has joined #tryton
2018-02-07 14:07 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2018-02-07 14:26 -!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton
2018-02-07 14:27 <andrespoliti> what des the get_reconcile_lines_for_amount method from invoice do?
2018-02-07 14:28 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2018-02-07 14:30 <andrespoliti> it takes very long when i want to make a payment for an invoice that already has many partial payments
2018-02-07 14:38 <csotelo_at_work> dear comunity, I need a sugest for the report that I need to generate for the tax authority. I need to generate some reports like sellings and buyings, then they must be on the account_pe since it is the account module localizated, or something like account_sunat_pe? thanks alot for the suggest
2018-02-07 14:42 -!- JosDzG(~Thunderbi@2806:10a6:3:84b0:e554:a806:336a:6748) has joined #tryton
2018-02-07 15:01 <cedk> andrespoliti: I think the name is self explanatory
2018-02-07 15:02 <cedk> csotelo_at_work: I do not understand what suggestion you are looking for
2018-02-07 15:03 <andrespoliti> but why does it searches for combinations? if len(lines) is high, it takes forever
2018-02-07 15:04 <andrespoliti> if i have 20 payment lines, it will look for all the combinations of n lines, from 1 to 20
2018-02-07 15:06 <cedk> andrespoliti: look at the code
2018-02-07 15:06 <csotelo_at_work> cedk, I m alooking a suggest for a right name for a localization module, as I have written, I have a module named account_pe, having the peruvian char, now I need to implement some rerpots for the tax authority, its name is sunat. My question is, accordoing module names, what could b ethe best name for this reports module: account_pe or account_sunat_pe, knowing that account_module is relate to accounting and charts for tax authority are an
2018-02-07 15:06 <csotelo_at_work> accountant part, as sumarizing, Reports for tax authorities must be inside account_pe or a new module
2018-02-07 15:15 <andrespoliti> for n in xrange(len(lines), 0, -1):
2018-02-07 15:15 <andrespoliti> for comb_lines in combinations(lines, n)
2018-02-07 15:16 <andrespoliti> if there are a lot of lines, it will take a long time
2018-02-07 15:16 <cedk> andrespoliti: fill free to provide a better solution
2018-02-07 15:17 <andrespoliti> is there a way of finding a combination that is not the best, but that takes less time?
2018-02-07 15:25 <nicoe> andrespoliti: this problem reminds me of the knapsack problem which is NP-complete
2018-02-07 15:26 <andrespoliti> would just taking the first combination work?
2018-02-07 15:26 <nicoe> andrespoliti: using a good heuristic will probably give a performance boost
2018-02-07 15:26 <nicoe> andrespoliti: https://en.wikipedia.org/wiki/Knapsack_problem#Solving
2018-02-07 15:27 -!- zmijunkie(~Adium@b2b-78-94-52-226.unitymedia.biz) has joined #tryton
2018-02-07 15:28 <andrespoliti> the problem is i don't understand what does the method try to find
2018-02-07 15:28 <andrespoliti> i understand it tries to find the best combination of lines that gives the minimum remainder
2018-02-07 15:29 <andrespoliti> but why?
2018-02-07 15:50 <pokoli> csotelo_at_work: is the sunat report mandatory for all users of the peruvian chart of accounts or only for a subset of them?
2018-02-07 15:54 <csotelo_at_work> they are mandatory
2018-02-07 15:55 <csotelo_at_work> pokoli, these reports must be sent each month on a mandatory way for all conpanies
2018-02-07 15:55 <pokoli> csotelo_at_work: so you can include them on the peruvian chart
2018-02-07 15:55 <csotelo_at_work> in order to declare taxes
2018-02-07 15:55 <pokoli> csotelo_at_work: account_eu is a good example on how to compute this values
2018-02-07 15:55 <csotelo_at_work> let me see
2018-02-07 15:58 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2018-02-07 16:03 -!- rpit(~rpit@ip-109-40-0-250.web.vodafone.de) has joined #tryton
2018-02-07 16:23 -!- zensphere(~ox@80-110-79-206.cgn.dynamic.surfer.at) has joined #tryton
2018-02-07 16:27 -!- boeserwolf(~boeserwol@80-110-79-206.cgn.dynamic.surfer.at) has joined #tryton
2018-02-07 16:27 <boeserwolf> hi fellas
2018-02-07 16:28 <boeserwolf> anyone here got some spare minutes to push me into the right direction?
2018-02-07 16:30 <boeserwolf> got a question concerning journals and statements...
2018-02-07 16:31 <boeserwolf> ...and why i can't select any of the default journals in a statement
2018-02-07 16:37 <cedk> boeserwolf: because on statement it is statement journal that are used not accounting journal
2018-02-07 16:38 <boeserwolf> oh! aah! I see! thank you so much for clearing that up! I was wondering if I messed something up :))
2018-02-07 16:39 <cedk> boeserwolf: but journal statement are linked to an accounting journal
2018-02-07 16:41 <boeserwolf> Ah, ok... I saw that, by digging in, I ended up with a dialog where I was able to select the "Default Account Journal" ... got me a bit confused ...
2018-02-07 16:42 <boeserwolf> ...and the fact, as it seems, account journals wave their own administrative section but statement journals don't ... or I missed them ...
2018-02-07 17:03 <csotelo_at_work> pokoli, yes account_eu is a great sample!
2018-02-07 17:06 <boeserwolf> :D
2018-02-07 17:06 <boeserwolf> awesome! thank you!!
2018-02-07 17:22 -!- cdchapman(~perturbed@73.98.169.200) has joined #tryton
2018-02-07 17:23 <boeserwolf> something is odd ... still ...
2018-02-07 17:24 <boeserwolf> ... I'm not an accountant, so I assume it's simply something I do not understand...
2018-02-07 17:25 <boeserwolf> ...I activated the account_eu module and, voila, there are 'Statement Journals' ... perfect!
2018-02-07 17:26 <boeserwolf> ...when trying to create a ne 'Statement Journal' it wants me to refer to a Journal ... opening this dialog I don't see any journals so I created one
2018-02-07 17:27 <boeserwolf> ...I went to the account journals and saw that the journal I just created was there ...
2018-02-07 17:28 <boeserwolf> ..well, I thought ... why not creating another Journal right there where I was ...
2018-02-07 17:29 <cedk> boeserwolf: because statement needs more information than what the account journal support
2018-02-07 17:30 <cedk> like the currency, the validation metohd and the bank account
2018-02-07 17:30 <boeserwolf> ups ... forget it ... my bad ...
2018-02-07 17:31 <cedk> so we do not want to polute account journal with that
2018-02-07 17:31 <cedk> also accountant may want to book statements from different bank account into the same accounting journal
2018-02-07 17:33 <boeserwolf> ...I feel a bit ashamed ... sorry that I wasted your time! ... yeah, I can see that point!
2018-02-07 17:35 <boeserwolf> (... I changed the type of the Journal from 'statement' to 'expense' and it vanished ... put it back and there it is again)
2018-02-07 17:35 <boeserwolf> (sorry sorry!!)
2018-02-07 18:51 -!- _2cadz(~2cadz@82.64.14.213) has joined #tryton
2018-02-07 19:08 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2018-02-07 19:30 -!- zmijunkie(~Adium@i577B3ECB.versanet.de) has joined #tryton
2018-02-07 19:44 -!- rpit(~rpit@p200300C88F351C0056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton
2018-02-07 20:27 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2018-02-07 20:32 -!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton
2018-02-07 20:39 -!- catonano(~user@151.45.35.92) has joined #tryton
2018-02-07 21:56 <csotelo_at_work> dear comunity, I have a question, is possible to prepare reports is simple txt? or could be better generate them on server side?
2018-02-07 22:01 -!- semarie(~semarie@unaffiliated/semarie) has joined #tryton
2018-02-07 22:12 -!- cdchapman(~perturbed@73.98.169.202) has joined #tryton
2018-02-07 22:57 <cedk> csotelo_at_work: the report engine can generate txt
2018-02-07 22:58 <csotelo_at_work> but, sorry for this dumb questin ¿how? since I just seen odt templates
2018-02-07 22:58 <csotelo_at_work> any sample?
2018-02-07 23:05 <cedk> csotelo_at_work: I do not think there are any in standard module
2018-02-07 23:05 <csotelo_at_work> I see :(
2018-02-07 23:06 <cedk> csotelo_at_work: but it is just about using the text syntax: https://genshi.edgewall.org/wiki/Documentation/0.6.x/text-templates.html
2018-02-07 23:07 <csotelo_at_work> I was thinking on ceate it on server side
2018-02-07 23:08 <csotelo_at_work> I suppose something like odt with genshy tags
2018-02-07 23:20 -!- cdchapman(~perturbed@73.98.169.202) has joined #tryton

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