IRC logs of #tryton for Sunday, 2021-06-13

chat.freenode.net #tryton log beginning Sun Jun 13 12:00:01 AM CEST 2021
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:48
-!- lucascastro(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton23:33
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:58
-!- ludo2(~Thunderbi@2001:912:1480:380::1) has joined #tryton08:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:47
-!- thaneor(~acer8@r167-61-69-166.dialup.adsl.anteldata.net.uy) has joined #tryton08:56
-!- thaneor1(~ldlc6@r167-61-69-166.dialup.adsl.anteldata.net.uy) has joined #tryton08:56
-!- yangoon1(~mathiasb@pd9e4a634.dip0.t-ipconnect.de) has joined #tryton09:37
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton09:48
-!- LordVan(~lordvan@gentoo/developer/LordVan) has joined #tryton09:55
LordVanpokoli, I found the easiest/most straightforward way to do what I needed with sale lines that are kits: https://blog.lordvan.com/blog/tryton-product-kit-extra-logic-for-components-when-expanded-on-sale-quotation/09:56
-!- ludo2(~Thunderbi@193.33.57.196) has joined #tryton10:09
LordVangot a question14:43
LordVanI am trying to set a default accounting category14:43
LordVanbut def default_account_category(cls): ... return Pool().get('product.category').search([('name', '=', 'MWSt'), ('accounting', '=', True)])[0]14:46
LordVandoes not work14:46
LordVanwhat do i need to return for a many2many?14:46
LordVanas default i mean14:46
LordVannm found it14:53
LordVanI had to add .id14:53
-!- thaneor1(~ldlc6@r167-61-69-166.dialup.adsl.anteldata.net.uy) has joined #tryton17:00
LordVanhmm17:26
LordVananyone here familiar with how (internally) delivery notes and invoices are created?17:26
LordVannever mind i figured out what my issue was17:38
LordVannow I gotta find out how to customize the delivery note / invoice generation (i do want to use custom fields as text there)17:39
LordVanO.o ok the whole stock shipment stuff is more complex than I had anticipated .. guess I'll mostly be reading code today still ^^17:59
LordVanquestion .. is there a problem with going back to draft state to make some changes once state is processing ?19:29
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton19:33
-!- thaneor2(~ldlc6@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton20:58
-!- thaneor3(~acer8@r167-61-43-31.dialup.adsl.anteldata.net.uy) has joined #tryton20:58
-!- lucas_(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton21:40
-!- as_g5pw(~g5pw@mittelab/sudo/g5pw) has joined #tryton21:45
-!- cryptic(~cryptic@142-196-139-017.res.spectrum.com) has joined #tryton21:47
-!- ludo2(~Thunderbi@221.114.141.88.rev.sfr.net) has joined #tryton21:51
-!- lucas_(~lucascast@177-185-133-236.dynamic.isotelco.net.br) has joined #tryton21:58

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