IRC logs of #tryton for Saturday, 2015-12-05 #tryton log beginning Sat Dec 5 00:00:01 CET 2015
2015-12-05 00:02 -!- smarro(~sebastian@ has joined #tryton
2015-12-05 01:02 -!- leio(~leio@gentoo/developer/leio) has joined #tryton
2015-12-05 01:09 -!- csotelo_(~csotelo@ has joined #tryton
2015-12-05 01:16 -!- cedk( has joined #tryton
2015-12-05 01:16 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-12-05 02:30 -!- gyKa(~Gytis@ has joined #tryton
2015-12-05 03:27 -!- csotelo_(~csotelo@ has joined #tryton
2015-12-05 04:06 -!- perilla(~perilla@ has joined #tryton
2015-12-05 04:18 -!- csotelo_(~csotelo@ has joined #tryton
2015-12-05 04:20 -!- csotelo_(~csotelo@ has joined #tryton
2015-12-05 06:02 -!- yangoon1( has joined #tryton
2015-12-05 07:40 -!- frispete_( has joined #tryton
2015-12-05 09:28 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-12-05 09:35 -!- Telesight( has joined #tryton
2015-12-05 10:15 -!- aroncero(~aroncero@ has joined #tryton
2015-12-05 11:20 <csotelo_> good morning dear coders
2015-12-05 11:21 <csotelo_> is there a credit card payment gateway?
2015-12-05 11:41 -!- gyKa(~Gytis@ has joined #tryton
2015-12-05 12:19 <cedk> csotelo_: what do you mean?
2015-12-05 12:21 <csotelo_> cedk, sorry was a wrong question. I was looking for a module for storage creditcard payments. The question was wrong written. I have one similar, I am reading that ( payments types ) since I am looking for a way on manage credit or debit card payments information, where I just to storage the transaction number, no gateway needed
2015-12-05 12:22 <cedk> csotelo_: what information do you want to store?
2015-12-05 12:24 <csotelo_> cedk, I just need the transacction number. For example, when I use a credit or debit card for do a payment,the seller use a pos ( like visa pos ) and the transaction is stored instead a cash money
2015-12-05 12:24 <cedk> csotelo_: so just add a field
2015-12-05 12:24 <csotelo_> then I, I have found payment type module, I gues I will create something like that adding a field
2015-12-05 12:25 <csotelo_> yes!
2015-12-05 12:25 <cedk> csotelo_: for accouting, I suggest you to use the statements
2015-12-05 12:26 <cedk> csotelo_: the account_payment module is about the company posting order to pay
2015-12-05 12:26 <csotelo_> I wont take the acount module until been sure how accountatnts work on it, I was going on a worng way some days ago, and later, I have noticed that tryton do all the accounting job
2015-12-05 12:27 <cedk> csotelo_: you have to write at least a minimal accounting if you want invoice to be marked as paid
2015-12-05 12:27 <csotelo_> cedk, I have found it
2015-12-05 12:28 <cedk> csotelo_: for me, the goal of this module is not clear
2015-12-05 12:29 <csotelo_> I am working on a localizatoin project for a company using tryton and health, although I am a old python coder, I am completly new on tryton ( I have used openerp some yars ago ) I am planing on do the localizatoin for peru when I have goten enough knowledge ( two month from now )
2015-12-05 12:29 <csotelo_> cedk, I have checked it, is nice and have all enough what I need
2015-12-05 12:30 <csotelo_> I am planing on extending it ... well just adding a new file :)
2015-12-05 12:30 <csotelo_> field*
2015-12-05 12:30 <csotelo_> and is enough for me at this moment
2015-12-05 12:33 <csotelo_> one dummy question: on tryton.cfg, the version field, is it about the trytond version or module development version?
2015-12-05 12:47 <cedk> csotelo_: it is the module version but we have the convention in standard module to use the same two first number as the server
2015-12-05 12:47 <cedk> csotelo_: the use that to determine de deps
2015-12-05 12:47 <cedk> but you can use another one if you prefer like GNUHealth does
2015-12-05 12:53 -!- Telesight( has joined #tryton
2015-12-05 12:56 <csotelo_> Thanks a lot cedk
2015-12-05 13:18 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-12-05 13:27 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-12-05 13:48 -!- Omk(5b4147d9@gateway/web/cgi-irc/ has joined #tryton
2015-12-05 13:49 <Omk_> Hi guys,
2015-12-05 13:49 <Omk_> I f*ed up my tryton 3.0 installation when trying to install new package with pip. It upgraded the whole thing to 3.8
2015-12-05 13:50 <Omk_> So I downgraded it by doing "sudo pip install trytond==3.0.0"
2015-12-05 13:51 <Omk_> did I completely break my installation? now when I try to start tryrond I'm getting:
2015-12-05 13:52 <Omk_> Traceback (most recent call last):
2015-12-05 13:52 <Omk_> File "/usr/local/bin/trytond", line 13, in <module>
2015-12-05 13:52 <Omk_> import trytond
2015-12-05 13:52 <Omk_> ImportError: No module named trytond
2015-12-05 13:52 <Omk_> Sorry for such beginner questions - I've been mainly planning and using it, not installing or upgrading/downgrading it.
2015-12-05 13:53 -!- kstenger( has joined #tryton
2015-12-05 13:55 -!- rnx(~r@unaffiliated/rnx) has joined #tryton
2015-12-05 14:08 <Omk_> Ok I guess I better post this to the mailing list.
2015-12-05 14:10 <cedk> Omk_: pip can have very strange behaviour
2015-12-05 14:10 <cedk> Omk_: it is better to use pip inside a virtualenv like that you can erase and re-do an installation
2015-12-05 14:10 <Omk_> yes! damn, it is strange - without asking for any confirmation it just upgrades the whole installation..
2015-12-05 14:11 <Omk_> yes... learning from this..
2015-12-05 14:11 <Omk_> :-/
2015-12-05 14:11 <cedk> Omk_: otherwise probably, the best is to uninstall all trytond related packages and re-do an clean install
2015-12-05 14:11 <cedk> pip uninstall ...
2015-12-05 14:11 <Omk_> will it mess up my DB?
2015-12-05 14:12 <cedk> Omk_: no as far you did not update the database with the new source code
2015-12-05 14:12 <Omk_> and how much of the configs are in the db and how much are stored in files?
2015-12-05 14:12 <Omk_> hmm pip uninstall means all our customizations will be gone. I guess they are gone already.
2015-12-05 14:12 <cedk> Omk_: nothing is stored in files except the attachments
2015-12-05 14:12 <Omk_> <3
2015-12-05 14:13 <cedk> Omk_: what do you name customization?
2015-12-05 14:14 <Omk_> my developer did some minor changes, such as added due date field to the sale_invoice. Now he is out of reach afer he left.
2015-12-05 14:14 <cedk> Omk_: it depends how it did that
2015-12-05 14:14 <Omk_> hmm I guess recover from backup is best option
2015-12-05 14:14 <Omk_> cedk: I guess not in very professional way.
2015-12-05 14:15 <cedk> if he modied directly the files then it is gone, if he uses the recommended way by writting a custom module then you just have to re-install this module
2015-12-05 14:17 <Omk_> I'll have to look around. I guess he direclty forged the code.
2015-12-05 14:18 <Omk_> cedk: Luckily I have a backup, of the files, so can do a recovery. Though just found the last backup is 3 months back due to error in script. But since then there haven't been changes
2015-12-05 14:20 <cedk> Omk_: I will suggest you to make a database backup before any experiment of restoring your source code
2015-12-05 14:21 <Omk_> Thanks.
2015-12-05 14:21 <Omk_> I think I can get it done.
2015-12-05 14:22 <cedk> Omk_: and once it is done, I suggest to move the customization into a custom module to avoid such issue otherwise you will never be able to update or upgrade tryton
2015-12-05 14:53 -!- Omk_(5b4147d9@gateway/web/cgi-irc/ has left #tryton
2015-12-05 14:55 -!- smarro(~sebastian@ has joined #tryton
2015-12-05 15:00 -!- hectorh30(~hectorh30@ has joined #tryton
2015-12-05 15:56 -!- niki_(~niki@ has joined #tryton
2015-12-05 16:24 -!- csotelo_(~csotelo@ has joined #tryton
2015-12-05 17:02 <csotelo_> dear coder, I am trytin to check some pos modules
2015-12-05 17:03 <csotelo_> I have found some one on, however this is not working, since its dependence sale_payment doesnt exists anymore
2015-12-05 17:19 <cedk> csotelo_: I have started a module but not yet ready:
2015-12-05 17:21 <csotelo_> cedk, I am sure it could be helpfull and if I could give some support or help on the code, could be great!
2015-12-05 17:34 <csotelo_> cedk, probably I am wrong on what I will to write: abou the url, I have noticed that is a reviewer, and I could download the code as a targz, my quetsion is where is it hosted, github?
2015-12-05 17:40 <cedk> csotelo_: nowhere
2015-12-05 17:41 <csotelo_> then, the onlu way to check it is downloading the code and if there are contrinuttion, they must be done using paches?
2015-12-05 17:42 <cedk> csotelo_: the best way to contribute is by commenting
2015-12-05 17:42 <csotelo_> cedk, that sound better for me, I am a coder, but my experience on tryton is lesses than a junior
2015-12-05 17:43 <csotelo_> thant, that sound perfect for me
2015-12-05 17:43 <csotelo_> then, that sounds perfect for me*
2015-12-05 17:43 <cedk> csotelo_: otherwise of course you can send me a patch but it is still WIP so many thing can still change
2015-12-05 17:44 <csotelo_> sure, I will test it today and tomorrow
2015-12-05 17:49 <cedk> csotelo_: the worklow is not yet complete
2015-12-05 17:50 <csotelo_> is there a blueprint for it?
2015-12-05 17:52 <cedk> csotelo_: no an email on tryton-dev
2015-12-05 17:57 <csotelo_> ok... enough information for look for it
2015-12-05 18:27 -!- kstenger( has joined #tryton
2015-12-05 18:33 -!- smarro(~sebastian@ has joined #tryton
2015-12-05 18:57 -!- apostatize(~visavis@unaffiliated/apostatize) has joined #tryton
2015-12-05 23:25 -!- hectorh30(~hectorh30@ has joined #tryton

Generated by 2.17.3 by Marius Gedminas - find it at!