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 #tryton | 00:00 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:30 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 00:30 | |
-!- timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 06:06 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 06:20 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 07:05 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 08:06 | |
-!- rpit(~rpit@p200300c88f378500ec2ccf253fa4388d.dip0.t-ipconnect.de) has joined #tryton | 08:06 | |
-!- rpit(~rpit@p200300c88f378500ec2ccf253fa4388d.dip0.t-ipconnect.de) has left #tryton | 08:08 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:23 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 08:23 | |
-!- nicoe(~nicoe@2a02:2788:54:1ff:18c2:1aff:fef9:2b7f) has joined #tryton | 10:34 | |
-!- nicoe(~nicoe@host-82-212-178-227.dynamic.voo.be) has joined #tryton | 11:15 | |
mrichez | hi, 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 |
---|---|---|
mrichez | There may be a relation that points to this resource that must be manually fixed before restarting the update. | 12:47 |
mrichez | Should also incoterms xml file have a 'noupdate="1"' like for this issue https://bugs.tryton.org/issue10991 | 12:48 |
mrichez | ? | 12:48 |
pokoli | mrichez: you can ignore delete errors from migration. Did you find duplicated data on your migrated database? | 12:53 |
pokoli | mrichez: I do not think we will never update incoterms, but just add new records if a new version is published | 12:54 |
mrichez | pokoli: yes data were duplicated. I'm doing test again. | 12:54 |
pokoli | mrichez: i guess this is because you installed on 5.8 a development version and xml_ids changed | 12:55 |
pokoli | The easier is to update the xml_ids on ir.model.data to match the one ones of the published module | 12:55 |
pokoli | then tryton won't duplicate it but keep the correct link | 12:56 |
mrichez | pokoli: thanks, i'll try that | 12:56 |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 13:04 | |
mrichez | pokoli: indeed model was incorrect in ir.model.data (it was my custom model) | 13:07 |
pokoli | mrichez: that will explain why the id is not found so the data is duplciated. Fixing the model should fix your issue | 13:20 |
mrichez | pokoli: 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/!