IRC logs of #tryton for Saturday, 2009-09-26 #tryton log beginning Sat Sep 26 00:00:02 CEST 2009
-!- monkeytower( has joined #tryton00:20
-!- ChanServ(ChanServ@services.) has joined #tryton04:07
-!- panthera( has joined #tryton04:07
-!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton04:07
-!- yangoon( has joined #tryton04:07
-!- vengfulsquirrel1( has joined #tryton05:12
-!- yangoon( has joined #tryton05:20
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:35
-!- sharkcz( has joined #tryton08:42
-!- FWiesing( has joined #tryton09:00
-!- Timitos(n=timitos@ has joined #tryton09:09
-!- FWiesing( has joined #Tryton10:10
-!- udono( has joined #tryton10:11
-!- FWiesing( has joined #tryton10:24
-!- FWiesing( has joined #tryton10:25
-!- FWiesing( has joined #tryton10:26
-!- FWiesing( has joined #tryton10:28
-!- FWiesing( has joined #tryton11:37
-!- Timito1(n=timitos@ has joined #tryton11:40
-!- FWiesing( has left #tryton12:06
-!- FWiesing( has joined #tryton12:06
-!- carlos( has joined #tryton12:19
-!- FWiesing( has joined #tryton12:28
-!- sharkcz(n=dan@ has joined #tryton14:05
-!- panthera( has joined #tryton14:35
-!- _TiN_(i=ahenze@ has joined #tryton15:06
-!- juanfer(n=juanfer@ has joined #tryton15:36
-!- juanfer_(n=juanfer@ has joined #tryton16:07
-!- juanfer(n=juanfer@ has joined #tryton16:13
-!- monkeytower( has joined #tryton16:18
-!- juanfer_(n=juanfer@ has joined #tryton16:56
-!- vengfulsquirrel( has joined #tryton19:14
vengfulsquirrelcedk: Hey was email_send_attach() meant to be permanently removed in ?19:19
cedkvengfulsquirrel: yes19:20
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:
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
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
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
-!- juanfer__(n=juanfer@ has joined #tryton21:26
CIA-2ced roundup * #1191/neso: Unable to eval...: [resolved] Already fixed with changeset a2520cd02d7b21: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-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-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-2matb roundup * #1193/Unable to backup database on neso: [chatting] It works when switching focus from dialog.21: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
-!- ChanServ(ChanServ@services.) has joined #tryton22:42
-!- juanfer__(n=juanfer@ has joined #tryton22:42
-!- panthera( has joined #tryton22:42
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton22:42
-!- yangoon( 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
vengfulsquirrelI'm pretty sure in the end its probably something I'm doing wrong.23:21
cedkvengfulsquirrel: plugins > print workflow23:23
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
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 2.11.0 by Marius Gedminas - find it at!