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

chat.freenode.net #tryton log beginning Mon May 17 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:45
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:15
-!- Timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton05:49
-!- udono(~udono@015-130-067-156.ip-addr.inexio.net) has joined #tryton06:28
-!- rpit(~rpit@p200300c88f3713003fac4e9ad4ba86e0.dip0.t-ipconnect.de) has joined #tryton06:37
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:53
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:16
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton07:27
-!- ludo2(~Thunderbi@193.33.57.196) has joined #tryton07:31
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:36
-!- thaneor(~ldlc6@r167-56-216-122.dialup.adsl.anteldata.net.uy) has joined #tryton08:15
-!- udono1(~udono@015-130-067-156.ip-addr.inexio.net) has joined #tryton09:26
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:40
-!- mariomop(~quassel@181.29.189.235) has joined #tryton10:47
-!- LordVan_(~LordVan@gentoo/developer/LordVan) has joined #tryton12:41
pokoliyangoon: did you have any ETA when the 6.0 series debian packages will be available?14:51
sisalphello, in tryton_demo.py, I read "FiscalYear.create_period([fiscalyear.id], config.context)"15:02
sisalpis there a easy way to create three-month periods instead of one-month , using proteus ?15:03
sisalpand more generally, is there a kind of thing to know to find the answer by myself ?15:04
pokolisisalp: Your code calls, the "create_period" button on fiscalyear, probably you should change it to the button to create 3 month periods15:17
pokolisisalp: this is old proteus code which is equivalent to record.click('button_name')15:18
pokolisisalp: but this changed on recent versions, there is a new wizard to let the user choose the periods. I guess you are still using old LTS15:18
sisalppokoli: It is on Tryton 6.0. But may be tryton_demo.py is not brand new.15:19
sisalppokoli: I will check with your anwer. Thank you.15:20
pokolisisalp: ohh, my fault. The create period is an RPC call to https://hg.tryton.org/modules/account/file/05a3dd4ca183/fiscalyear.py#l17415:21
pokolisisalp: so you can just pass the extra parameter interval=3 to create thre month periods15:21
sisalppokoli: something like : FiscalYear.create_period([fiscalyear.id],  interval=3, config.context) ?15:24
pokolisisalp: yes, but not sure if interval=3 or just 315:24
sisalppokoli: will check. Thank you.15:25
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton16:07
-!- ndo(~ndo@2a02:a03f:84fa:a400:db83:65e2:4a80:45c0) has joined #tryton17:18
-!- thaneor1(~ldlc6@r167-56-222-216.dialup.adsl.anteldata.net.uy) has joined #tryton20:18

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