IRC logs of #tryton for Wednesday, 2010-11-24

chat.freenode.net #tryton log beginning Wed Nov 24 00:00:02 CET 2010
2010-11-24 02:46 -!- sharoon(~sharoon@218.248.84.92) has joined #tryton
2010-11-24 03:18 -!- sharoon(~sharoon@218.248.84.86) has joined #tryton
2010-11-24 03:42 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-11-24 04:15 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-11-24 05:07 -!- blast_hardcheese(~blast_har@dsl092-043-124.lax1.dsl.speakeasy.net) has joined #tryton
2010-11-24 05:19 -!- yangoon(~mathiasb@p549F6512.dip.t-dialin.net) has joined #tryton
2010-11-24 06:06 -!- sharoon(~sharoon@14.96.220.102) has joined #tryton
2010-11-24 07:28 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-11-24 08:23 -!- paepke(~paepke@p4FEB019B.dip0.t-ipconnect.de) has joined #tryton
2010-11-24 08:23 -!- GasbaKid(~GasbaKid@41.96.114.120) has joined #tryton
2010-11-24 08:31 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-11-24 08:54 -!- GasbaKid(~GasbaKid@41.96.114.120) has joined #tryton
2010-11-24 08:57 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2010-11-24 09:29 -!- GasbaKid_(~GasbaKid@41.96.2.174) has joined #tryton
2010-11-24 09:33 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2010-11-24 09:37 -!- paepke(~paepke@p4FEB019B.dip0.t-ipconnect.de) has left #tryton
2010-11-24 09:43 -!- JoePass(~gasbakid@41.96.2.174) has joined #tryton
2010-11-24 09:44 -!- GasbaKid(~GasbaKid@41.96.2.174) has joined #tryton
2010-11-24 09:50 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-11-24 10:11 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-11-24 10:28 -!- sharoon(~sharoon@14.99.71.102) has joined #tryton
2010-11-24 10:30 <cedk> sharoon: hi, you wanted to speak to me yesterday?
2010-11-24 10:30 <sharoon> cedk: yes
2010-11-24 10:31 <sharoon> needed advice on how the remaining part of the email module needs completing
2010-11-24 10:32 <sharoon> before that I have one question about the template engine
2010-11-24 10:32 <sharoon> we usually use self in tryton for getting the variables
2010-11-24 10:34 <sharoon> in an evaluation
2010-11-24 10:34 <cedk> sharoon: not when evaluating domains, states
2010-11-24 10:34 <sharoon> cedk: in genshi self is reserved
2010-11-24 10:34 <sharoon> cedk: how do we do it? can we change the convention here?
2010-11-24 10:35 <cedk> sharoon: keep this in mind and process step by step
2010-11-24 10:35 <sharoon> cedk: fine
2010-11-24 10:42 <cedk> sharoon: otherwise for MDA
2010-11-24 10:42 <cedk> I think we just need a procmail like script
2010-11-24 10:42 <cedk> this will allow to interface with email server like postfix or sendmail
2010-11-24 10:42 <cedk> and also with simple fetch script like fetchmail
2010-11-24 10:43 <cedk> so the script just take an email as input and put it in the Tryton database
2010-11-24 10:44 <cedk> it will just require the database name as parameter
2010-11-24 10:50 <sharoon> cedk: sorry was out
2010-11-24 10:51 <sharoon> cedk: so probably the script needs to be written as a python script which could be run using the linux scheduler (cron)
2010-11-24 10:52 <cedk> sharoon: not necessayr from cron
2010-11-24 10:53 <sharoon> cedk: ok... but from yesterdays discussion i feel many prefer to have the email settings also as configurable within a tryton object for easy management
2010-11-24 10:53 <sharoon> cedk: what do you suggest?
2010-11-24 10:58 <cedk> sharoon: bad idea
2010-11-24 10:59 <sharoon> cedk: i thought you would say that ;)
2010-11-24 10:59 <cedk> sharoon: don't try to put everything in Tryton
2010-11-24 10:59 <cedk> sharoon: no, I was always against the design of pulling emails
2010-11-24 11:00 <sharoon> cedk: have you seen that most of the support systems (tciket systems) which "eat" emails have this eature
2010-11-24 11:00 <sharoon> s/eature/feature
2010-11-24 11:00 <cedk> sharoon: for me, the good design is to use a MTA and plug a Tryton MDA
2010-11-24 11:00 <cedk> sharoon: it is not a ticket system
2010-11-24 11:01 <sharoon> cedk: thats ok, but can you suggest a good design for the MTA/MDA plugin - totally no idea how it should be done
2010-11-24 11:02 <sharoon> cedk: also what do you think of using the smtp client configured in trytond.conf for sending emails?
2010-11-24 11:03 <cedk> sharoon: this is good
2010-11-24 11:03 <sharoon> cedk: but can you also suggest how to tag emails that need to be sent
2010-11-24 11:04 <sharoon> do you want to configure that using a singleton and choosing the mailboxes that should be treated as an outbox or should the mails have a boolean in them?
2010-11-24 11:05 <cedk> sharoon: just send it
2010-11-24 11:05 <ecarreras> Hi cedk and sharoon, sorry for the intrusion. If you want a fetchmail like script, there is getmail4 (is written entirely in Python)
2010-11-24 11:05 <cedk> sharoon: don't store it
2010-11-24 11:06 <sharoon> ecarreras: welcome to the discussion - not an intrusion at all
2010-11-24 11:06 <sharoon> cedk: so you dont want a behaviour like a mailbox? a queue?
2010-11-24 11:06 <sharoon> cedk: it will be badly needed if we do mass mailing
2010-11-24 11:06 <cedk> sharoon: i don't see the usefulness
2010-11-24 11:07 <sharoon> cedk: for example an email to all partners on monthend with the balance statement
2010-11-24 11:07 <cedk> sharoon: why?
2010-11-24 11:09 <sharoon> cedk: do you think it is relevant and important for mass mailing?
2010-11-24 11:10 <cedk> sharoon: no, it is the job of the smtp server
2010-11-24 11:11 <sharoon> cedk: which means the system will be in wait mode for a specific user for minutes, unless we write the operation on a different thread?
2010-11-24 11:11 <yangoon> sharoon: I have the impression that in the email discussion it is not very clear what finally has to be achieved
2010-11-24 11:12 <yangoon> wiki only speaks from 'The goal is to store emails in Tryton and be able to read it with most email client. '
2010-11-24 11:12 <cedk> sharoon: yes
2010-11-24 11:12 <sharoon> yangoon: I am not clear yet, any further clarity on the same will help
2010-11-24 11:13 <sharoon> cedk: clear on smtp sending now :)
2010-11-24 11:13 <sharoon> ACTION reading http://pyropus.ca/software/getmail/documentation.html#features
2010-11-24 11:14 <cedk> I don't want to write functionnality that exist somewhere else
2010-11-24 11:14 <cedk> so a queue to send email already exists in postfix/sendmail/exim per example
2010-11-24 11:19 <cedk> sharoon: and if you generate a lot of email like in your example, the bottleneck will be the generation of the email not the sending
2010-11-24 11:20 <sharoon> cedk: i should trust your experience in this, but i doubt it what happens when the server is different from where tryton resides, for example google apps
2010-11-24 11:23 <sharoon> cedk: so email_tempalte will have an additional method to send along with render and save
2010-11-24 11:42 -!- vladimir(~vladimir@bband-dyn132.95-103-91.t-com.sk) has joined #tryton
2010-11-24 11:45 <cedk> sharoon: so you will just need to put a local smtp server to make the cache
2010-11-24 11:45 <cedk> sharoon: don't reinvent the wheels
2010-11-24 11:46 <sharoon> cedk: i am not a system admin, so to be frank not familiar with these, but happy to learn
2010-11-24 11:50 -!- vincentvdl(~vincent@62.58.29.41) has joined #tryton
2010-11-24 11:52 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2010-11-24 12:41 -!- vladimir(~vladimir@bband-dyn132.95-103-91.t-com.sk) has joined #tryton
2010-11-24 13:51 -!- vladimir_(~vladimir@bband-dyn132.95-103-91.t-com.sk) has joined #tryton
2010-11-24 13:55 -!- enlightx(~enlightx@217.202.145.11) has joined #tryton
2010-11-24 14:01 <sharoon> cedk: is there any doc on how tryton could be accessed as a module since 1.8?
2010-11-24 14:04 <cedk> sharoon: I don't think
2010-11-24 14:04 <cedk> sharoon: the wiki page should be updated
2010-11-24 14:04 <sharoon> cedk: i can update the page, but i think the only changes would be the change of location of cache and the transaction
2010-11-24 14:05 <sharoon> cedk: should it be the same page ? or another wiki entry?
2010-11-24 14:05 <cedk> sharoon: it should be like http://code.google.com/p/tryton/wiki/RemoteCalls
2010-11-24 14:20 <sharoon> cedk:
2010-11-24 14:20 <sharoon> http://code.google.com/p/tryton/wiki/HowToUseTrytondAsAModule
2010-11-24 14:21 <sharoon> cedk: can you confirm if the example needs to use the set_user API or just use the way it is now?
2010-11-24 14:22 <cedk> sharoon: set_user is to change the current user
2010-11-24 14:23 <sharoon> cedk: so what i have written now is the best practice
2010-11-24 14:26 <cedk> sharoon: I think
2010-11-24 14:27 -!- enlightx_(~enlightx@217.202.101.214) has joined #tryton
2010-11-24 14:37 -!- Red15(~red15@unaffiliated/red15) has left #tryton
2010-11-24 14:56 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-11-24 15:09 -!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton
2010-11-24 15:11 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-11-24 15:52 -!- vincentvdl(~vincent@62.58.29.41) has left #tryton
2010-11-24 15:54 -!- vincentvdl(~vincent@62.58.29.41) has joined #tryton
2010-11-24 16:20 -!- trifon(~trifon@p4FFB866E.dip0.t-ipconnect.de) has joined #tryton
2010-11-24 16:24 -!- trifon(~trifon@p4FFB866E.dip0.t-ipconnect.de) has joined #tryton
2010-11-24 16:24 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2010-11-24 16:35 -!- zodman(~andres-va@200.67.176.253) has joined #tryton
2010-11-24 16:36 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton
2010-11-24 16:36 -!- GasbaKid(~GasbaKid@41.96.2.174) has joined #tryton
2010-11-24 17:11 -!- JoePass(~gasbakid@41.96.2.174) has joined #tryton
2010-11-24 17:20 -!- vincentvdl(~vincent@62.58.29.41) has left #tryton
2010-11-24 17:29 -!- vincentvdl(~vincent@62.58.29.41) has joined #tryton
2010-11-24 18:10 -!- mr_amit(~amit@210.212.163.42) has joined #tryton
2010-11-24 18:28 -!- enlightx(~enlightx@dynamic-adsl-84-223-75-216.clienti.tiscali.it) has joined #tryton
2010-11-24 18:39 -!- vincentvdl(~vincent@62.58.29.41) has left #tryton
2010-11-24 19:05 -!- mr_amit(~amit@210.212.163.42) has joined #tryton
2010-11-24 19:07 -!- marcela(~marcela@186.82.16.19) has joined #tryton
2010-11-24 19:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-11-24 19:08 <marcela> hi I need help
2010-11-24 19:08 <marcela> with tryton stock modules
2010-11-24 19:10 <marcela> hi, Somebody here...
2010-11-24 19:10 <cedk> marcela: yes but ask question first
2010-11-24 19:11 <marcela> Do you help me with any question about tryton stock module?
2010-11-24 19:11 <cedk> marcela: ask question we will see
2010-11-24 19:17 <marcela> I am trying to generate a internal shipment, I can do draft shipment, but when I try assigned, tryton client say me It is not possible assign
2010-11-24 19:18 <cedk> marcela: because you don't have enough product in the origin location
2010-11-24 19:19 <marcela> Ok, I see,
2010-11-24 19:22 <marcela> But It is new location (I created PRODUCTION location), of course inventory is cero, I have been trying create inventories for this location, with inventory
2010-11-24 19:23 <marcela> but PRODUCTION do not appear
2010-11-24 19:24 <marcela> but PRODUCTION do not appear in inventory tree
2010-11-24 19:26 <cedk> marcela: production location is not yet really used
2010-11-24 19:27 <cedk> marcela: so it is normal to not be able to make inventories on it
2010-11-24 19:27 <cedk> marcela: and it should not be used for internal move
2010-11-24 19:28 <marcela> Ok , thank you very much,
2010-11-24 19:28 <marcela> cedk: Do you tryton developer?
2010-11-24 19:29 <cedk> marcela: yes
2010-11-24 19:29 -!- chrue(~chrue@dyndsl-091-096-000-153.ewe-ip-backbone.de) has joined #tryton
2010-11-24 19:30 <cedk> marcela: the production location type is for the futur production module
2010-11-24 19:31 <marcela> Ah I see, I was imagine that
2010-11-24 19:35 <marcela> cedk: So, too I am trying create staff(employees) module with name_employee, salary, department (area or category), internal_code, init_contract,
2010-11-24 19:38 <marcela> and settlement timework, print pay stub, and register employees event, in and out from company
2010-11-24 19:39 <marcela> and settlement timework, print pay stub, and register employees event, in and out hour from company and relation cost from staff
2010-11-24 20:11 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton
2010-11-24 20:42 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-11-24 21:52 -!- mr_amit(~amit@210.212.163.42) has joined #tryton
2010-11-24 22:20 -!- sdistefano2(~sdistefan@125.24.41.154.adsl.dynamic.totbb.net) has joined #tryton
2010-11-24 22:20 <sdistefano2> Hi ; I'm not getting any thousonds separator at all on my invoices
2010-11-24 22:20 <sdistefano2> any ideas?
2010-11-24 22:21 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2010-11-24 22:24 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2010-11-24 22:31 <cedk> sdistefano2: Tryton uses the language separator of the party
2010-11-24 23:06 -!- mr_amit(~amit@210.212.163.42) has joined #tryton
2010-11-24 23:32 -!- pepeu(~manuel@201.152.56.234) has joined #tryton

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