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 #tryton23:47
-!- csotelo(~csotelo@181.64.241.156) has joined #tryton00:03
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton00:30
-!- thaneor1(~ldlc6@r186-48-42-119.dialup.adsl.anteldata.net.uy) has joined #tryton00:47
-!- yangoon1(~mathiasb@i59F4A0C2.versanet.de) has joined #tryton03:15
-!- _2cadz_(~2cadz@82.64.14.213) has joined #tryton05:56
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton06:36
-!- rpit(~rpit@p200300C88F1BB40056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton07:11
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:01
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:18
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:00
-!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton12:21
-!- _2cadz_(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton12:39
-!- thaneor(~ldlc6@r186-48-20-83.dialup.adsl.anteldata.net.uy) has joined #tryton12:48
-!- csotelo_at_work(~csotelo@179.7.43.44) has joined #tryton13:55
-!- csotelo_at_work(~csotelo@179.7.47.185) has joined #tryton14:12
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton14:42
-!- ChanServ changed mode/#tryton -> +o cedk 14:42
cedkakick #tryton list14:59
-!- cedk changed mode/#tryton -> -b *!*udono@*.ip-addr.inexio.net 15:04
-!- udono(~udono@114-057-210-188.ip-addr.inexio.net) has joined #tryton15:07
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton16:25
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton16:37
rmuhi. i have a question regarding account_invoice_stock and stock_split. seems splitting stock moves removes association to invoice lines.16:40
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 deliberate16:41
rmunot completely sure what16:42
rmuhmm. maybe my problem is somewhere else, i overlooked the "setdefault"16:44
cedkrmu: indeed split should keep the invoice_lines links16:54
rmucedk: yes, I see that now, but somehow my links are lost when I split stock moves and assigning LOTs16:57
cedkrmu: as I said, it is a bug17:02
rmucedk: I think it has to do with the specific workflow. I split the inventory move, assign lots, and then assign .... the shipment17:04
rmucedk: it seems sync_inventory_to_outgoing doesn't care for the link to invoice lines17:06
rmucedk: http://hg.tryton.org/modules/stock/file/tip/shipment.py#l130217:09
cedkrmu: I think you need to report an issue with a proper scenario to reproduce the problem17:21
rmucedk: yeah, i try to further isolate the problem and submit an issue17:22
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton17:57
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton18:14
andrespolitii'm trying to create a report that prints a list of invoices, but i only get the first selected18:15
andrespolitii'm in 4.0, and i see the InvoiceReport class, in the method _get_records it discards all ids except the first18:15
andrespolitiwhy is that?18:15
cedkandrespoliti: because invoice report is stored and so it should contain only one invoice at a time18:21
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 problem18:22
cedkandrespoliti: you can not really do it18:23
cedkandrespoliti: but if you request to print many invoices, the client will propose you to send them directly to the printer18:24
andrespoliticedk: that's through the wizard?18:24
cedkandrespoliti: not it is managed by the report18:25
cedkACTION bbl18:25
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 supplier18:26
andrespolitiand state18:26
cedkandrespoliti: so create a new report18:26
cedkandrespoliti: and you probably do not need to print it18:27
andrespolitia new report class?18:27
andrespolitibut wouldn't the new report class have to inherit from InvoiceReport?18:27
andrespolitior i can make it inherit directly from Invoice?18:28
andrespoliticedk18:31
andrespoliticedk: i created a new InvoiceListReport(Report) class, but it still calls InvoiceReport when i execute the report18:37
andrespoliticedk: it's working, i had to restart the client too, maybe it was a cache thing18:47
-!- mariomop(~quassel@181.110.50.114) has joined #tryton19:09
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 values19:30
-!- catonano(~user@151.45.39.237) has joined #tryton19:49
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton21:01

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