IRC logs of #tryton for Friday, 2021-02-26

chat.freenode.net #tryton log beginning Fri Feb 26 12:00:01 AM CET 2021
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton23:59
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton00:22
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:24
-!- srgdts(~srgdts@unaffiliated/srgdts) has joined #tryton02:22
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:56
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton06:01
-!- Timitos(~kpreisler@2001:a61:42d:c01:762b:62ff:fe84:ed7e) has joined #tryton06:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:55
-!- rpit(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton07:58
-!- pokoli_(~pokoli@mail.koolpi.com) has left #tryton08:11
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton08:11
-!- udono1(~udono@157-058-210-188.ip-addr.inexio.net) has joined #tryton08:33
-!- thaneor1(~ldlc6@r167-61-38-122.dialup.adsl.anteldata.net.uy) has joined #tryton09:05
-!- lucascastro(~lucascast@177-185-133-183.dynamic.isotelco.net.br) has joined #tryton10:36
-!- mariomop(~quassel@181.29.189.235) has joined #tryton10:45
-!- lucas_(~lucascast@189.90.44.253.jupiter.com.br) has joined #tryton12:02
-!- lucas__(~lucascast@189.90.44.253.jupiter.com.br) has joined #tryton12:03
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton13:03
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton13:09
mrichezHi, any idea what i should i check when getting this error: File "/trytond/model/modelstorage.py", line 515, in _search_domain_active13:53
mrichezif not ('active' in cls._fields13:53
mrichezAttributeError: type object 'purchase.purchase' has no attribute '_fields'13:53
mrichezFault: type object 'purchase.purchase' has no attribute '_fields'13:53
mrichezhappens when launching wizard to generate a purchase return after this :  Purchase.save(return_purchases)13:54
mrichezworking in demo, so probably linked  to a custo13:55
pokolimrichez: you are overriding __setup__ in purchase.purchase model ?14:32
mrichezyes14:33
pokoliMaybe you are missing the super() call so the _fields is not initalized14:33
mrichezpokoli: i checked but everything seems ok14:37
pokolimrichez: did you have the full traceback?14:49
mrichezpokoli: https://pastebin.com/2rn9zmtp14:50
pokolimrichez: sorry I do not see anything relevant and I have to leave now14:55
mrichezpokoli: no problem, i'm leaving too in few minutes. Keep on monday...14:55
-!- lucascastro(~lucascast@189.90.44.253.jupiter.com.br) has joined #tryton15:15
-!- lucascastro(~lucascast@189.90.44.253.jupiter.com.br) has joined #tryton15:27
-!- rpit1(~rpit@p200300c88f0235001c42215a17f33f55.dip0.t-ipconnect.de) has joined #tryton16:11
-!- lucascastro(~lucascast@189.90.44.253.jupiter.com.br) has joined #tryton16:55
-!- thaneor(~acer8@r167-61-38-122.dialup.adsl.anteldata.net.uy) has joined #tryton19:16
-!- thaneor(~acer8@r167-61-38-122.dialup.adsl.anteldata.net.uy) has joined #tryton20:04
-!- thaneor2(~acer8@r167-61-106-89.dialup.adsl.anteldata.net.uy) has joined #tryton21:07
-!- thaneor3(~ldlc6@r167-61-106-89.dialup.adsl.anteldata.net.uy) has joined #tryton21:08

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