IRC logs of #tryton for Tuesday, 2016-11-15

chat.freenode.net #tryton log beginning Tue Nov 15 00:00:01 CET 2016
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:09
-!- JosDzG(~Thunderbi@fixed-188-72-187-188-72-36.iusacell.net) has joined #tryton02:30
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton03:28
-!- csotelo(~csotelo@2001:1388:49c4:db64:d771:f2ae:8609:3379) has joined #tryton04:04
-!- kstenger1(~karla@r186-48-39-143.dialup.adsl.anteldata.net.uy) has joined #tryton04:42
-!- thaneor1(~ldlc6@r179-24-118-108.dialup.adsl.anteldata.net.uy) has joined #tryton05:50
-!- thaneor(~ldlc6@r179-24-118-108.dialup.adsl.anteldata.net.uy) has joined #tryton07:05
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton07:40
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:10
-!- rpit(~rpit@2a02:908:e672:1520:56ee:75ff:fe0d:d3c7) has joined #tryton09:01
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:01
-!- flachtassekasse(~flachtass@p5DD19277.dip0.t-ipconnect.de) has joined #tryton09:20
-!- afibanez(~afibanez@170.red-80-28-119.adsl.static.ccgg.telefonica.net) has joined #tryton09:31
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:37
-!- udono(~udono@tmo-111-62.customers.d1-online.com) has joined #tryton09:57
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton09:59
-!- embar(~embar@2001:4048:105:112:eef4:bbff:fe2e:4c8c) has joined #tryton10:24
embarI am new in Tryton and GNU Health. I need to import data from big CSV files, that have common only one field (like "ID") among files, some ID may overlap between files, some not. Can you please provide redirect me with more information about importing CSV into Tryton (and GNU Health)?10:25
embarI a bit tried with simple case, but without succes, see https://bugs.tryton.org/issue603410:27
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton10:44
cedkembar: importing data is a complex task, when we need to do it at B2CK, we often write a proteus script10:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton11:15
embarI don't have Python and/or proteus skills... Can you explain, in what cases import from CSV via Tryton GUI works (I mean "Import Data" description in 15 page of https://media.readthedocs.org/pdf/tryton/3.8.6/tryton.pdf )?11:16
cedkembar: it works for simple case11:23
-!- smarro(~sebastian@181.16.7.104) has joined #tryton11:38
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton11:53
-!- mariomop(~quassel@181.90.125.97) has joined #tryton12:02
-!- smarro(~sebastian@181.16.7.104) has joined #tryton12:39
-!- csotelo(~csotelo@2001:1388:49c4:db64:d771:f2ae:8609:3379) has joined #tryton12:42
csoteloHello coders12:43
csoteloI am looking just a suggest12:43
csotelowhat do you recoemmeds on a implmentation worj. I mean You will implement tryton on a business with an initial database. What is better, a module with the initial products or working on implementing it using tryton asa normal user, or a proteus job?12:45
cedkcsotelo: it depends, it is case by case12:47
csoteloI was thinking the same... and it was the answer I was looking for. Juts for ben sure.12:47
csoteloSince I guess a empty database with initial info, a module with content could be better12:48
csotelobut if I will migrate data and use it, I guess a module could be a wrong idea12:48
csotelosince it will be updated more than once12:49
csoteloI just lookiong something like you write for been suire on my idea and no do something wrong12:49
csotelothanks cedk12:49
cedkcsotelo: indeed using module for configuration is a bad idea12:50
csotelothanks cedk12:50
cedkcsotelo: you should choose between manual configuration or configuration script12:50
cedkcsotelo: usually it is the size of the data (and availability) that define the choice12:50
csoteloconfiguration script? I have never though on that. Could you give me and example? please12:51
csoteloWhat I have done until now is tryton make a shell script for initial install with modules required12:53
csotelolike a deployment script12:53
csotelousing sheel script12:53
csoteloshell*12:53
cedkcsotelo: you can look at any scenario test13:00
csoteloperfect!!!13:01
csotelothanksa  lot cedk13:01
pokolicsotelo: I usually have a script that creates the initial database, and sets some kind of default values for using it.13:07
csotelomy case is that I have a a previous tryton job too disordered, wityh a lot of modules installed, too too fat. And localization was done directly to database. I was tryton yo clean no needed modules but is ghard.13:10
csoteloThe issue is that I must have a test server and a production13:10
csotelobut a production server with too much information, to many modules no needed13:11
csoteloI was thinking on a way on starting from and empty install, now, relevant data as customers and products and accounting chart, how to manage13:11
csoteloI was thinking on code a module for account chart and customers and product something like a script13:12
csoteloor just migrate using proteus for exmaple13:12
csoteloor something like that13:12
pokolicsotelo: you can create a script which exports old database data as csv and imports to new datbase (removing not existing fields) using postgresql COPY command (which is quite fast)13:23
csotelocool!13:24
csotelothanks pokoli13:24
csoteloBY the way13:28
csotelono. no otyher topic. I have noticed on some module the use of "class Acount():" and other "class Account:" I mean, what is the diference on using "()", it is an specific reason on tryton?13:29
cedkcsotelo: because some inherit from Model* and are base classes and others are just Mixin that will be applied if the module is activated13:35
csoteloI see13:36
csotelothanks a lot of you13:56
csotelotiome to go job13:56
csotelohave a nice day13:56
-!- flachtassekasse(~flachtass@p5DD19277.dip0.t-ipconnect.de) has joined #tryton14:00
-!- kstenger(~karla@r186-48-39-143.dialup.adsl.anteldata.net.uy) has joined #tryton15:41
-!- csotelo_at_work(~csotelo@179.43.97.40) has joined #tryton16:35
-!- kstenger(~karla@r186-55-67-238.dialup.adsl.anteldata.net.uy) has joined #tryton16:44
-!- udono(~udono@tmo-111-62.customers.d1-online.com) has joined #tryton17:40
-!- thaneor1(~ldlc6@r179-25-67-158.dialup.adsl.anteldata.net.uy) has joined #tryton17:51
-!- nicoe(~nicoe@2a02:a03f:30b2:3c00:ee55:f9ff:fe7b:f7ac) has joined #tryton18:22
-!- embar(~embar@2001:4048:105:112:eef4:bbff:fe2e:4c8c) has joined #tryton18:35
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:12
-!- smarro(~sebastian@181.16.7.104) has joined #tryton19:25

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!