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

chat.freenode.net #tryton log beginning Sat Sep 26 00:00:02 CEST 2009
2009-09-26 00:20 -!- monkeytower(n=monkeyto@dslb-088-076-229-048.pools.arcor-ip.net) has joined #tryton
2009-09-26 04:07 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-09-26 04:07 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2009-09-26 04:07 -!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton
2009-09-26 04:07 -!- yangoon(n=mathiasb@p549F6567.dip.t-dialin.net) has joined #tryton
2009-09-26 05:12 -!- vengfulsquirrel1(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-09-26 05:20 -!- yangoon(n=mathiasb@p549F402E.dip.t-dialin.net) has joined #tryton
2009-09-26 08:35 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-09-26 08:42 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-09-26 09:00 -!- FWiesing(n=debian@194-208-185-012.tele.net) has joined #tryton
2009-09-26 09:09 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-09-26 10:10 -!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #Tryton
2009-09-26 10:11 -!- udono(n=udono@dynamic-unidsl-85-197-16-75.westend.de) has joined #tryton
2009-09-26 10:24 -!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton
2009-09-26 10:25 -!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton
2009-09-26 10:26 -!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton
2009-09-26 10:28 -!- FWiesing(n=ubuntu@194-208-185-012.tele.net) has joined #tryton
2009-09-26 11:37 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-09-26 11:40 -!- Timito1(n=timitos@88.217.184.172) has joined #tryton
2009-09-26 12:06 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has left #tryton
2009-09-26 12:06 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-09-26 12:19 -!- carlos(n=carlos@241.156.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-26 12:28 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-09-26 14:05 -!- sharkcz(n=dan@88.146.14.17) has joined #tryton
2009-09-26 14:35 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2009-09-26 15:06 -!- _TiN_(i=ahenze@190.0.162.41) has joined #tryton
2009-09-26 15:36 -!- juanfer(n=juanfer@190.25.86.47) has joined #tryton
2009-09-26 16:07 -!- juanfer_(n=juanfer@190.25.38.126) has joined #tryton
2009-09-26 16:13 -!- juanfer(n=juanfer@190.25.38.126) has joined #tryton
2009-09-26 16:18 -!- monkeytower(n=monkeyto@dslb-088-076-229-048.pools.arcor-ip.net) has joined #tryton
2009-09-26 16:56 -!- juanfer_(n=juanfer@190.25.175.122) has joined #tryton
2009-09-26 19:14 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-09-26 19:19 <vengfulsquirrel> cedk: Hey was email_send_attach() meant to be permanently removed in http://hg.tryton.org/hgwebdir.cgi/trytond/rev/51a653babec6 ?
2009-09-26 19:20 <cedk> vengfulsquirrel: yes
2009-09-26 19:24 <vengfulsquirrel> awesome
2009-09-26 19:26 <cedk> vengfulsquirrel: it was a bad designed function
2009-09-26 19:29 <vengfulsquirrel> yeah I can just copy the old functionality
2009-09-26 19:30 <cedk> vengfulsquirrel: yes now we let to the coder the choice to add what he wants in emails
2009-09-26 19:31 <vengfulsquirrel> cedk: 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.
2009-09-26 19:31 <vengfulsquirrel> cedk: 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?
2009-09-26 19:33 <cedk> vengfulsquirrel: I don't understand you talk about a wizard and signal ?
2009-09-26 19:35 <vengfulsquirrel> cedk: Sorry its kind of sloppy right now but the ideas are there: http://paste.pocoo.org/show/141621/
2009-09-26 19:39 <cedk> vengfulsquirrel: did you check what you have in data['ids']
2009-09-26 19:41 <vengfulsquirrel> No, but it sends the shipments and pays the invoices of each sale, so I think its getting the right ids.
2009-09-26 19:42 <cedk> vengfulsquirrel: which version?
2009-09-26 19:44 <vengfulsquirrel> 58c6f0e8da9f -- Allow to have accent in password
2009-09-26 19:45 <cedk> vengfulsquirrel: try on 1.2
2009-09-26 19:46 <cedk> vengfulsquirrel: and check the workflow state of every models
2009-09-26 19:48 <vengfulsquirrel> What do you mean workflow state ? Like invoice.state == 'paid' and shipment.state == 'done' ?
2009-09-26 19:49 <cedk> vengfulsquirrel: no the workflow instance
2009-09-26 19:50 <vengfulsquirrel> Hmm, do you think I need to process 1 sale at a time in the wizard rather than all at once?
2009-09-26 19:51 <cedk> vengfulsquirrel: normally not
2009-09-26 20:01 <yangoon> cedk: how is the the definition of price list rules for parties meant to work (module product_pricelist)? 'Price List' is just an empty Tab.
2009-09-26 20:03 <cedk> yangoon: it must be done in modules
2009-09-26 20:03 <cedk> vengfulsquirrel: I think it misses a call to workflow_trigger_trigger on shipment
2009-09-26 20:05 <cedk> vengfulsquirrel: could you try with this patch http://dpaste.com/98643/
2009-09-26 20:05 <cedk> yangoon: when I will have time I will write a sale_price_list module
2009-09-26 20:06 <yangoon> cedk: ok, got it, thx
2009-09-26 20:07 <vengfulsquirrel> cedk: Do you mean self. or sale_obj. ?
2009-09-26 20:08 <vengfulsquirrel> AttributeError: 'CloseSale' object has no attribute 'workflow_trigger_trigger'
2009-09-26 20:09 <cedk> vengfulsquirrel: it seems you did not apply the patch on the right place
2009-09-26 20:10 <vengfulsquirrel> oh hey you're right
2009-09-26 20:10 <vengfulsquirrel> sorry
2009-09-26 20:10 <cedk> vengfulsquirrel: it is in sale module
2009-09-26 20:11 <vengfulsquirrel> yeah sorry it looked like some other code i had in the paste
2009-09-26 20:11 <vengfulsquirrel> i have to run out for a minute though try it when i get back, thanks for the help, i hope it works
2009-09-26 20:50 <CIA-2> matb roundup * #1191/neso: Unable to eval...:
2009-09-26 20:50 <CIA-2> [new] neso, marking module for install, safe_eval patches installed:
2009-09-26 20:50 <CIA-2> ERROR:record:Unable to eval ' 1 not in groups ' for button Mark for Upgrad ...
2009-09-26 20:50 <CIA-2> http://bugs.tryton.org/roundup/issue1191
2009-09-26 21:26 -!- juanfer__(n=juanfer@190.24.103.171) has joined #tryton
2009-09-26 21:29 <CIA-2> ced roundup * #1191/neso: Unable to eval...: [resolved] Already fixed with changeset a2520cd02d7b
2009-09-26 21:29 <CIA-2> http://bugs.tryton.org/roundup/issue1191
2009-09-26 21:29 <CIA-2> matb roundup * #1192/untranslated error message: Please provide debit and credit account on statement journal.:
2009-09-26 21:29 <CIA-2> [new] Validating a draft statement displays untranslated error message:
2009-09-26 21:29 <CIA-2> Traceback (most recent call last):
2009-09-26 21:29 <CIA-2> File "/usr/local/tryton/trytond/t ...
2009-09-26 21:29 <CIA-2> http://bugs.tryton.org/roundup/issue1192
2009-09-26 21:31 <CIA-2> ced roundup * #1192/untranslated error message: Please provide debit and credit account on statement journal.: [invalid] It must come from this module account_statement_cash_discount
2009-09-26 21:31 <CIA-2> http://bugs.tryton.org/roundup/issue1192
2009-09-26 21:37 <CIA-2> matb 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.
2009-09-26 21:37 <CIA-2> http://bugs.tryton.org/roundup/issue1193
2009-09-26 21:41 <CIA-2> matb roundup * #1193/Unable to backup database on neso: [chatting] It works when switching focus from dialog.
2009-09-26 21:41 <CIA-2> http://bugs.tryton.org/roundup/issue1193
2009-09-26 21:48 <CIA-2> matb roundup * #1194/Database update fails with neso:
2009-09-26 21:48 <CIA-2> [new] When restoring a database backup made with neso together with update:
2009-09-26 21:48 <CIA-2> Database restore failed!
2009-09-26 21:48 <CIA-2> Database restore failed with error messag ...
2009-09-26 21:48 <CIA-2> http://bugs.tryton.org/roundup/issue1194
2009-09-26 22:42 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-09-26 22:42 -!- juanfer__(n=juanfer@190.24.103.171) has joined #tryton
2009-09-26 22:42 -!- panthera(n=daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2009-09-26 22:42 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-09-26 22:42 -!- yangoon(n=mathiasb@p549F402E.dip.t-dialin.net) has joined #tryton
2009-09-26 22:42 -!- preC(n=preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton
2009-09-26 22:48 <vengfulsquirrel> cedk: No, something still isn't working.
2009-09-26 22:48 <vengfulsquirrel> cedk: With respect to the sale not being marked as done problem.
2009-09-26 22:49 <vengfulsquirrel> It just gets left as confirmed, its like the sale is missing some sort of signal when its shipment and invoice are updated.
2009-09-26 22:59 <cedk> vengfulsquirrel: what is the state of the workflow instance?
2009-09-26 23:19 <vengfulsquirrel> cedk: How can I find that ? Just from psql commandline?
2009-09-26 23:21 <vengfulsquirrel> cedk: http://paste.pocoo.org/show/141640/
2009-09-26 23:21 <vengfulsquirrel> I'm pretty sure in the end its probably something I'm doing wrong.
2009-09-26 23:23 <cedk> vengfulsquirrel: plugins > print workflow
2009-09-26 23:25 <vengfulsquirrel> http://www.laspilitas.com/tryton/sale.jpg
2009-09-26 23:28 <vengfulsquirrel> cedk: 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 ?
2009-09-26 23:28 <cedk> vengfulsquirrel: you must have an image
2009-09-26 23:31 <cedk> vengfulsquirrel: check that "file actions" have correct quote
2009-09-26 23:32 <vengfulsquirrel> cedk: genius, yes that was the problem, they must have not been updated with the regular pdf/odt stuff
2009-09-26 23:34 <vengfulsquirrel> cedk: http://www.laspilitas.com/tryton/sale-workflow.jpg
2009-09-26 23:34 <cedk> vengfulsquirrel: ok workflow is done
2009-09-26 23:35 <vengfulsquirrel> for future reference, how can I tell from that diagram?
2009-09-26 23:35 <cedk> vengfulsquirrel: so what you have is impossible with a workflow finished because last step is to write state
2009-09-26 23:36 <vengfulsquirrel> yes that's why I don't understand
2009-09-26 23:36 <vengfulsquirrel> sale == done if and only if invoice is paid and shipment is sent
2009-09-26 23:37 <vengfulsquirrel> I 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.

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