irc.libera.chat #tryton log beginning Wed Jun 16 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:37 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:37 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 04:48 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 04:54 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:29 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:29 | |
mrichez | hi, 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 |
---|---|---|
mrichez | i mean table ir.model.field | 07:26 |
-!- timitos(~kpreisler@2001:a61:4ac:5b01:762b:62ff:fe84:ed7e) has joined #tryton | 07:41 | |
cedk | mrichez: it is probably better to use the TableHandler so you got an automatic update | 07:57 |
mrichez | cedk: it is just for testing purpose but wondering if ir.model.field is updated automatically when a field is removed ? | 07:58 |
cedk | mrichez: and normally at the end of the database update, unknown fields are deleted | 07:58 |
cedk | by the clean methods | 07:58 |
mrichez | cedk: ok thanks | 07:59 |
-!- rs[m](~rsinframa@2001:470:69fc:105::ea2) has joined #tryton | 09:34 | |
-!- maxx(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 10:56 | |
-!- maxx(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 11:14 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 11:14 | |
-!- LordVan__(~LordVan@gentoo/developer/lordvan) has joined #tryton | 11:30 | |
LordVan__ | Hi | 11: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 up | 11:35 |
cedk | LordVan: you can use TableHandler in __register__ method to perform DSL operations | 11:39 |
LordVan | cedk, ok thanks I'll look if I find something similar in one of the modules | 11:42 |
LordVan | I mean it wouldn'T matter[except for templates] if I did not rename it but it would be cleaner | 11:43 |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:09 | |
LordVan | btw | 12:14 |
LordVan | is it normal on discuss.tryton.org that i get those "level up" messages from discobot twice? | 12:14 |
cedk | LordVan: you seem to be the only one. I guess it is a small bug | 12:38 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 12:44 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 12:44 | |
LordVan | not a big deal anyway was just wondering why | 12:45 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!