IRC logs of #tryton for Thursday, 2022-08-11

irc.libera.chat #tryton log beginning Thu Aug 11 12:00:01 AM CEST 2022
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:03
-!- ChanServ changed mode/#tryton -> +o cedk 22:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:55
-!- ChanServ changed mode/#tryton -> +o cedk 22:55
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton01:30
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton02:18
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton05:46
-!- ChanServ changed mode/#tryton -> +o cedk 05:46
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton06:09
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton07:05
-!- springwurm(~springwur@5.104.149.54) has joined #tryton07:31
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton07:44
-!- tbruyere1(~Thunderbi@152-153-144-178.mobileinternet.proximus.be) has joined #tryton09:16
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton09:33
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton11:42
-!- springwurm(~springwur@5.104.149.54) has joined #tryton12:15
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton13:49
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:32
-!- ChanServ changed mode/#tryton -> +o cedk 20:32
-!- LordVan(~lordvan@gentoo/developer/lordvan) has joined #tryton21:43
LordVanHi. I was just thinking if I could use the Replace (party) Wizard for getting rid of duplicates (from an old data import that we simply didn't have the time to clean up first completely) .. but I added a Many2Many field for extra contacts to sales. I assume I'd have to somehow add that as well (although I have to admit I am not sure how to go about it as I am not that well versed with that low level tryton internals) Would it just be enough to 21:46
LordVando what purchase_request does and overwrite fields_to_replace(cls) to include ('sale.extra_contacts', 'party' ) ?21:46
LordVanextra_contacts = fields.Many2Many('party.party-sale.sale', 'sale', 'party', 'Extra Contacts', states = { 'readonly': ~Eval('state').in_(['draft', 'quotation']), }) # this is the extra field on sales21:49

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