IRC logs of #tryton for Wednesday, 2022-04-06

irc.libera.chat #tryton log beginning Wed Apr 6 12:00:01 AM CEST 2022
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:22
-!- ChanServ changed mode/#tryton -> +o cedk 23:22
-!- roycroft(~roycroft@dharmabums.kerouac.org) has joined #tryton04:04
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:38
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:56
-!- ChanServ changed mode/#tryton -> +o cedk 06:56
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:19
-!- rpit(~rpit@p4ffb7f50.dip0.t-ipconnect.de) has joined #tryton07:19
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton07:45
-!- navis(~navis@75.209-134-109.adsl-dyn.isp.belgacom.be) has joined #tryton08:33
-!- navis(~navis@109.134.209.75) has joined #tryton08:35
SISalphello, in 6.2 demo the fiscal periods are created by fiscalyear.click('create_period'). How can I choose between monthly and quarterly periods ?09:29
cedkSISalp: the wizard ask you09:32
SISalpcedk: so my proteus script has to answer ? Is there an exemple of this in demo script ?09:33
cedkSISalp: you can still call the method create_period with proper parameters09:34
SISalpcedk: I had FiscalYear.create_period([fiscalyear.id], int(my_period), config.context) for 6.0. Is it the way to do it ?09:36
cedkSISalp: the parameters are: fiscalyears, interval=1, end_day=3109:37
SISalpcedk: Thank you, I think I'll find the way. Generally speaking, are wizards a limitation point for proteus scripts ?09:39
-!- navis(~navis@75.209-134-109.adsl-dyn.isp.belgacom.be) has joined #tryton09:56
pokoliSISalp: no, you can execute wizards from proteus10:50
-!- navis(~navis@75.209-134-109.adsl-dyn.isp.belgacom.be) has joined #tryton11:12
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton11:14
-!- navis(~navis@109.134.209.75) has joined #tryton11:27
-!- navis_(~navis@75.209-134-109.adsl-dyn.isp.belgacom.be) has joined #tryton11:49
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:21
-!- ChanServ changed mode/#tryton -> +o cedk 13:21
-!- Pegasus_RPG(~Thunderbi@fortissl.ccsd.net) has joined #tryton14:25
-!- navis(~navis@109.134.209.75) has joined #tryton14:41
-!- Pegasus_RPG(~Thunderbi@fortissl.ccsd.net) has joined #tryton15:10
SISalppokoli: is the wizard executed by fiscalyear.click ? in this case, can I provide the answer as a parameter ?15:14
pokoliSISalp: You can execute the wizard directly (without calling click) and provide parameters of all the options 15:15
SISalppokoli: I see an example in demo script : Wizard('ir.module.activate_upgrade').execute('upgrade') I will have to read the doc and learn how to set my fiscal periods.15:18
pokoliSISalp: here you have a more complete example: https://hg.tryton.org/modules/account_invoice/file/a02c98376beb/tests/scenario_invoice.rst#l26715:20
SISalppokoli: thank you, I will make some tries to learn.15:28
-!- Pegasus_RPG(~Thunderbi@fortissl.ccsd.net) has joined #tryton16:47
-!- Pegasus_RPG(~Thunderbi@fortissl.ccsd.net) has joined #tryton18:13
-!- Pegasus_RPG(~Thunderbi@fortissl.ccsd.net) has joined #tryton21:24

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