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