IRC logs of #tryton for Wednesday, 2021-06-16

irc.libera.chat #tryton log beginning Wed Jun 16 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:37
-!- ChanServ changed mode/#tryton -> +o cedk 23:37
-!- springwurm(~springwur@5.104.149.54) has joined #tryton04:48
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton04:54
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:29
-!- ChanServ changed mode/#tryton -> +o cedk 06:29
mrichezhi, if i remove a unused field from a custom model. Could i delete column manually in database or is it better to do that in setup ? is table ir.model automatically updated ?07:25
mrichezi mean table ir.model.field07:26
-!- timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton07:41
cedkmrichez: it is probably better to use the TableHandler so you got an automatic update07:57
mrichezcedk: it is just for testing purpose but wondering if ir.model.field is updated automatically when a field is removed ?07:58
cedkmrichez: and normally at the end of the database update, unknown fields are deleted07:58
cedkby the clean methods07:58
mrichezcedk: ok thanks07:59
-!- rs[m](~rsinframa@2001:470:69fc:105::ea2) has joined #tryton09:34
-!- maxx(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton10:56
-!- maxx(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton11:14
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton11:14
-!- LordVan__(~LordVan@gentoo/developer/lordvan) has joined #tryton11:30
LordVan__Hi11:34
LordVan__just a question .. how would I have to do it if I want to rename a custom field?11:34
LordVan__I think there was something about register() but i am not 100% sure and don'T want to mess it up11:35
cedkLordVan: you can use TableHandler in __register__ method to perform DSL operations11:39
LordVancedk, ok thanks I'll look if I find something similar in one of the modules11:42
LordVanI mean it wouldn'T matter[except for templates] if I did not rename it but it would be cleaner11:43
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:09
LordVanbtw12:14
LordVanis it normal on discuss.tryton.org that i get those "level up" messages from discobot twice?12:14
cedkLordVan: you seem to be the only one. I guess it is a small bug12:38
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:44
-!- ChanServ changed mode/#tryton -> +o cedk 12:44
LordVannot a big deal anyway was just wondering why12:45

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