chat.freenode.net #tryton log beginning Wed Apr 14 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:53 | |
jcm | cedk: sure... though I discover the pb after the update | 23:59 |
---|---|---|
jcm | I cleaned up the products, added all missing codes | 23:59 |
jcm | update fail on: ERROR trytond.convert Could not delete id: 316 of model account.account.type.template | 23:59 |
jcm | There should be some relation that points to this resource | 23:59 |
jcm | trytond.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 |
jcm | many lines like that. I suspect that it's linked to the accounts created manually beyond account_fr | 00:00 |
-!- thaneor2(~acer8@r167-61-21-232.dialup.adsl.anteldata.net.uy) has joined #tryton | 00:08 | |
-!- thaneor(~ldlc6@r167-61-21-232.dialup.adsl.anteldata.net.uy) has joined #tryton | 00:24 | |
-!- srgdts_(~srgdts@unaffiliated/srgdts) has joined #tryton | 01:42 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 04:55 | |
-!- Springwurm_(~Springwur@5.104.149.54) has joined #tryton | 05:01 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:07 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:28 | |
-!- Timitos(~kpreisler@2001:a61:482:eb01:762b:62ff:fe84:ed7e) has joined #tryton | 06:04 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:34 | |
pokoli | jcm: it should be possible to update duplicate codes using an sql query | 07:07 |
pokoli | jcm: and about types you should check and probably remove them manually | 07:08 |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:18 | |
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton | 07:20 | |
mrichez | Hi, 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 |
mrichez | it 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 it | 08:22 |
cedk | mrichez: to get access, all rights must be valid | 08:37 |
cedk | mrichez: so the model, field and rule | 08:38 |
mrichez | cedk: ok thanks! | 09:42 |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 10:46 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 12:09 | |
-!- thaneor1(~ldlc6@r167-61-168-247.dialup.adsl.anteldata.net.uy) has joined #tryton | 12:10 | |
-!- thaneor(~acer8@r167-61-168-247.dialup.adsl.anteldata.net.uy) has joined #tryton | 12:26 | |
jcm | pokoli: 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 #tryton | 13:17 | |
pokoli | jcm: russian? we have no russian chart of accounts | 13:28 |
pokoli | jcm: if you have some steps to reproduce it maybe a bug... | 13:29 |
jcm | pokoli: 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 |
pokoli | jcm: so it seems the bug is already fixed ;-) | 14:02 |
jcm | the best soft ever: errors self repair nightly :-) | 14:19 |
-!- mariomop(~quassel@181.29.189.235) has joined #tryton | 14:19 | |
jcm | sry, 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 |
jcm | Try to re-run: trytond.py --update=module | 15:07 |
jcm | There is no such option as --update=module in trytond | 15:08 |
pokoli | jcm: ups the message it's outdated, it should be trytond-admin | 15:18 |
pokoli | jcm: the problme is that a new column has been added and there are some rows with null values | 15:19 |
jcm | pokoli: thks. What sql rows should I look at? or what admin menu (it's a warning, everything seems to work from client) ? | 15:51 |
pokoli | jcm: on ir_rule_table you should look for rows that have an empty name | 16:47 |
jcm | pokoli: 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 #tryton | 17:56 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 21:43 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!