irc.libera.chat #tryton log beginning Thu Aug 11 12:00:01 AM CEST 2022 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:03 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:03 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:55 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:55 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 01:30 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 02:18 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 05:46 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 05:46 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 06:09 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 07:05 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 07:31 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 07:44 | |
-!- tbruyere1(~Thunderbi@152-153-144-178.mobileinternet.proximus.be) has joined #tryton | 09:16 | |
-!- tbruyere1(~Thunderbi@mail.saluc.com) has joined #tryton | 09:33 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 11:42 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:15 | |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 13:49 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 20:32 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 20:32 | |
-!- LordVan(~lordvan@gentoo/developer/lordvan) has joined #tryton | 21:43 | |
LordVan | Hi. 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 |
---|---|---|
LordVan | do what purchase_request does and overwrite fields_to_replace(cls) to include ('sale.extra_contacts', 'party' ) ? | 21:46 |
LordVan | extra_contacts = fields.Many2Many('party.party-sale.sale', 'sale', 'party', 'Extra Contacts', states = { 'readonly': ~Eval('state').in_(['draft', 'quotation']), }) # this is the extra field on sales | 21:49 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!