irc.libera.chat #tryton log beginning Mon Jul 5 12:00:01 AM CEST 2021 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:13 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:13 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:03 | |
-!- ChanServ(ChanServ@services.libera.chat) has joined #tryton | 05:11 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 05:20 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:47 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:47 | |
-!- rpit(~rpit@p200300c88f365000db48e182b4ab3144.dip0.t-ipconnect.de) has joined #tryton | 06:51 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 06:58 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 07:00 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:51 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 07:51 | |
-!- udono(~udono@085-130-067-156.ip-addr.inexio.net) has joined #tryton | 08:30 | |
-!- acaubet1(~Thunderbi@194.224.31.235) has joined #tryton | 08:38 | |
-!- timitos(~kpreisler@2001:a61:4f8:5c01:762b:62ff:fe84:ed7e) has joined #tryton | 08:44 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:06 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 12:58 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 12:58 | |
mrichez | hi, 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 myMixin | 14:27 |
---|---|---|
mrichez | then i define a report Class NewReport(CompanyReport, myMixin): .... but my Mixin seems ignored .. am i missing something ? | 14:28 |
cedk | mrichez: I guess it is because your mixin is not really a mixin and it does not inherit from a parent class | 14:42 |
cedk | so the method it overrides is not in the resolution path | 14:43 |
cedk | because you do not have a diamon path | 14:43 |
mrichez | cedk: hum indeed, my mixin is not heriting from Report | 14:46 |
mrichez | cedk: working now :-) | 14:47 |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 14:54 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 16:04 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 17:11 | |
-!- sharkcz(~sharkcz@19.161.broadband4.iol.cz) has joined #tryton | 18:39 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!