chat.freenode.net #tryton log beginning Mon May 10 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:14 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:11 | |
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton | 05:42 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:44 | |
-!- rpit(~rpit@p200300c88f0d5300d4772414b10cafd3.dip0.t-ipconnect.de) has joined #tryton | 06:17 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:53 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:05 | |
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton | 07:16 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:224:9bff:fe6c:a1b2) has joined #tryton | 07:37 | |
-!- thaneor1(~acer8@r179-24-26-195.dialup.adsl.anteldata.net.uy) has joined #tryton | 07:48 | |
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton | 09:03 | |
semarie | I 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 |
---|---|---|
semarie | how to identify such accounts ? | 09:05 |
semarie | for now, I am doing: with config.set_context(context): gls = GeneralLedgerAccount.find([('account.code', 'like', '2%')]) | 09:08 |
semarie | with context = { 'company': ... , 'fiscalyear': ... } | 09:08 |
-!- thaneor(~ldlc6@r167-61-65-193.dialup.adsl.anteldata.net.uy) has joined #tryton | 09:20 | |
-!- jani-matti(~quassel@93-90-53-6.welcomnet.fi) has joined #tryton | 09:26 | |
semarie | using 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.00 | 09:31 |
semarie | so I assume I am missing some parameters somewhere | 09:31 |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 10:51 | |
sisalp | hello, what is pango-1.0 ? should I install it at OS level or in python environment ? | 11:25 |
sisalp | Answering myself: I installed pango-1.0 at OS level and trytond 6.0 starts OK. | 11:28 |
cedk | semarie: see Line.query_get to find which context keys must be filled | 11:40 |
cedk | semarie: or GeneralLedgerAccountContext | 11:41 |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:03 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 13:33 | |
-!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton | 20:21 | |
LordVan | hi | 20:22 |
LordVan | quick 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 this | 20:22 |
LordVan | how would I go about setting a default value for existing entries ? | 20:23 |
LordVan | would 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 #tryton | 21:24 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!