IRC logs of #tryton for Monday, 2014-01-27

chat.freenode.net #tryton log beginning Mon Jan 27 00:00:01 CET 2014
2014-01-27 09:46 <rmu> just for the record and for smarro: changeset http://hg.tryton.org/tryton/rev/bbc445e7e072 introduces the "maximized window cannot be minimized"-behaviour
2014-01-27 14:20 <Dominik> Anyone ever used the getmail module? What do I have to set for Process Parameter -> Model? getmail.server is wrong.
2014-01-27 15:27 <pokoli> Dominik: which getmail module are you talking about? can you post the url?
2014-01-27 15:30 <Dominik> pokoli: The zikzakmedia getmail module from https://bitbucket.org/zikzakmedia/trytond-getmail
2014-01-27 15:30 <Dominik> I would like to import mails into an inbox. But the mailbox provided by electronic_mail doesn't provide the getmail method...
2014-01-27 15:34 <cedk> Dominik: it doesn't look very interresting
2014-01-27 15:35 <Dominik> cedk: My problem is that if I can't import mail from IMAP to Tryton I can't use Tryton for my project.
2014-01-27 15:35 <Dominik> cedk: Would it be better to use fetchmail/procmail on my local server?
2014-01-27 15:35 <pokoli> Dominik: have a look at https://bitbucket.org/zikzakmedia/trytond-getmail/src/9a029139a79231cd021aa45fe9e0c57cd5a9d746/getmail.py?at=default#cl-185
2014-01-27 15:36 <pokoli> Dominik: the Model is used to refer which function is used to import the mails.
2014-01-27 15:36 <pokoli> Dominik: so the model you enter there must have a getmail classmethod which imports the emails
2014-01-27 15:36 <Dominik> pokoli: I found that. But no standard model in Tryton seems to provide that function.
2014-01-27 15:37 <Dominik> pokoli: zikzak provides a project_helpdesk module with that function I am installing it right now.
2014-01-27 15:37 <Dominik> just for testing
2014-01-27 15:38 <pokoli> Dominik: yeah, so if you want to import another model, you have to create a the getmail function in the model like the project_helpdesk one
2014-01-27 15:39 <Dominik> pokoli: ok. thanks. I have no experience with python. But I am starting. So it could be my first project to add that to a mailbox.
2014-01-27 15:40 <pokoli> Dominik: in what model you have to import?
2014-01-27 15:40 <Dominik> pokoli: electronic.mail.mailbox
2014-01-27 15:42 <Dominik> Ok. I just got my first e-mail imported into a project.helpdesk object from IMAP.
2014-01-27 15:42 <Dominik> Would someone be interested in a writeup of the steps it took me? I searched for this about 2-3 days...
2014-01-27 15:43 <Dominik> Could spare some others the time...
2014-01-27 15:44 <cedk> Dominik: Tryton is not an email server
2014-01-27 15:45 <pokoli> Dominik: you have to wrote your own function for electronic.mail
2014-01-27 15:45 <Dominik> cedk: I know. But I need to archive emails together with projects. And therefore I need to import them.
2014-01-27 15:45 <cedk> Dominik: store them in a mailbox somewhere
2014-01-27 15:46 <Dominik> cedk: They need to be tied to projects and customers. And it should be a single coherent system.
2014-01-27 15:46 <cedk> Dominik: storing them in Tryton has no usage
2014-01-27 15:47 <Dominik> cedk: I need a single tool for CRM and project management. And I need to have all emails together with that projects. That is a "must" requirement.
2014-01-27 15:47 <cedk> Dominik: "have all emails together with that projects" has no meaning
2014-01-27 15:48 <sharoonthomas> Dominik: of course i agree with the need and that is why electronic_mail exists :)
2014-01-27 15:48 <sharoonthomas> Dominik: https://github.com/openlabs/electronic-mail/blob/master/electronic_mail.py#L261
2014-01-27 15:49 <sharoonthomas> Dominik: there are several examples on how to fetch emails from an inbox using python and most of the client libraries return an email object to you... if you get an email object you can call the function create-from_email and pass the email object there and an email is created within tryton electronic_mail module
2014-01-27 15:50 <Dominik> sharoonthomas: Hi! thanks for that info. I will have a look at it.
2014-01-27 15:51 -!- werebutt(~buttbutt@46.165.251.66) has left #tryton
2014-01-27 15:51 <Dominik> cedk: The point is to have a single place for all project related resources.
2014-01-27 15:51 <cedk> Dominik: please define "single place" ?
2014-01-27 15:52 <Dominik> cedk: one tool, on object in that tool. In my example: a project in tryton should not only hold all project info but also (at least have a link to) all the client communication.
2014-01-27 15:52 <cedk> Dominik: Tryton is not a email client, so what's the point to store email if you can not read them?
2014-01-27 15:53 <Dominik> cedk: I use sharoon's module (electronic.mail) for that. Right now I can read mails into helpdesk tickets. That's a start
2014-01-27 15:53 <cedk> so without an IMAP (or other MUA) protocol, storing email in Tryton is useless
2014-01-27 15:54 <cedk> Dominik: how can you read an email with a email client ?
2014-01-27 15:54 <pokoli> cedk: but you can read them if you transform them to tryton objects, so basically what Dominik needs is a mechanism to transform emails into tryton objects
2014-01-27 15:54 <Dominik> pokoli: thanks. That's it.
2014-01-27 15:55 <Dominik> cedk: sorry if you missunderstood me. I just started with Tryton and it is so much to learn...
2014-01-27 15:57 <cedk> pokoli: you can not transform or you don't read the original email
2014-01-27 15:58 <pokoli> cedk: don't understand
2014-01-27 15:58 <cedk> Dominik, pokoli: all I say is that such solution is very poor compared to a archiving/sorting solution
2014-01-27 15:58 <cedk> pokoli: you can see email in Tryton client
2014-01-27 15:58 <cedk> pokoli: Tryton client doesn't support MIME
2014-01-27 15:58 <pokoli> cedk: agree, but a most of the time this solution is good enough
2014-01-27 15:59 <cedk> pokoli: at least I will not accept it for me
2014-01-27 15:59 <cedk> pokoli: and I think users deserve better
2014-01-27 16:00 <Dominik> cedk: Can you tell me how would you solve the problem to link a project to all relevant emails?
2014-01-27 16:01 <cedk> pokoli: more over, better solution exist (propritary) like Gmail
2014-01-27 16:01 <cedk> Dominik: it will depend of the constraints, the architecture of the business etc.
2014-01-27 16:02 <cedk> shared mailbox is the solution
2014-01-27 16:04 <Dominik> I have to go. Thaks for the discussion! It was very helpful!
2014-01-27 16:05 <cedk> and for sorting email: http://lamsonproject.org/
2014-01-27 16:25 <zodman> amazing proyect the lamson :)
2014-01-27 16:25 -!- strebitz(~sebastian@91.183.59.105) has left #tryton
2014-01-27 16:37 <hellhound> hey guys, I'm new to tryton and was wondering if there's a way to assign permissions per object
2014-01-27 16:39 <cedk> hellhound: yes: ir.model.access
2014-01-27 16:40 <hellhound> cedk: ok, so that's the __other__ way you were talking for data separation
2014-01-27 17:30 <maria> hiii!
2014-01-27 17:47 -!- hellhound(~hellhound@unaffiliated/hellhound) has left #tryton
2014-01-27 17:56 <pekka2> I need to use ac100
2014-01-27 17:56 <pekka2> ups
2014-01-27 17:56 <pekka2> wrong channel :)
2014-01-27 18:06 <maria> hi, could i print a report sale with nereid?
2014-01-27 18:06 <maria> print/download
2014-01-27 19:34 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton

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