IRC logs of #tryton for Wednesday, 2021-04-14

chat.freenode.net #tryton log beginning Wed Apr 14 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:53
jcmcedk: sure... though I discover the pb after the update23:59
jcmI cleaned up the products, added all missing codes23:59
jcmupdate fail on: ERROR trytond.convert Could not delete id: 316 of model account.account.type.template23:59
jcmThere should be some relation that points to this resource23:59
jcmtrytond.model.modelsql.ForeignKeyError: Les enregistrements ne peuvent pas être supprimés car ils sont utilisés par le champ « Type » de « Modèle de compte ».00:00
jcmmany lines like that. I suspect that it's linked to the accounts created manually beyond account_fr00:00
-!- thaneor2(~acer8@r167-61-21-232.dialup.adsl.anteldata.net.uy) has joined #tryton00:08
-!- thaneor(~ldlc6@r167-61-21-232.dialup.adsl.anteldata.net.uy) has joined #tryton00:24
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton01:42
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton04:55
-!- Springwurm_(~Springwur@5.104.149.54) has joined #tryton05:01
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton05:07
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:28
-!- Timitos(~kpreisler@2001:a61:482:eb01:762b:62ff:fe84:ed7e) has joined #tryton06:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:34
pokolijcm: it should be possible to update duplicate codes using an sql query07:07
pokolijcm: and about types you should check and probably remove them manually07:08
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:18
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton07:20
mrichezHi, questions about permissions: i've an ir.rule.group on a model giving some restrictions. If i define an ir.model.field.access, can i update a field despite ir.rule.group ? which is the order of the permissions ?08:19
mrichezit concerns my discuss: https://discuss.tryton.org/t/write-access-rules-to-group-depending-on-a-field/4016/11 i'm setting model product.template readonly once a field "validated" is true, but i still need users could add product_customers on it08:22
cedkmrichez: to get access, all rights must be valid08:37
cedkmrichez: so the model, field and rule08:38
mrichezcedk: ok thanks!09:42
-!- mariomop(~quassel@181.29.189.235) has joined #tryton10:46
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton12:09
-!- thaneor1(~ldlc6@r167-61-168-247.dialup.adsl.anteldata.net.uy) has joined #tryton12:10
-!- thaneor(~acer8@r167-61-168-247.dialup.adsl.anteldata.net.uy) has joined #tryton12:26
jcmpokoli: seems that all id of account_account_type_template are part of a russian account plan. Not modified by me. Should I post a bug for this?12:38
-!- rpit1(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton13:17
pokolijcm: russian? we have no russian chart of accounts13:28
pokolijcm: if you have some steps to reproduce it maybe a bug...13:29
jcmpokoli: very strange. Hundreds of error, a line telling "You should manually fix this and restart --update=module" but restarting update leads to warnings only and no more errors...13:51
pokolijcm: so it seems the bug is already fixed ;-)14:02
jcmthe best soft ever: errors self repair nightly :-)14:19
-!- mariomop(~quassel@181.29.189.235) has joined #tryton14:19
jcmsry, me agin! what does this trytond-admin msg mean? 1988 140481776219968 [2021-04-14 15:03:50,015] WARNING trytond.backend.postgresql.table Unable to set column name of table ir_rule_group not null !15:07
jcmTry to re-run: trytond.py --update=module15:07
jcmThere is no such option as --update=module in trytond15:08
pokolijcm: ups the message it's outdated, it should be trytond-admin15:18
pokolijcm: the problme is that a new column has been added and there are some rows with null values15:19
jcmpokoli: thks. What sql rows should I look at? or what admin menu (it's a warning, everything seems to work from client) ?15:51
pokolijcm: on ir_rule_table you should look for rows that have an empty name16:47
jcmpokoli: I have 60 null named entries in ir_rule_group. No idea what to do with...17:31
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton17:56
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:43

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