IRC logs of #tryton for Monday, 2022-07-04

irc.libera.chat #tryton log beginning Mon Jul 4 12:00:01 AM CEST 2022
-!- jackhill(~jackhill@kalessin.dragonsnail.net) has joined #tryton04:26
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:15
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:57
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton06:09
-!- rpit(~rpit@p200300c88f2841003deab480132a3929.dip0.t-ipconnect.de) has joined #tryton06:36
-!- tbruyere(~Thunderbi@91.182.187.82) has joined #tryton07:09
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:11
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:14
-!- ChanServ changed mode/#tryton -> +o cedk 07:14
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton07:39
-!- tbruyere(~Thunderbi@82.187-182-91.adsl-dyn.isp.belgacom.be) has joined #tryton07:47
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton11:59
LordVanHi12:00
LordVanI want to fix some .. errors in the DB (user error ) and want to re-assign stuff from one party to another manually (in the DB) is there a reliable way to find *all* associations of a party with *anything* else?12:01
LordVan[and yes if i could avoid it i would but .. well]12:01
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:09
pokoliLordVan: if you describe the party table you will see all the foregin keys of other tables13:01
pokoliLordVan: that will be enought to see on which tables the parties are used13:01
pokoliLordVan: BTW: We have a wizard to replace a party with another one. Maybe that is what you are looking for13:02
LordVanpokoli, thanks I did not notice the wizard yet. Will check it out.13:07
LordVanthe main reason why I asked this is because there are other things where there are links without FOREIGN KEYs (like sale, shipment,.. )13:08
LordVanI will look if the wizard replaces everything (even old sales -- not invoices just sales)13:08
pokoliLordVan: To make the wizard work correctly any module defining a party relation that should be replaced should extend the wizard to make it aware13:09
pokoliLordVan: all oficial modules have the extension already implemented13:10
LordVanok cool thanks. then I only need to add one thing for my custom field with extra contacts for a sale most likely13:10
LordVanbut I will first take a DB dump and do tests on the other machine ofc13:11
LordVanbtw when I try to view the contents of a file on hg.tryton.org I get 502 Bad Gateway13:14
LordVane.g. https://hg.tryton.org/tryton-tools/file/tip/tryton_demo.py13:14
LordVanbrowsing the directories,.. seems to work fine13:15
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:21
-!- ChanServ changed mode/#tryton -> +o cedk 21:21

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