chat.freenode.net #tryton log beginning Thu 12 Sep 2019 12:00:01 AM CEST | ||
-!- yangoon1(~mathiasb@i59F72BBD.versanet.de) has joined #tryton | 02:21 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 04:51 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 06:18 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:33 | |
-!- Marleyx(~jordan@93.176.153.159) has joined #tryton | 06:34 | |
-!- Timitos(~kpreisler@2001:a61:4bc:4101:762b:62ff:fe84:ed7e) has joined #tryton | 06:41 | |
-!- rpit(~rpit@p200300C88F1AFC00E5271953866667B8.dip0.t-ipconnect.de) has joined #tryton | 07:06 | |
-!- udono(~udono@015-057-210-188.ip-addr.inexio.net) has joined #tryton | 07:28 | |
-!- ubtel(~ubtel@ptr-377whsjq4s5a9lv2kqlp.18120a2.ip6.access.telenet.be) has joined #tryton | 08:24 | |
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton | 08:49 | |
-!- rpit(~rpit@p4FFB7CA1.dip0.t-ipconnect.de) has joined #tryton | 09:16 | |
-!- mariomop(~quassel@host106.201-252-171.telecom.net.ar) has joined #tryton | 10:50 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 12:05 | |
mrichez | hi, in the demo proteus script, fiscal year is created with one sequence and then 12 periods are created using this period. I'm trying to make a script to create fiscal year with different sequences for each period... but you can create periods automatically without having a fiscal year and a fiscal year needs a sequence... So is the only way to create first a useless sequence, delete the sequence after saving, creating the periods and then the sequences | 13:44 |
---|---|---|
mrichez | for each period ? | 13:44 |
mrichez | 12 periods are created using this sequence (error in my first line) | 13:45 |
semarie | mrichez: just by curiosity, what is your use case to have one sequence per period ? | 13:47 |
mrichez | semarie: to keep ordered sequence by month, we sometimes have to invoice in the previous month | 13:48 |
mrichez | and our sequence is year/month/number | 13:50 |
semarie | having a prefix like "${year}/${month}/" on sequence doesn't already do it ? | 13:51 |
semarie | well, I dunno what it is date used for the placeholder... if it is the date of posting or the date of the move | 13:52 |
mrichez | semarie: no because month will be the current month | 13:52 |
mrichez | and in our case sometimes, it should be the previous month | 13:53 |
mrichez | tryton allows such things, but my problem is to generate automatically the sequences in a loop... | 13:54 |
mrichez | i made the script, but it's weird to have to add a "useless" sequence to create the fiscal year, then creating automatically the periods and then creating all the sequences and associating them to periods | 13:56 |
mrichez | and then removing the "useless" sequence | 13:56 |
cedk | mrichez: the invoice_sequences on fiscalyear is not required | 13:58 |
mrichez | cedk: strange because i can't save a fiscalyear without it | 13:59 |
mrichez | cedk: "a value is required for field "supplier credit note sequence" in Invoice sequence | 14:01 |
mrichez | cedk: bug ? | 14:03 |
cedk | mrichez: if you are not root, there is a default empty record created | 14:04 |
mrichez | cedk: ok, was not root | 14:05 |
mrichez | cedk: will retry... but i've to go | 14:05 |
mrichez | thanks for help | 14:05 |
cedk | semarie: the date used is the accounting date so the one that is included in the period | 14:06 |
-!- smorillo(250f660a@gateway/web/cgi-irc/kiwiirc.com/ip.37.15.102.10) has joined #tryton | 14:45 | |
-!- EdbO(~eddy@2001:982:fc2b:1:b52d:e505:a2b5:7338) has joined #tryton | 15:12 | |
-!- EdbO(~eddy@2001:982:fc2b:1:b52d:e505:a2b5:7338) has left #tryton | 15:51 | |
-!- EdbO(~eddy@2001:982:fc2b:1:b52d:e505:a2b5:7338) has joined #tryton | 17:19 | |
-!- EdbO(~eddy@2001:982:fc2b:1:b52d:e505:a2b5:7338) has left #tryton | 17:20 | |
-!- k-man(~jason@unaffiliated/k-man) has joined #tryton | 17:26 | |
-!- csotelo(~csotelo@190.42.98.249) has joined #tryton | 19:32 | |
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton | 20:01 | |
-!- csotelo(~csotelo@190.42.98.249) has joined #tryton | 20:36 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!