IRC logs of #tryton for Tuesday, 2018-02-20 #tryton log beginning Tue Feb 20 00:00:01 CET 2018
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:02
-!- csotelo(~csotelo@ has joined #tryton01:02
-!- hedererjs( has joined #tryton01:02
-!- thaneor1( has joined #tryton01:02
-!- yangoon1( has joined #tryton04:02
-!- _2cadz_(~2cadz@ has joined #tryton06:02
-!- hedererjs( has joined #tryton07:02
-!- rpit( has joined #tryton08:02
-!- Timitos( has joined #tryton09:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:02
-!- nicoe( has joined #tryton11:02
-!- xcodinas(~xcodinas@unaffiliated/xcodinas) has joined #tryton13:02
-!- _2cadz_( has joined #tryton13:02
-!- thaneor( has joined #tryton13:02
-!- csotelo_at_work(~csotelo@ has joined #tryton14:02
-!- csotelo_at_work(~csotelo@ has joined #tryton15:02
-!- csotelo_at_work(~csotelo@ has joined #tryton15:02
-!- ChanServ changed mode/#tryton -> +o cedk 15:02
cedkakick #tryton list15:02
-!- cedk changed mode/#tryton -> -b *!*udono@* 16:02
-!- udono( has joined #tryton16:02
-!- hedererjs( has joined #tryton17:02
-!- rmu( 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
rmu and 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
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( has joined #tryton18:02
-!- andrespoliti( 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
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@ 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@ has joined #tryton20:02
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:02

Generated by 2.16.0 by Marius Gedminas - find it at!