IRC logs of #tryton for Thursday, 2021-12-16

irc.libera.chat #tryton log beginning Thu Dec 16 12:00:01 AM CET 2021
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton00:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:30
-!- ChanServ changed mode/#tryton -> +o cedk 00:30
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton06:06
-!- springwurm(~springwur@5.104.149.54) has joined #tryton06:20
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton07:05
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton08:06
-!- rpit(~rpit@p200300c88f378500ec2ccf253fa4388d.dip0.t-ipconnect.de) has joined #tryton08:06
-!- rpit(~rpit@p200300c88f378500ec2ccf253fa4388d.dip0.t-ipconnect.de) has left #tryton08:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:23
-!- ChanServ changed mode/#tryton -> +o cedk 08:23
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton10:34
-!- nicoe(~nicoe@host-82-212-178-227.dynamic.voo.be) has joined #tryton11:15
mrichezhi, i'm doing some tests to migrate a 5.8 version with data to 6.2. Got some errors linked to incoterms... ERROR trytond.convert Could not delete id 1 from model incoterm.incoterm.12:47
mrichezThere may be a relation that points to this resource that must be manually fixed before restarting the update.12:47
mrichezShould also incoterms xml file have a 'noupdate="1"' like for this issue https://bugs.tryton.org/issue1099112:48
mrichez?12:48
pokolimrichez: you can ignore delete errors from migration. Did you find duplicated data on your migrated database?12:53
pokolimrichez: I do not think we will never update incoterms, but just add new records if a new version is published12:54
mrichezpokoli: yes data were duplicated. I'm doing test again.12:54
pokolimrichez: i guess this is because you installed on 5.8 a development version and xml_ids changed12:55
pokoliThe easier is to update the xml_ids on ir.model.data to match the one ones of the published module12:55
pokolithen tryton won't duplicate it but keep the correct link12:56
mrichezpokoli: thanks, i'll try that12:56
-!- springwurm(~springwur@5.104.149.54) has joined #tryton13:04
mrichezpokoli: indeed model was incorrect in ir.model.data (it was my custom model)13:07
pokolimrichez: that will explain why the id is not found so the data is duplciated. Fixing the model should fix your issue13:20
mrichezpokoli: that's what i did. Working now :-)13:21

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