chat.freenode.net #tryton log beginning Tue Feb 20 00:00:01 CET 2018 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:47 | |
-!- csotelo(~csotelo@181.64.241.156) has joined #tryton | 00:03 | |
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton | 00:30 | |
-!- thaneor1(~ldlc6@r186-48-42-119.dialup.adsl.anteldata.net.uy) has joined #tryton | 00:47 | |
-!- yangoon1(~mathiasb@i59F4A0C2.versanet.de) has joined #tryton | 03:15 | |
-!- _2cadz_(~2cadz@82.64.14.213) has joined #tryton | 05:56 | |
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton | 06:36 | |
-!- rpit(~rpit@p200300C88F1BB40056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton | 07:11 | |
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton | 08:01 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 08:18 | |
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton | 10:00 | |
-!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton | 12:21 | |
-!- _2cadz_(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton | 12:39 | |
-!- thaneor(~ldlc6@r186-48-20-83.dialup.adsl.anteldata.net.uy) has joined #tryton | 12:48 | |
-!- csotelo_at_work(~csotelo@179.7.43.44) has joined #tryton | 13:55 | |
-!- csotelo_at_work(~csotelo@179.7.47.185) has joined #tryton | 14:12 | |
-!- csotelo_at_work(~csotelo@179.43.97.56) has joined #tryton | 14:42 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 14:42 | |
cedk | akick #tryton list | 14: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 #tryton | 15:07 | |
-!- hedererjs(~hedererjs@dig50-1-78-222-206-45.fbx.proxad.net) has joined #tryton | 16:25 | |
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton | 16:37 | |
rmu | hi. i have a question regarding account_invoice_stock and stock_split. seems splitting stock moves removes association to invoice lines. | 16:40 |
rmu | http://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 deliberate | 16:41 |
rmu | not completely sure what | 16:42 |
rmu | hmm. maybe my problem is somewhere else, i overlooked the "setdefault" | 16:44 |
cedk | rmu: indeed split should keep the invoice_lines links | 16:54 |
rmu | cedk: yes, I see that now, but somehow my links are lost when I split stock moves and assigning LOTs | 16:57 |
cedk | rmu: as I said, it is a bug | 17:02 |
rmu | cedk: I think it has to do with the specific workflow. I split the inventory move, assign lots, and then assign .... the shipment | 17:04 |
rmu | cedk: it seems sync_inventory_to_outgoing doesn't care for the link to invoice lines | 17:06 |
rmu | cedk: http://hg.tryton.org/modules/stock/file/tip/shipment.py#l1302 | 17:09 |
cedk | rmu: I think you need to report an issue with a proper scenario to reproduce the problem | 17:21 |
rmu | cedk: yeah, i try to further isolate the problem and submit an issue | 17:22 |
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton | 17:57 | |
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton | 18:14 | |
andrespoliti | i'm trying to create a report that prints a list of invoices, but i only get the first selected | 18:15 |
andrespoliti | i'm in 4.0, and i see the InvoiceReport class, in the method _get_records it discards all ids except the first | 18:15 |
andrespoliti | why is that? | 18:15 |
cedk | andrespoliti: because invoice report is stored and so it should contain only one invoice at a time | 18:21 |
andrespoliti | cedk: 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 problem | 18:22 |
cedk | andrespoliti: you can not really do it | 18:23 |
cedk | andrespoliti: but if you request to print many invoices, the client will propose you to send them directly to the printer | 18:24 |
andrespoliti | cedk: that's through the wizard? | 18:24 |
cedk | andrespoliti: not it is managed by the report | 18:25 |
cedk | ACTION bbl | 18:25 |
andrespoliti | cedk: 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 supplier | 18:26 |
andrespoliti | and state | 18:26 |
cedk | andrespoliti: so create a new report | 18:26 |
cedk | andrespoliti: and you probably do not need to print it | 18:27 |
andrespoliti | a new report class? | 18:27 |
andrespoliti | but wouldn't the new report class have to inherit from InvoiceReport? | 18:27 |
andrespoliti | or i can make it inherit directly from Invoice? | 18:28 |
andrespoliti | cedk | 18:31 |
andrespoliti | cedk: i created a new InvoiceListReport(Report) class, but it still calls InvoiceReport when i execute the report | 18:37 |
andrespoliti | cedk: it's working, i had to restart the client too, maybe it was a cache thing | 18:47 |
-!- mariomop(~quassel@181.110.50.114) has joined #tryton | 19:09 | |
rmu | seems 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 values | 19:30 |
-!- catonano(~user@151.45.39.237) has joined #tryton | 19:49 | |
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton | 21:01 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!