IRC logs of #tryton for Monday, 2021-05-10

chat.freenode.net #tryton log beginning Mon May 10 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:14
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:11
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton05:42
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:44
-!- rpit(~rpit@p200300c88f0d5300d4772414b10cafd3.dip0.t-ipconnect.de) has joined #tryton06:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:53
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:05
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton07:16
-!- nicoe(~nicoe@2a02:578:852a:c00:224:9bff:fe6c:a1b2) has joined #tryton07:37
-!- thaneor1(~acer8@r179-24-26-195.dialup.adsl.anteldata.net.uy) has joined #tryton07:48
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton09:03
semarieI am looking to export some general_ledger accounts using proteus, and I would like to exclude accounts which are only 'views' (end_balance with childs content)09:05
semariehow to identify such accounts ?09:05
semariefor now, I am doing: with config.set_context(context): gls = GeneralLedgerAccount.find([('account.code', 'like', '2%')])09:08
semariewith context = { 'company': ... , 'fiscalyear': ... }09:08
-!- thaneor(~ldlc6@r167-61-65-193.dialup.adsl.anteldata.net.uy) has joined #tryton09:20
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton09:26
semarieusing debit and credit should permit to avoid such accounts (it will be 0.00), but all my accounts come with debit=0.00 and credit=0.0009:31
semarieso I assume I am missing some parameters somewhere09:31
-!- mariomop(~quassel@181.29.189.235) has joined #tryton10:51
sisalphello, what is pango-1.0 ? should I install it at OS level or in python environment ?11:25
sisalpAnswering myself: I installed pango-1.0 at OS level and trytond 6.0 starts OK.11:28
cedksemarie: see Line.query_get to find which context keys must be filled11:40
cedksemarie: or GeneralLedgerAccountContext11:41
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:33
-!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton20:21
LordVanhi20:22
LordVanquick question: I added a new Boolean field to a model .. one that I will require to be there for a report .. also for old data  .. but of course the old SaleLines have no data saved for this20:22
LordVanhow would I go about setting a default value for existing entries ?20:23
LordVanwould I need to add this in register() or so?20:23
LordVan(i mean i know how to do this rn as i can just add the default value to all existing SaleLine entries in the whole DB easily)20:23
-!- thaneor(~ldlc6@r167-61-48-238.dialup.adsl.anteldata.net.uy) has joined #tryton21:24

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