IRC logs of #tryton for Saturday, 2009-09-26

chat.freenode.net #tryton log beginning Sat Sep 26 00:00:02 CEST 2009
-!- monkeytower(n=monkeyto@dslb-088-076-229-048.pools.arcor-ip.net) has joined #tryton00:20
-!- ChanServ(ChanServ@services.) has joined #tryton04:07
-!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton04:07
-!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton04:07
-!- yangoon(n=mathiasb@p549F6567.dip.t-dialin.net) has joined #tryton04:07
-!- vengfulsquirrel1(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton05:12
-!- yangoon(n=mathiasb@p549F402E.dip.t-dialin.net) has joined #tryton05:20
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:35
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton08:42
-!- FWiesing(n=debian@194-208-185-012.tele.net) has joined #tryton09:00
-!- Timitos(n=timitos@88.217.184.172) has joined #tryton09:09
-!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #Tryton10:10
-!- udono(n=udono@dynamic-unidsl-85-197-16-75.westend.de) has joined #tryton10:11
-!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton10:24
-!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton10:25
-!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton10:26
-!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton10:28
-!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton11:37
-!- Timito1(n=timitos@88.217.184.172) has joined #tryton11:40
-!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has left #tryton12:06
-!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton12:06
-!- carlos(n=carlos@241.156.221.87.dynamic.jazztel.es) has joined #tryton12:19
-!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton12:28
-!- sharkcz(n=dan@88.146.14.17) has joined #tryton14:05
-!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton14:35
-!- _TiN_(i=ahenze@190.0.162.41) has joined #tryton15:06
-!- juanfer(n=juanfer@190.25.86.47) has joined #tryton15:36
-!- juanfer_(n=juanfer@190.25.38.126) has joined #tryton16:07
-!- juanfer(n=juanfer@190.25.38.126) has joined #tryton16:13
-!- monkeytower(n=monkeyto@dslb-088-076-229-048.pools.arcor-ip.net) has joined #tryton16:18
-!- juanfer_(n=juanfer@190.25.175.122) has joined #tryton16:56
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton19:14
vengfulsquirrelcedk: Hey was email_send_attach() meant to be permanently removed in http://hg.tryton.org/hgwebdir.cgi/trytond/rev/51a653babec6 ?19:19
cedkvengfulsquirrel: yes19:20
vengfulsquirrelawesome19:24
cedkvengfulsquirrel: it was a bad designed function19:26
vengfulsquirrelyeah I can just copy the old functionality19:29
cedkvengfulsquirrel: yes now we let to the coder the choice to add what he wants in emails19:30
vengfulsquirrelcedk: Yes that sounds good, just figuring out attachments is always complicated, but I can just factor that code out of the old function.  I agree the design is better but you could have kept the function and just used the new get_smtp_server function.19:31
vengfulsquirrelcedk: Anyways, I wrote a wizard that would let you automatically pay all the invoices and ship all the shipments of the selected sales, and it does that but for some reason only the first sale is done even though all the following sales have invoice=paid and shipment=sent, do you have any idea why that would happen?  Is there some extra signal that I should trigger on the sale after paying the invoice and shipping the shipment?19:31
cedkvengfulsquirrel: I don't understand you talk about a wizard and signal ?19:33
vengfulsquirrelcedk: Sorry its kind of sloppy right now but the ideas are there: http://paste.pocoo.org/show/141621/19:35
cedkvengfulsquirrel: did you check what you have in data['ids']19:39
vengfulsquirrelNo, but it sends the shipments and pays the invoices of each sale, so I think its getting the right ids.19:41
cedkvengfulsquirrel: which version?19:42
vengfulsquirrel58c6f0e8da9f  -- Allow to have accent in password19:44
cedkvengfulsquirrel: try on 1.219:45
cedkvengfulsquirrel: and check the workflow state of every models19:46
vengfulsquirrelWhat do you mean workflow state ?  Like invoice.state == 'paid' and shipment.state == 'done' ?19:48
cedkvengfulsquirrel: no the workflow instance19:49
vengfulsquirrelHmm, do you think I need to process 1 sale at a time in the wizard rather than all at once?19:50
cedkvengfulsquirrel: normally not19:51
yangooncedk: how is the the definition of price list rules for parties meant to work (module product_pricelist)? 'Price List' is just an empty Tab.20:01
cedkyangoon: it must be done in modules20:03
cedkvengfulsquirrel: I think it misses a call to workflow_trigger_trigger on shipment20:03
cedkvengfulsquirrel: could you try with this patch http://dpaste.com/98643/20:05
cedkyangoon: when I will have time I will write a sale_price_list module20:05
yangooncedk: ok, got it, thx20:06
vengfulsquirrelcedk: Do you mean self. or sale_obj.  ?20:07
vengfulsquirrelAttributeError: 'CloseSale' object has no attribute 'workflow_trigger_trigger'20:08
cedkvengfulsquirrel: it seems you did not apply the patch on the right place20:09
vengfulsquirreloh hey you're right20:10
vengfulsquirrelsorry20:10
cedkvengfulsquirrel: it is in sale module20:10
vengfulsquirrelyeah sorry it looked like some other code i had in the paste20:11
vengfulsquirreli have to run out for a minute though try it when i get back, thanks for the help, i hope it works20:11
CIA-2matb roundup * #1191/neso: Unable to eval...:20:50
CIA-2[new] neso, marking module for install, safe_eval patches installed:20:50
CIA-2ERROR:record:Unable to eval ' 1 not in groups ' for button Mark for Upgrad ...20:50
CIA-2http://bugs.tryton.org/roundup/issue119120:50
-!- juanfer__(n=juanfer@190.24.103.171) has joined #tryton21:26
CIA-2ced roundup * #1191/neso: Unable to eval...: [resolved] Already fixed with changeset a2520cd02d7b21:29
CIA-2http://bugs.tryton.org/roundup/issue119121:29
CIA-2matb roundup * #1192/untranslated error message: Please provide debit and credit account on statement journal.:21:29
CIA-2[new] Validating a draft statement displays untranslated error message:21:29
CIA-2Traceback (most recent call last):21:29
CIA-2File "/usr/local/tryton/trytond/t ...21:29
CIA-2http://bugs.tryton.org/roundup/issue119221:29
CIA-2ced roundup * #1192/untranslated error message: Please provide debit and credit account on statement journal.: [invalid] It must come from this module account_statement_cash_discount21:31
CIA-2http://bugs.tryton.org/roundup/issue119221:31
CIA-2matb roundup * #1193/Unable to backup database on neso: [new] Button 'Backup' is disabled like in normal client, when no password for the tryton server is entered.21:37
CIA-2http://bugs.tryton.org/roundup/issue119321:37
CIA-2matb roundup * #1193/Unable to backup database on neso: [chatting] It works when switching focus from dialog.21:41
CIA-2http://bugs.tryton.org/roundup/issue119321:41
CIA-2matb roundup * #1194/Database update fails with neso:21:48
CIA-2[new] When restoring a database backup made with neso together with update:21:48
CIA-2Database restore failed!21:48
CIA-2Database restore failed with error messag ...21:48
CIA-2http://bugs.tryton.org/roundup/issue119421:48
-!- ChanServ(ChanServ@services.) has joined #tryton22:42
-!- juanfer__(n=juanfer@190.24.103.171) has joined #tryton22:42
-!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton22:42
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton22:42
-!- yangoon(n=mathiasb@p549F402E.dip.t-dialin.net) has joined #tryton22:42
-!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton22:42
vengfulsquirrelcedk: No, something still isn't working.22:48
vengfulsquirrelcedk: With respect to the sale not being marked as done problem.22:48
vengfulsquirrelIt just gets left as confirmed, its like the sale is missing some sort of signal when its shipment and invoice are updated.22:49
cedkvengfulsquirrel: what is the state of the workflow instance?22:59
vengfulsquirrelcedk: How can I find that ?  Just from psql commandline?23:19
vengfulsquirrelcedk: http://paste.pocoo.org/show/141640/23:21
vengfulsquirrelI'm pretty sure in the end its probably something I'm doing wrong.23:21
cedkvengfulsquirrel: plugins > print workflow23:23
vengfulsquirrelhttp://www.laspilitas.com/tryton/sale.jpg23:25
vengfulsquirrelcedk: Hmm, the workflow plugin does not seem to be working.  Plugins->Execute Plugin and then I choose regular Print Workflow and then it opens image magic and asks me to select a file, is that what is supposed to happen ?23:28
cedkvengfulsquirrel: you must have an image23:28
cedkvengfulsquirrel: check that "file actions" have correct quote23:31
vengfulsquirrelcedk: genius, yes that was the problem, they must have not been updated with the regular pdf/odt stuff23:32
vengfulsquirrelcedk: http://www.laspilitas.com/tryton/sale-workflow.jpg23:34
cedkvengfulsquirrel: ok workflow is done23:34
vengfulsquirrelfor future reference, how can I tell from that diagram?23:35
cedkvengfulsquirrel: so what you have is impossible with a workflow finished because last step is to write state23:35
vengfulsquirrelyes that's why I don't understand23:36
vengfulsquirrelsale == done if and only if invoice is paid and shipment is sent23:36
vengfulsquirrelI guess the next step is to setup situation in demo and install my module against trunk loaded with demo and see if it happens there.  It is a ton of work though.23:37

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!