IRC logs of #tryton for Thursday, 2021-04-15

chat.freenode.net #tryton log beginning Thu Apr 15 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:59
-!- thaneor(~acer8@r167-61-145-230.dialup.adsl.anteldata.net.uy) has joined #tryton00:29
-!- thaneor1(~ldlc6@r167-61-145-230.dialup.adsl.anteldata.net.uy) has joined #tryton00:29
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton01:41
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton01:57
-!- yangoon(~mathiasb@p5dd08c0b.dip0.t-ipconnect.de) has joined #tryton01:58
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton04:51
-!- Timitos(~kpreisler@2001:a61:482:eb01:762b:62ff:fe84:ed7e) has joined #tryton05:40
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton06:38
-!- nicoe(~nicoe@2a02:578:852a:c00:224:9bff:fe6c:a1b2) has joined #tryton07:01
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:03
pokolijcm: it seems those are old rules that should be removed or ones that you created manually07:11
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton07:21
-!- ludo2(~Thunderbi@193.33.56.121) has joined #tryton07:23
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:26
jcmpokoli: I'm quite sure I didn't create them; should I remove the rules without name?07:29
pokolijcm: How created them? Can you have a look at the create_uid of some?07:30
jcm0 for all07:30
pokolijcm: root user so this means it was created by the root user07:31
pokoliby the system sorry07:31
pokoliI guess most of them are related to multicompany07:32
pokolijcm: so probably you have a lot of records that are out of sync on ir.model.data07:32
pokolisyncing those recordsd should set the name07:32
jcmI already did Administration > Models > Models > Data” and synchronize the hundred of lines which had to be synced07:33
jcmI think it's some old thing coming from the 4.8 initially created db that I migrated from07:36
pokolijcm: syncronizing model data set the name of some of the rules? Did you have other rules with name set?07:37
jcmpokoli: still 60 rules without name ; the named ones disappeared after the sync07:38
jcmpokoli: I remember I created a group Read_invoices to separate the right to see and print an invoice (needed for Client shiping)07:44
pokolijcm: it's strange, it seem you ir.model.data is not correctly updated07:45
pokolijcm: because the rules should have a name07:45
pokolijcm: is this the production database or a test one?07:45
jcmpokoli: the production. I duplicated it as a test to experiment too.07:46
pokolijcm: I guess you can remove the rules, reupdate the database and if they are needed for the system they should be re-created07:47
jcmpokoli: ok I try on the test copy07:48
pokolijcm: also when updating use the -v option to see the warning produced07:48
pokolijcm: if there is some error with ir.model.data the server should shown a warning that the records can no be updated07:48
jcmshould I copy here the output or somewhere else?07:48
pokolijcm: please use pastebin or some other pasting service. Then just paste the link here :)07:49
jcmI remove the rules with a single DELETE from ir_rule_group or from the Client with Admin menu?07:49
pokolijcm: if they are created by system you should not be able to delete them from client07:51
jcmI confirm that I see no rule as administrator from the client when examining rules for the group I created07:58
-!- yangoon(~mathiasb@p5dd08c0b.dip0.t-ipconnect.de) has joined #tryton08:02
jcmpokoli: output to https://pastebin.com/FgJUgmvy08:04
pokolijcm: no error related to rules. Did you have any rule after the update on the system?08:05
pokoliI guess all should have a name know08:05
jcmpokoli: yes08:06
jcmpokoli: I suppose I should now test from client and examine if objects can be accessed with my special group?08:07
pokolijcm: if there was no rule for your group there shuold be no diference08:07
jcmpokoli: so the remaining warning are not important?08:07
pokolijcm: some are related to ir.model.data out of sync08:09
pokolijcm: and the other is because you are missing the SQL query of https://discuss.tryton.org/t/migration-from-4-8-to-5-0/59608:10
jcmpokoli: thks for this forgotten migration query08:19
jcmnow I have two more errors. First in client behaviour: I cannot Pack a Client shpiment, warning is Stock move xxx have no origin08:20
jcmthough the move is correctly set from a Sale. Not possible to ignore the warning.08:21
jcmSry, now it's possible to Proceed (was-nt yesterday).08:21
jcmthe trytond log for validating the shpimnent: https://pastebin.com/0d4ptVNF08:24
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton08:34
-!- yangoon(~mathiasb@p5dd08c0b.dip0.t-ipconnect.de) has joined #tryton08:51
-!- ludo3(~Thunderbi@193.33.57.196) has joined #tryton09:08
jcmthis Client shipment was duplicated :/ Process button on Sale created a new Shipment09:57
-!- mariomop(~quassel@181.29.189.235) has joined #tryton10:47
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton12:11
-!- thaneor2(~ldlc6@r167-61-138-155.dialup.adsl.anteldata.net.uy) has joined #tryton12:14
-!- thaneor(~acer8@r167-61-138-155.dialup.adsl.anteldata.net.uy) has joined #tryton12:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:46
-!- acaubet1(~Thunderbi@194.224.31.235) has joined #tryton13:33
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton13:37
-!- rpit1(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton13:50
-!- acaubet(~Thunderbi@185.124.31.131) has joined #tryton13:52
-!- acaubet(~Thunderbi@185.124.31.131) has joined #tryton14:07
-!- acaubet(~Thunderbi@185.124.31.131) has joined #tryton15:32
-!- acaubet(~Thunderbi@185.124.31.131) has joined #tryton15:38
jcmpokoli: sry for the duplicate bug, didn't find it16:04
pokolijcm: I think we should punish anyone creating a duplicate bug by forcing him to fix it16:14
pokoliACTION just joking haha16:14
pokoliNo problem, the important is that the bug is really fixed16:14
pokoliThis is the bug fixing week, and I'm having fun with some bugs16:15
jcmI miss a small intro (video) on how to do to develop and contribute on a bug: update the dev code, try and check, make a diff and so on.16:23
pokolijcm: I have been thinking a lot of times to make a stream of this setup, so this can be updated to youtube and everyone can see it16:24
pokoliBut haven't found time for doing it so far. Maybe we should schedule a session, so you can attend and we can save it you youtube latter16:24
jcmpokoli: you shoud, some people like me know some bits of coding but are not confident enough to start16:24
-!- acaubet(~Thunderbi@185.124.31.131) has joined #tryton16:32
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton19:10
-!- thaneor1(~acer8@r167-61-138-155.dialup.adsl.anteldata.net.uy) has joined #tryton19:35
-!- acaubet(~Thunderbi@91.126.119.140) has joined #tryton20:38

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