IRC logs of #tryton for Friday, 2020-04-17 #tryton log beginning Fri 17 Apr 2020 12:00:01 AM CEST
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:10
-!- k-man_(~jason@unaffiliated/k-man) has joined #tryton23:49
-!- giesen( has joined #tryton01:26
-!- thaneor( has joined #tryton01:50
-!- mrichez(~Maxime@2a02:a03f:4683:d700:47e0:27a8:4efc:f0fc) has joined #tryton05:48
-!- rpit( has joined #tryton06:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:24
-!- josesalvador(~josesalva@ has joined #tryton07:28
-!- Timitos(~kpreisler@2001:a61:400:901:762b:62ff:fe84:ed7e) has joined #tryton07:42
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton08:09
-!- giesen( has joined #tryton09:06
semarieI just found that analytic lines has date set to move.post_date when analytic is set from rules. shouldn't be instead ?09:16
semariewith that, I have expense from one fiscal year recorded in analytic in next fiscal year09:18
-!- giesen( has joined #tryton09:21
cedksemarie: I guess it was because the analytic lines are created when posting the move09:34
cedkbut this sounds more logic to record analytic at the effective date of the move09:35
semariecedk: the code explicitly use the post_date: entry.get_analytic_lines(line, line.move.post_date))09:35
semarieI opened an issue09:36
semarie(in analytic_account, file, line 239)09:36
pokolisemarie: for me it makes sense to use, could you please submit a patch? ;)09:47
semariepokoli: just done09:47
semarie +
pokolisemarie: great. Thanks!!09:48
-!- mariomop(~quassel@ has joined #tryton10:54
-!- rpit( has joined #tryton10:54
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:56
-!- thaneor1( has joined #tryton13:53
-!- josesalvador(~josesalva@ has joined #tryton13:54
semariedoes it would make sens to have a button to re-apply rules on AnalyticLines ?15:12
pokolisemarie: do you think so?15:37
pokolisemarie: what will have changed in order to re-apply the rules?15:37
semariepokoli: to be able to add rules after the fact, so MoveLine without AnalyticLines could have reconsidered15:39
cedksemarie: the rules are skipped as soon as the line has any analytic15:43
cedkalso I do not think we should try to fill the history with analytic15:43
semarieyes. but what I want to do is to have a way to add analytic on already posted moves15:43
semarie*already posted moves, where there is no analytic15:44
cedkso with analytic state as draft?15:45
cedkI would say why not.15:46
semarieI am unsure to properly understand analytic state ...15:47
semarieit would be for lines waiting in the form "analytic lines to complete"15:47
semarieACTION is unsure of the exact name in english language15:48
semarieyes, it is that "Analytic Lines to Complete"15:48
semarieso according to the domain, it is for 'draft' state15:49
pokolisemarie: It will make sense to execute it from the list of analytic lines to complete15:52
pokolisemarie: which filters on analytic_state == 'draft'15:52
semariethanks. I will take a look at it. the complex part for me will be to have a button on the ui15:54
cedkpokoli: will you commit even if you are no more assigned?15:54
-!- josesalvador(~josesalva@ has joined #tryton15:57
pokolicedk: yes, i will take care16:11
-!- thaneor( has joined #tryton16:45
-!- thaneor1( has joined #tryton17:29
-!- k-man__(~jason@unaffiliated/k-man) has joined #tryton19:49

Generated by 2.17.3 by Marius Gedminas - find it at!