IRC logs of #tryton for Sunday, 2018-08-26

chat.freenode.net #tryton log beginning Sun Aug 26 00:00:01 CEST 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:18
-!- thaneor(~lenovo3@r186-53-83-113.dialup.adsl.anteldata.net.uy) has joined #tryton01:51
-!- yangoon(~mathiasb@i59F4F246.versanet.de) has joined #tryton02:21
-!- thaneor(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton02:58
-!- Guest31586(~Eduard_Mu@AMarseille-652-1-154-49.w83-201.abo.wanadoo.fr) has joined #tryton04:03
-!- csotelo(~csotelo@2800:200:e488:4d5:9433:40fc:b0d8:4700) has joined #tryton04:45
-!- Mikaela11(~Mikaela@61.74.97.190) has joined #tryton05:44
-!- lucascastro(~lucascast@177-185-139-175.isotelco.net.br) has joined #tryton05:55
-!- thaneor(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton06:05
-!- thaneor1(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton07:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:55
-!- thaneor(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton07:57
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:09
-!- irclog(~irclog@moretus.b2ck.com) has joined #tryton09:37
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton09:37
semariea question about analytic_invoice and mandatory root account: currently, on Invoice, the validation of check_roots() is done at save time even if the invoice is in 'draft' state (you can't save without specifying the analytic account). does it would make sens to require the analytic account only on 'validated' state (and so forbid the state change if the mandatory root is missing) ?10:13
cedksemarie: I presonally think that the mandatory check is useless since we have an analytic state on move line10:17
semariewithout the check, it would be possible to validate (and post) a invoice without any analytic account on line10:18
semarieor I missed something ?10:19
cedksemarie: yes but the analytic state is there to find those lines and fill them10:19
semariehow ? once an invoice is posted, Analytic tab on the line is readonly10:21
cedksemarie: it is done on the move line directly10:22
cedksemarie: only the analytic on move line is used for analytic chart10:22
cedkthe analytic on document like invoice or sale are just early encoding10:22
semarieok I found it10:23
cedksemarie: I commented on https://bugs.tryton.org/issue7605 because it is quiet similar10:33
cedkso the debate is open about removing or improving mendatory flag10:33
semariea warning could make sens too, or having move line without analytic account in the completion view for "mandatory" account10:35
semariecurrently, the view show only 'posted' move with analytic in 'draft' state10:36
semariethe domain for 'Analytic Lines to Complete' is [('analytic_state', '=', 'draft'), ('move_state', '=', 'posted')]10:37
semarieah, it is issue590010:38
semarie(sort of)10:38
semariehaving a domain like: [('move_state', '=', 'posted'), ['OR', ('analytic_state', '=', 'draft'), ('analytic_lines', '=', '[]')]] might help10:46
cedksemarie: the state should be set to draft is no lines are set10:49
cedksemarie: but it works only for new lines created after the setup of analytic10:54
semarieah ok. it explains why I do not see some lines11:20
-!- csotelo(~csotelo@2800:200:e488:4d5:9433:40fc:b0d8:4700) has joined #tryton11:29
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:18
-!- yangoon(~mathiasb@i59F4D510.versanet.de) has joined #tryton12:27
-!- csotelo(~csotelo@2800:200:e488:4d5:9433:40fc:b0d8:4700) has joined #tryton15:49
-!- local(~local@cpc94710-oxfd26-2-0-cust5.4-3.cable.virginm.net) has joined #tryton16:52
-!- zmijunkie(~Adium@200116b80abd88008dbd5ae71dd21cf3.dip.versatel-1u1.de) has joined #tryton17:40
-!- zmijunkie(~Adium@i577AD8D2.versanet.de) has joined #tryton17:51
-!- lucascastro(~lucascast@177-185-139-175.isotelco.net.br) has joined #tryton18:51
-!- plant-ian(6154504f@gateway/web/freenode/ip.97.84.80.79) has joined #tryton18:59
plant-ianI'm still testing out module code (not data) I migrated from 2.8 to 4.6 -- any thoughts on this exception -- I grepped all over and can't find timestamp -- https://gist.github.com/ianjosephwilson/cb8e19f393600ca3a6e2c7138464677819:04
cedkplant-ian: you can not display timestamp field on any views19:08
plant-ianI guess maybe this is the problem -- https://bugs.tryton.org/issue512019:08
plant-ianI have to set the widget property to date?19:08
cedkplant-ian: for now, https://bugs.tryton.org/issue646319:09
cedkplant-ian: no, you have to use a Function field that convert to date for all version <5.019:10
plant-iancedk: Okay, but regular Date field is not affected right?  I think I was using create_date instead of date.19:22
cedkplant-ian: no regular date has always been supported19:23
cedkindeed timestamp was never supported by the client did not crash19:23
plant-ianIt loads!19:41
plant-iancedk: I see a patch for flat childs but does that work if you already have a tree of locations with intermediate virtual locations ?  Or is it just meant for warehouse storage location to only have immediate children ?19:49
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton20:01

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