IRC logs of #tryton for Tuesday, 2011-08-23

chat.freenode.net #tryton log beginning Tue Aug 23 00:00:02 CEST 2011
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton00:03
-!- roberto(~roberto@93.88.114.205) has joined #tryton00:22
meanmiciocedk: ok. Once I'm done with the translation, I will investigate also.00:29
rhubnerHi cedk!00:44
rhubnercedk: Happy birthday :)00:45
rhubnercedk: (If it is your birthday yet) Here is 19:5000:50
-!- elbenfreund(~elbenfreu@p54B92A31.dip.t-dialin.net) has joined #tryton01:05
-!- rhubner(~rhubner@189.58.56.198.dynamic.adsl.gvt.net.br) has left #tryton01:52
-!- zodman_(~zodman@fixed-203-7-69.iusacell.net) has joined #tryton02:19
-!- cheche(cheche@46.25.80.67) has joined #tryton02:27
-!- sebamarro(~sebastian@190.51.119.29) has joined #tryton02:28
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton04:13
-!- ikks_(~ikks@201.245.235.153) has joined #tryton04:41
-!- gremly(~gremly@200.106.218.64) has joined #tryton05:05
-!- helmor(~helmo@46.115.25.52) has joined #tryton07:18
-!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton07:20
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton07:40
-!- ndn_pit(~ndn_pit@95.56.124.16) has joined #tryton08:05
ndn_pithello08:06
ndn_pitWhat other widgets are used in form view?08:07
ndn_pitI know only "selection"08:08
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton08:11
ndn_pitis it really tryton's irc channel where I can ask about tryton?08:13
plantianndn_pit:  yes08:20
plantianbetter time is in hour or two though because most developers are in European time zone08:20
-!- ndn_pit(~ndn_pit@95.56.124.16) has left #tryton08:21
-!- ndn_pit(~ndn_pit@95.56.124.16) has joined #tryton08:46
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton08:57
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton09:00
-!- nicoe(~nicoe@11.193-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton09:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:06
ndn_pitgood morning )09:19
ndn_pitcedk: about selection field: the problem was, because of - selection value must be string type09:40
cedkndn_pit: ho yes09:42
ndn_pitcedk: I wanted create "year" field, and I did it like: year = fields.Integer('Year'), but saved value displays like: 2 011... how can I rid of space?09:45
cedkndn_pit: change the grouping of your language09:50
ndn_pitcedk: in tryton? how can i do that?09:52
cedkndn_pit: Admin>Localization>Languages09:53
ndn_pitbut in other Integer fields i want thousands separator...09:59
cedkndn_pit: so you can't10:00
cedkndn_pit: or use a Char fields with validation10:00
ndn_pitok10:00
ndn_pitcan i set mask on field?10:01
cedkndn_pit: no10:02
ndn_pitwhat widgets can i use in form view except "selection"?10:03
ndn_pitcan you list all of them?10:03
cedkndn_pit: look at trytond/ir/ui/form.rnc10:05
-!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton10:06
-!- elbenfreund(~elbenfreu@p54B926CF.dip.t-dialin.net) has joined #tryton10:40
-!- reichlich(~reichlich@p5793D46B.dip.t-dialin.net) has joined #tryton10:46
-!- elbenfreund(~elbenfreu@p54B926CF.dip.t-dialin.net) has joined #tryton10:49
ndn_pitis there way to use widget like "limit" in advanced search10:52
cedkndn_pit: no10:55
-!- reichlich_(~reichlich@p578E952B.dip.t-dialin.net) has joined #tryton11:13
cedkndn_pit: what are you desiging? Because most of the time when you want just year field it is a bad design11:31
ndn_pitI think so too11:31
ndn_piti wanted to create model for months11:32
cedkndn_pit: what is the purpose?11:33
ndn_pitin our country attendance of employee is monitors by tabel (or stuff record cards - translate)11:36
ndn_pittabel is 30 days in which tabel-man must show attendace of certain employee in current month11:37
cedkndn_pit: did you look at timesheet?11:38
ndn_pitsalary is calculates by tabel11:38
ndn_pitI didn't understand some modules as timesheet too, because there is no user documentation11:39
cedkndn_pit: http://doc.tryton.org/2.0/modules/timesheet/doc/index.html11:40
ndn_pitthanks i will see11:44
ndn_pitcedk: I think its useful for project or porject-plan module, but not for salary (account module)11:52
cedkndn_pit: so I'm not sure to understand what kind of information you want to store?11:54
ndn_pittabel stores information about attendance of employee like:11:58
ndn_pit01.01.2011, Monday, were present11:58
ndn_pit02.01.2011, Tuesday, were present11:58
ndn_pit03.01.2011, Tuesday, were not present11:59
ndn_pitetc... until 31.01.201111:59
ndn_piti mean it's table11:59
ndn_pitfor monitoring12:00
cedkndn_pit: so you just need a DateTime field12:00
ndn_pittable like this creates every month for every employee12:01
ndn_pitso i wanted create some model for months12:01
cedkndn_pit: why do you want to create a table every month?12:01
ndn_pitfor monitoring... :)12:02
ndn_pit"why do you want" i don't want, i must because of low of our country12:02
cedkndn_pit: that is completly against any database design12:02
ndn_pitrussia is also uses tabels12:03
cedkndn_pit: I never trust anybody who says the law force me to design this way12:03
cedkndn_pit: the law never talks about databases12:03
ndn_pitfor example: some people will ask me why you pay "x" money to "y" employee, i should show him tabel and justify my act12:05
ndn_pitsorry for my English )12:06
cedkndn_pit: yes it is just: SELECT FROM table WHERE employee = x AND date > 'YYYY-MM-DD' and date < 'YYYY-MM-DD'12:06
ndn_pitagree12:07
ndn_pitbut12:07
cedkndn_pit: we are in a SQL world in Tryton12:07
ndn_pitwhat is difference between your way and my?12:07
ndn_pitia just grouped data12:07
cedkndn_pit: because I will not create thousand of tables12:08
cedkndn_pit: and what about if someone ask you about 2 months?12:08
ndn_piti will not create many tables12:09
ndn_piti will create records12:09
cedkndn_pit: also with my design, you can have also the sum for a year per example12:09
cedk< ndn_pit> table like this creates every month for every employee12:09
ndn_pitlisten, wait minute i will explain12:09
ndn_pitthereis tables: months(month, year, emplyees(rel. with employees table)), tabel(employee ,months, days(1..30))12:16
ndn_pitevery months i will create new month(record) in months-table and create 10 records(for example) in employees field, and for every employee i will create 30 days(records) in tabel-table12:16
ndn_pitin tryton it will be: months-model -> employees -> tabels -> days12:16
ndn_pitunderstood?12:17
-!- nicoe(~nicoe@ced.homedns.org) has joined #tryton12:19
ndn_pitif i need report for year i can do it by sql select )12:20
cedkndn_pit: ok but sorry to tell you that I find your design uggly12:21
ndn_pityou didn't tell me that as i remember...12:22
cedkndn_pit: I don't see why you need to create months because months are known for all the time12:22
ndn_pitfor example year passed and you want new tabel (1-30 days), but there 265 days of prev year and it difficult work in 1 big table12:24
ndn_piti mean it will be easy to work in grouped data12:25
cedkndn_pit: don't understand12:26
ndn_pitevery month i must create 30 records for every employee.. how should i do that in your way?12:27
ndn_pitif i create one table (year, month, day, employee, attendace)12:28
cedkndn_pit: creating automatic records doesn't create information12:28
cedkndn_pit: it is not a table like that, I say you must use a table: (date, employee, attendance)12:29
cedkndn_pit: SQL has a type Date12:29
ndn_pitno no... that records will creates one people from every department for his department, but not me, and hr-manager send result to account-manager12:31
cedkndn_pit: so I why do you want to split date into something not workable12:33
ndn_pitok how you plan gather information about attendance of each employee?12:35
ndn_pitin models topology12:35
cedkndn_pit: and you?12:36
-!- saxa(~sasa@189.26.255.43) has joined #tryton12:54
-!- ndn_pit(~ndn_pit@95.56.115.213) has joined #tryton13:01
-!- ndn_pit(~ndn_pit@95.56.115.213) has left #tryton13:04
-!- ndn_pit(~ndn_pit@95.56.115.213) has joined #tryton13:04
ndn_pitcedk: can i set domain condition for fields.Integer?13:45
ndn_pitcedk: or for fields.Date?13:46
cedkndn_pit: not yet13:46
cedkndn_pit: but it is in the plan13:46
-!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton13:46
-!- elbenfreund(~elbenfreu@p54B926CF.dip.t-dialin.net) has joined #tryton14:07
-!- ndn_pit(~ndn_pit@95.56.115.213) has left #tryton14:32
-!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton14:33
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton14:38
-!- smarro(~sebastian@190.51.119.29) has joined #tryton15:02
-!- nicoe(~nicoe@ced.homedns.org) has joined #tryton15:25
-!- helmor(~helmo@p54857F0D.dip.t-dialin.net) has joined #tryton15:34
-!- bvillasanti(~bvillasan@190.105.89.122) has joined #tryton16:00
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton17:09
-!- meanmicio(~lfm@190.195.50.15) has joined #tryton17:17
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton17:21
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton17:21
-!- bvillasanti(~bvillasan@190.105.89.122) has joined #tryton17:39
-!- alimon(alimon@189.154.55.187) has joined #tryton17:52
-!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton17:56
-!- sharoon_(~sharoon@2001:470:5:630:2862:f98b:2d0e:2eea) has joined #tryton17:57
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton18:43
-!- helmor_(~helmo@p54857F0D.dip.t-dialin.net) has joined #tryton19:27
-!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton19:29
-!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton20:42
-!- elbenfreund(~elbenfreu@f055246168.adsl.alicedsl.de) has joined #tryton20:49
-!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton21:07
-!- helmor(~helmo@p54857F0D.dip.t-dialin.net) has joined #tryton21:29
-!- dba(~daniel@178.63.150.30) has joined #tryton21:47
-!- elbenfreund(~elbenfreu@f055246168.adsl.alicedsl.de) has joined #tryton22:36
-!- version2beta(~rob@24.106.58.138) has joined #tryton22:37
version2betacedk: I was moving my blog post on the OpenERP license change to a new domain, and was checking links. I had linked to source code to netsvc.py showing you held copyright for some of the code. Your copyright is no longer there, but the revision note describes why it was removed. http://bazaar.launchpad.net/~openerp/openobject-server/trunk/revision/348522:40
version2betacedk: This is one file, of course. If you don't mind me asking, do you still own copyright to OpenERP code?22:40
version2betacedk: (I assume the revision note is legit.)22:41
cedkversion2beta: on some parts23:03
cedkversion2beta: in the client and some modules23:03
cedkversion2beta: for the server I don't know23:04
version2betacedk: Thank you. I found this post from Olivier as well - http://www.openerp.com/forum/topic26369-30.html#p87266 - and want to make sure my post is accurate, so I'll create an update. I just wanted to make sure that, if what I had posted before had been corrected between you and them, that I am not providing incorrect information.23:05
cedkversion2beta: the main issue for OE, is that their developpers make copy/paste of code without caring about copyright23:05
cedkversion2beta: I asked to Olivier that they do a code auditing before changing their license23:06
cedkversion2beta: he tells me that they did it but it was before the removing of the copyright notice23:07
version2betacedk: I completely understand, and their coding standards have certainly been lax. (Mine generally are too - but I'm the only coder in the company and I am trying to do better.)23:07
cedkversion2beta: and they misses the client part and the modules base_vat, calendar23:07
version2betacedk: (Sorry, I suspect they are trying to do better too.)23:07
version2betacedk: If there is code that you contest, then it seems Olivier's post is not correct?23:08
cedkversion2beta: I also ask them by email to remove from their offer (AGPL+exception) the client and the modules but I got no answer since 1 month23:08
version2betacedk: I don't wish to be an investigative journalist on this topic, I just want my blog post to be fair.23:08
cedkversion2beta: the one in the file netsvc.py was removed some times ago23:08
version2betacedk: Would you like me to discuss the client or base_vat and calendar in my update to the post? Here is the one I'm reworking: http://www.qmuxs.com/version2beta/2011/a-new-openerp-product-and-license/23:09
version2betacedk: Again, I'm not looking for dirt. When I originally posted, I had the header for netsvc.py with your name and copyright in it. That's no longer the case, so I don't wish to present it that way. But neither would I want to quote Olivier's posting to the forum with the suggestion that all is well now, if in fact there are still contested areas.23:11
cedkversion2beta: http://bazaar.launchpad.net/~openerp/openobject-client/trunk/view/head:/bin/widget/view/list.py#L623:13
cedkversion2beta: http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/base_vat/base_vat.py#L623:14
version2betacedk: Thank you. I will include that. Last time I posted on 6/28 and the code was updated in launchpad on 6/29, and Olivier's tweets made clear he was following the blog. Perhaps this time there will also be a response.23:14
cedkversion2beta: http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/document_webdav/webdav.py#L623:14
cedkversion2beta: this one is code from pywebdav (for which I'm also a dev)23:15
cedkversion2beta: don't know why there is only Christian Scholz in the header23:15
cedkversion2beta: that's all I know about it but I did not make a code audit :-)23:16
version2betacedk: I'll tweet when I'm done moving my blog onto the new domain. (Old domain, just wasn't using it before.) I will specifically mention the updates to this post. Thank you.23:18
cedkversion2beta: welcome23:18
cedkversion2beta: I think it is good that you push an update to thig topic because after big drama every things go into the silent without any changes from OE23:19
version2betacedk: I'm glad you think so. Sometimes people wish for conflict to go away, even unresolved, even when they are caught up in it. The person bringing it back can be unpopular ;-)23:20
cedkversion2beta: I think it will come back soon or later23:22
cedkversion2beta: and if it is later it will bring more trouble to the all OE community23:22

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