IRC logs of #tryton for Monday, 2021-07-05

irc.libera.chat #tryton log beginning Mon Jul 5 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:13
-!- ChanServ changed mode/#tryton -> +o cedk 23:13
-!- springwurm(~springwur@5.104.149.54) has joined #tryton05:03
-!- ChanServ(ChanServ@services.libera.chat) has joined #tryton05:11
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton05:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:47
-!- ChanServ changed mode/#tryton -> +o cedk 06:47
-!- rpit(~rpit@p200300c88f365000db48e182b4ab3144.dip0.t-ipconnect.de) has joined #tryton06:51
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton06:58
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton07:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:51
-!- ChanServ changed mode/#tryton -> +o cedk 07:51
-!- udono(~udono@085-130-067-156.ip-addr.inexio.net) has joined #tryton08:30
-!- acaubet1(~Thunderbi@194.224.31.235) has joined #tryton08:38
-!- timitos(~kpreisler@2001:a61:4f8:5c01:762b:62ff:fe84:ed7e) has joined #tryton08:44
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:06
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:58
-!- ChanServ changed mode/#tryton -> +o cedk 12:58
mrichezhi, i defined a mixin for report in a custom module (working). I need to use this mixin in another custom module, so i did an import from trytond.modules.mymodule.myfile import myMixin14:27
mrichezthen i define a report Class NewReport(CompanyReport, myMixin): ....  but my Mixin seems ignored .. am i missing something ?14:28
cedkmrichez: I guess it is because your mixin is not really a mixin and it does not inherit from a parent class14:42
cedkso the method it overrides is not in the resolution path14:43
cedkbecause you do not have a diamon path14:43
mrichezcedk: hum indeed, my mixin is not heriting from Report14:46
mrichezcedk: working now :-)14:47
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton14:54
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton16:04
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton17:11
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton18:39

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