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 #tryton01:08
-!- thaneor(~lenovo3@r186-53-83-113.dialup.adsl.anteldata.net.uy) has joined #tryton03:08
-!- yangoon(~mathiasb@i59F4F246.versanet.de) has joined #tryton04:08
-!- thaneor(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton04:08
-!- Guest31586(~Eduard_Mu@AMarseille-652-1-154-49.w83-201.abo.wanadoo.fr) has joined #tryton06:08
-!- csotelo(~csotelo@2800:200:e488:4d5:9433:40fc:b0d8:4700) has joined #tryton06:08
-!- Mikaela11(~Mikaela@61.74.97.190) has joined #tryton07:08
-!- lucascastro(~lucascast@177-185-139-175.isotelco.net.br) has joined #tryton07:08
-!- thaneor(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton08:08
-!- thaneor1(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton09:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:08
-!- thaneor(~lenovo3@r186-53-74-185.dialup.adsl.anteldata.net.uy) has joined #tryton09:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:08
-!- irclog(~irclog@moretus.b2ck.com) has joined #tryton11:08
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton11:08
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) ?12:08
cedksemarie: I presonally think that the mandatory check is useless since we have an analytic state on move line12:08
semariewithout the check, it would be possible to validate (and post) a invoice without any analytic account on line12:08
semarieor I missed something ?12:08
cedksemarie: yes but the analytic state is there to find those lines and fill them12:08
semariehow ? once an invoice is posted, Analytic tab on the line is readonly12:08
cedksemarie: it is done on the move line directly12:08
cedksemarie: only the analytic on move line is used for analytic chart12:08
cedkthe analytic on document like invoice or sale are just early encoding12:08
semarieok I found it12:08
cedksemarie: I commented on https://bugs.tryton.org/issue7605 because it is quiet similar12:08
cedkso the debate is open about removing or improving mendatory flag12:08
semariea warning could make sens too, or having move line without analytic account in the completion view for "mandatory" account12:08
semariecurrently, the view show only 'posted' move with analytic in 'draft' state12:08
semariethe domain for 'Analytic Lines to Complete' is [('analytic_state', '=', 'draft'), ('move_state', '=', 'posted')]12:08
semarieah, it is issue590012:08
semarie(sort of)12:08
semariehaving a domain like: [('move_state', '=', 'posted'), ['OR', ('analytic_state', '=', 'draft'), ('analytic_lines', '=', '[]')]] might help12:08
cedksemarie: the state should be set to draft is no lines are set12:08
cedksemarie: but it works only for new lines created after the setup of analytic12:08
semarieah ok. it explains why I do not see some lines13:08
-!- csotelo(~csotelo@2800:200:e488:4d5:9433:40fc:b0d8:4700) has joined #tryton13:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:08
-!- yangoon(~mathiasb@i59F4D510.versanet.de) has joined #tryton14:08
-!- csotelo(~csotelo@2800:200:e488:4d5:9433:40fc:b0d8:4700) has joined #tryton17:08
-!- local(~local@cpc94710-oxfd26-2-0-cust5.4-3.cable.virginm.net) has joined #tryton18:08
-!- zmijunkie(~Adium@200116b80abd88008dbd5ae71dd21cf3.dip.versatel-1u1.de) has joined #tryton19:08
-!- zmijunkie(~Adium@i577AD8D2.versanet.de) has joined #tryton19:08
-!- lucascastro(~lucascast@177-185-139-175.isotelco.net.br) has joined #tryton20:08
-!- plant-ian(6154504f@gateway/web/freenode/ip.97.84.80.79) has joined #tryton20:08
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/cb8e19f393600ca3a6e2c7138464677821:08
cedkplant-ian: you can not display timestamp field on any views21:08
plant-ianI guess maybe this is the problem -- https://bugs.tryton.org/issue512021:08
plant-ianI have to set the widget property to date?21:08
cedkplant-ian: for now, https://bugs.tryton.org/issue646321:08
cedkplant-ian: no, you have to use a Function field that convert to date for all version <5.021:08
plant-iancedk: Okay, but regular Date field is not affected right?  I think I was using create_date instead of date.21:08
cedkplant-ian: no regular date has always been supported21:08
cedkindeed timestamp was never supported by the client did not crash21:08
plant-ianIt loads!21:08
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 ?21:08
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:08

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