IRC logs of #tryton for Tuesday, 2018-02-20

chat.freenode.net #tryton log beginning Tue Feb 20 00:00:01 CET 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:02
-!- csotelo(~csotelo@181.64.241.156) has joined #tryton01:02
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton01:02
-!- thaneor1(~ldlc6@r186-48-42-119.dialup.adsl.anteldata.net.uy) has joined #tryton01:02
-!- yangoon1(~mathiasb@i59F4A0C2.versanet.de) has joined #tryton04:02
-!- _2cadz_(~2cadz@82.64.14.213) has joined #tryton06:02
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton07:02
-!- rpit(~rpit@p200300C88F1BB40056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton08:02
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton09:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:02
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton11:02
-!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton13:02
-!- _2cadz_(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton13:02
-!- thaneor(~ldlc6@r186-48-20-83.dialup.adsl.anteldata.net.uy) has joined #tryton13:02
-!- csotelo_at_work(~csotelo@179.7.43.44) has joined #tryton14:02
-!- csotelo_at_work(~csotelo@179.7.47.185) has joined #tryton15:02
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton15:02
-!- ChanServ changed mode/#tryton -> +o cedk 15:02
cedkakick #tryton list15:02
-!- cedk changed mode/#tryton -> -b *!*udono@*.ip-addr.inexio.net 16:02
-!- udono(~udono@114-057-210-188.ip-addr.inexio.net) has joined #tryton16:02
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton17:02
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton17:02
rmuhi. i have a question regarding account_invoice_stock and stock_split. seems splitting stock moves removes association to invoice lines.17:02
rmuhttp://hg.tryton.org/modules/account_invoice_stock/file/tip/stock.py#l33 and http://hg.tryton.org/modules/stock_split/file/tip/stock.py#l60 suggest this is more or less deliberate17:02
rmunot completely sure what17:02
rmuhmm. maybe my problem is somewhere else, i overlooked the "setdefault"17:02
cedkrmu: indeed split should keep the invoice_lines links17:02
rmucedk: yes, I see that now, but somehow my links are lost when I split stock moves and assigning LOTs17:02
cedkrmu: as I said, it is a bug18:02
rmucedk: I think it has to do with the specific workflow. I split the inventory move, assign lots, and then assign .... the shipment18:02
rmucedk: it seems sync_inventory_to_outgoing doesn't care for the link to invoice lines18:02
rmucedk: http://hg.tryton.org/modules/stock/file/tip/shipment.py#l130218:02
cedkrmu: I think you need to report an issue with a proper scenario to reproduce the problem18:02
rmucedk: yeah, i try to further isolate the problem and submit an issue18:02
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:02
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton19:02
andrespolitii'm trying to create a report that prints a list of invoices, but i only get the first selected19:02
andrespolitii'm in 4.0, and i see the InvoiceReport class, in the method _get_records it discards all ids except the first19:02
andrespolitiwhy is that?19:02
cedkandrespoliti: because invoice report is stored and so it should contain only one invoice at a time19:02
andrespoliticedk: okey, how could i print a list of invoices? if i create a custom invoice report class, it would have to inherit from the parent, and i would have the same problem19:02
cedkandrespoliti: you can not really do it19:02
cedkandrespoliti: but if you request to print many invoices, the client will propose you to send them directly to the printer19:02
andrespoliticedk: that's through the wizard?19:02
cedkandrespoliti: not it is managed by the report19:02
cedkACTION bbl19:02
andrespoliticedk: i think that solution wouldn't really work because it would print a page for each invoice, but i need just a basic list of invoice number and supplier19:02
andrespolitiand state19:02
cedkandrespoliti: so create a new report19:02
cedkandrespoliti: and you probably do not need to print it19:02
andrespolitia new report class?19:02
andrespolitibut wouldn't the new report class have to inherit from InvoiceReport?19:02
andrespolitior i can make it inherit directly from Invoice?19:02
andrespoliticedk19:02
andrespoliticedk: i created a new InvoiceListReport(Report) class, but it still calls InvoiceReport when i execute the report19:02
andrespoliticedk: it's working, i had to restart the client too, maybe it was a cache thing19:02
-!- mariomop(~quassel@181.110.50.114) has joined #tryton20:02
rmuseems i misunderstood the "default" parameter in the copy method, I assumed those values only apply where the to-be-copied-from object contains None/NULL values20:02
-!- catonano(~user@151.45.39.237) has joined #tryton20:02
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:02

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