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

chat.freenode.net #tryton log beginning Tue Aug 23 00:00:02 CEST 2011
2011-08-23 00:03 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-08-23 00:22 -!- roberto(~roberto@93.88.114.205) has joined #tryton
2011-08-23 00:29 <meanmicio> cedk: ok. Once I'm done with the translation, I will investigate also.
2011-08-23 00:44 <rhubner> Hi cedk!
2011-08-23 00:45 <rhubner> cedk: Happy birthday :)
2011-08-23 00:50 <rhubner> cedk: (If it is your birthday yet) Here is 19:50
2011-08-23 01:05 -!- elbenfreund(~elbenfreu@p54B92A31.dip.t-dialin.net) has joined #tryton
2011-08-23 01:52 -!- rhubner(~rhubner@189.58.56.198.dynamic.adsl.gvt.net.br) has left #tryton
2011-08-23 02:19 -!- zodman_(~zodman@fixed-203-7-69.iusacell.net) has joined #tryton
2011-08-23 02:27 -!- cheche(cheche@46.25.80.67) has joined #tryton
2011-08-23 02:28 -!- sebamarro(~sebastian@190.51.119.29) has joined #tryton
2011-08-23 04:13 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-08-23 04:41 -!- ikks_(~ikks@201.245.235.153) has joined #tryton
2011-08-23 05:05 -!- gremly(~gremly@200.106.218.64) has joined #tryton
2011-08-23 07:18 -!- helmor(~helmo@46.115.25.52) has joined #tryton
2011-08-23 07:20 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-08-23 07:40 -!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton
2011-08-23 08:05 -!- ndn_pit(~ndn_pit@95.56.124.16) has joined #tryton
2011-08-23 08:06 <ndn_pit> hello
2011-08-23 08:07 <ndn_pit> What other widgets are used in form view?
2011-08-23 08:08 <ndn_pit> I know only "selection"
2011-08-23 08:11 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-08-23 08:13 <ndn_pit> is it really tryton's irc channel where I can ask about tryton?
2011-08-23 08:20 <plantian> ndn_pit: yes
2011-08-23 08:20 <plantian> better time is in hour or two though because most developers are in European time zone
2011-08-23 08:21 -!- ndn_pit(~ndn_pit@95.56.124.16) has left #tryton
2011-08-23 08:46 -!- ndn_pit(~ndn_pit@95.56.124.16) has joined #tryton
2011-08-23 08:57 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-08-23 09:00 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-08-23 09:04 -!- nicoe(~nicoe@11.193-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-08-23 09:06 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-08-23 09:19 <ndn_pit> good morning )
2011-08-23 09:40 <ndn_pit> cedk: about selection field: the problem was, because of - selection value must be string type
2011-08-23 09:42 <cedk> ndn_pit: ho yes
2011-08-23 09:45 <ndn_pit> cedk: 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?
2011-08-23 09:50 <cedk> ndn_pit: change the grouping of your language
2011-08-23 09:52 <ndn_pit> cedk: in tryton? how can i do that?
2011-08-23 09:53 <cedk> ndn_pit: Admin>Localization>Languages
2011-08-23 09:59 <ndn_pit> but in other Integer fields i want thousands separator...
2011-08-23 10:00 <cedk> ndn_pit: so you can't
2011-08-23 10:00 <cedk> ndn_pit: or use a Char fields with validation
2011-08-23 10:00 <ndn_pit> ok
2011-08-23 10:01 <ndn_pit> can i set mask on field?
2011-08-23 10:02 <cedk> ndn_pit: no
2011-08-23 10:03 <ndn_pit> what widgets can i use in form view except "selection"?
2011-08-23 10:03 <ndn_pit> can you list all of them?
2011-08-23 10:05 <cedk> ndn_pit: look at trytond/ir/ui/form.rnc
2011-08-23 10:06 -!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton
2011-08-23 10:40 -!- elbenfreund(~elbenfreu@p54B926CF.dip.t-dialin.net) has joined #tryton
2011-08-23 10:46 -!- reichlich(~reichlich@p5793D46B.dip.t-dialin.net) has joined #tryton
2011-08-23 10:49 -!- elbenfreund(~elbenfreu@p54B926CF.dip.t-dialin.net) has joined #tryton
2011-08-23 10:52 <ndn_pit> is there way to use widget like "limit" in advanced search
2011-08-23 10:55 <cedk> ndn_pit: no
2011-08-23 11:13 -!- reichlich_(~reichlich@p578E952B.dip.t-dialin.net) has joined #tryton
2011-08-23 11:31 <cedk> ndn_pit: what are you desiging? Because most of the time when you want just year field it is a bad design
2011-08-23 11:31 <ndn_pit> I think so too
2011-08-23 11:32 <ndn_pit> i wanted to create model for months
2011-08-23 11:33 <cedk> ndn_pit: what is the purpose?
2011-08-23 11:36 <ndn_pit> in our country attendance of employee is monitors by tabel (or stuff record cards - translate)
2011-08-23 11:37 <ndn_pit> tabel is 30 days in which tabel-man must show attendace of certain employee in current month
2011-08-23 11:38 <cedk> ndn_pit: did you look at timesheet?
2011-08-23 11:38 <ndn_pit> salary is calculates by tabel
2011-08-23 11:39 <ndn_pit> I didn't understand some modules as timesheet too, because there is no user documentation
2011-08-23 11:40 <cedk> ndn_pit: http://doc.tryton.org/2.0/modules/timesheet/doc/index.html
2011-08-23 11:44 <ndn_pit> thanks i will see
2011-08-23 11:52 <ndn_pit> cedk: I think its useful for project or porject-plan module, but not for salary (account module)
2011-08-23 11:54 <cedk> ndn_pit: so I'm not sure to understand what kind of information you want to store?
2011-08-23 11:58 <ndn_pit> tabel stores information about attendance of employee like:
2011-08-23 11:58 <ndn_pit> 01.01.2011, Monday, were present
2011-08-23 11:58 <ndn_pit> 02.01.2011, Tuesday, were present
2011-08-23 11:59 <ndn_pit> 03.01.2011, Tuesday, were not present
2011-08-23 11:59 <ndn_pit> etc... until 31.01.2011
2011-08-23 11:59 <ndn_pit> i mean it's table
2011-08-23 12:00 <ndn_pit> for monitoring
2011-08-23 12:00 <cedk> ndn_pit: so you just need a DateTime field
2011-08-23 12:01 <ndn_pit> table like this creates every month for every employee
2011-08-23 12:01 <ndn_pit> so i wanted create some model for months
2011-08-23 12:01 <cedk> ndn_pit: why do you want to create a table every month?
2011-08-23 12:02 <ndn_pit> for monitoring... :)
2011-08-23 12:02 <ndn_pit> "why do you want" i don't want, i must because of low of our country
2011-08-23 12:02 <cedk> ndn_pit: that is completly against any database design
2011-08-23 12:03 <ndn_pit> russia is also uses tabels
2011-08-23 12:03 <cedk> ndn_pit: I never trust anybody who says the law force me to design this way
2011-08-23 12:03 <cedk> ndn_pit: the law never talks about databases
2011-08-23 12:05 <ndn_pit> for example: some people will ask me why you pay "x" money to "y" employee, i should show him tabel and justify my act
2011-08-23 12:06 <ndn_pit> sorry for my English )
2011-08-23 12:06 <cedk> ndn_pit: yes it is just: SELECT FROM table WHERE employee = x AND date > 'YYYY-MM-DD' and date < 'YYYY-MM-DD'
2011-08-23 12:07 <ndn_pit> agree
2011-08-23 12:07 <ndn_pit> but
2011-08-23 12:07 <cedk> ndn_pit: we are in a SQL world in Tryton
2011-08-23 12:07 <ndn_pit> what is difference between your way and my?
2011-08-23 12:07 <ndn_pit> ia just grouped data
2011-08-23 12:08 <cedk> ndn_pit: because I will not create thousand of tables
2011-08-23 12:08 <cedk> ndn_pit: and what about if someone ask you about 2 months?
2011-08-23 12:09 <ndn_pit> i will not create many tables
2011-08-23 12:09 <ndn_pit> i will create records
2011-08-23 12:09 <cedk> ndn_pit: also with my design, you can have also the sum for a year per example
2011-08-23 12:09 <cedk> < ndn_pit> table like this creates every month for every employee
2011-08-23 12:09 <ndn_pit> listen, wait minute i will explain
2011-08-23 12:16 <ndn_pit> thereis tables: months(month, year, emplyees(rel. with employees table)), tabel(employee ,months, days(1..30))
2011-08-23 12:16 <ndn_pit> every 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-table
2011-08-23 12:16 <ndn_pit> in tryton it will be: months-model -> employees -> tabels -> days
2011-08-23 12:17 <ndn_pit> understood?
2011-08-23 12:19 -!- nicoe(~nicoe@ced.homedns.org) has joined #tryton
2011-08-23 12:20 <ndn_pit> if i need report for year i can do it by sql select )
2011-08-23 12:21 <cedk> ndn_pit: ok but sorry to tell you that I find your design uggly
2011-08-23 12:22 <ndn_pit> you didn't tell me that as i remember...
2011-08-23 12:22 <cedk> ndn_pit: I don't see why you need to create months because months are known for all the time
2011-08-23 12:24 <ndn_pit> for 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 table
2011-08-23 12:25 <ndn_pit> i mean it will be easy to work in grouped data
2011-08-23 12:26 <cedk> ndn_pit: don't understand
2011-08-23 12:27 <ndn_pit> every month i must create 30 records for every employee.. how should i do that in your way?
2011-08-23 12:28 <ndn_pit> if i create one table (year, month, day, employee, attendace)
2011-08-23 12:28 <cedk> ndn_pit: creating automatic records doesn't create information
2011-08-23 12:29 <cedk> ndn_pit: it is not a table like that, I say you must use a table: (date, employee, attendance)
2011-08-23 12:29 <cedk> ndn_pit: SQL has a type Date
2011-08-23 12:31 <ndn_pit> no no... that records will creates one people from every department for his department, but not me, and hr-manager send result to account-manager
2011-08-23 12:33 <cedk> ndn_pit: so I why do you want to split date into something not workable
2011-08-23 12:35 <ndn_pit> ok how you plan gather information about attendance of each employee?
2011-08-23 12:35 <ndn_pit> in models topology
2011-08-23 12:36 <cedk> ndn_pit: and you?
2011-08-23 12:54 -!- saxa(~sasa@189.26.255.43) has joined #tryton
2011-08-23 13:01 -!- ndn_pit(~ndn_pit@95.56.115.213) has joined #tryton
2011-08-23 13:04 -!- ndn_pit(~ndn_pit@95.56.115.213) has left #tryton
2011-08-23 13:04 -!- ndn_pit(~ndn_pit@95.56.115.213) has joined #tryton
2011-08-23 13:45 <ndn_pit> cedk: can i set domain condition for fields.Integer?
2011-08-23 13:46 <ndn_pit> cedk: or for fields.Date?
2011-08-23 13:46 <cedk> ndn_pit: not yet
2011-08-23 13:46 <cedk> ndn_pit: but it is in the plan
2011-08-23 13:46 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-08-23 14:07 -!- elbenfreund(~elbenfreu@p54B926CF.dip.t-dialin.net) has joined #tryton
2011-08-23 14:32 -!- ndn_pit(~ndn_pit@95.56.115.213) has left #tryton
2011-08-23 14:33 -!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton
2011-08-23 14:38 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2011-08-23 15:02 -!- smarro(~sebastian@190.51.119.29) has joined #tryton
2011-08-23 15:25 -!- nicoe(~nicoe@ced.homedns.org) has joined #tryton
2011-08-23 15:34 -!- helmor(~helmo@p54857F0D.dip.t-dialin.net) has joined #tryton
2011-08-23 16:00 -!- bvillasanti(~bvillasan@190.105.89.122) has joined #tryton
2011-08-23 17:09 -!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton
2011-08-23 17:17 -!- meanmicio(~lfm@190.195.50.15) has joined #tryton
2011-08-23 17:21 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-08-23 17:21 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-08-23 17:39 -!- bvillasanti(~bvillasan@190.105.89.122) has joined #tryton
2011-08-23 17:52 -!- alimon(alimon@189.154.55.187) has joined #tryton
2011-08-23 17:56 -!- sharoon(~sharoon@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-08-23 17:57 -!- sharoon_(~sharoon@2001:470:5:630:2862:f98b:2d0e:2eea) has joined #tryton
2011-08-23 18:43 -!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton
2011-08-23 19:27 -!- helmor_(~helmo@p54857F0D.dip.t-dialin.net) has joined #tryton
2011-08-23 19:29 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton
2011-08-23 20:42 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-08-23 20:49 -!- elbenfreund(~elbenfreu@f055246168.adsl.alicedsl.de) has joined #tryton
2011-08-23 21:07 -!- vladimirek(~vladimire@adsl-dyn18.91-127-76.t-com.sk) has joined #tryton
2011-08-23 21:29 -!- helmor(~helmo@p54857F0D.dip.t-dialin.net) has joined #tryton
2011-08-23 21:47 -!- dba(~daniel@178.63.150.30) has joined #tryton
2011-08-23 22:36 -!- elbenfreund(~elbenfreu@f055246168.adsl.alicedsl.de) has joined #tryton
2011-08-23 22:37 -!- version2beta(~rob@24.106.58.138) has joined #tryton
2011-08-23 22:40 <version2beta> cedk: 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/3485
2011-08-23 22:40 <version2beta> cedk: This is one file, of course. If you don't mind me asking, do you still own copyright to OpenERP code?
2011-08-23 22:41 <version2beta> cedk: (I assume the revision note is legit.)
2011-08-23 23:03 <cedk> version2beta: on some parts
2011-08-23 23:03 <cedk> version2beta: in the client and some modules
2011-08-23 23:04 <cedk> version2beta: for the server I don't know
2011-08-23 23:05 <version2beta> cedk: 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.
2011-08-23 23:05 <cedk> version2beta: the main issue for OE, is that their developpers make copy/paste of code without caring about copyright
2011-08-23 23:06 <cedk> version2beta: I asked to Olivier that they do a code auditing before changing their license
2011-08-23 23:07 <cedk> version2beta: he tells me that they did it but it was before the removing of the copyright notice
2011-08-23 23:07 <version2beta> cedk: 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.)
2011-08-23 23:07 <cedk> version2beta: and they misses the client part and the modules base_vat, calendar
2011-08-23 23:07 <version2beta> cedk: (Sorry, I suspect they are trying to do better too.)
2011-08-23 23:08 <version2beta> cedk: If there is code that you contest, then it seems Olivier's post is not correct?
2011-08-23 23:08 <cedk> version2beta: 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 month
2011-08-23 23:08 <version2beta> cedk: I don't wish to be an investigative journalist on this topic, I just want my blog post to be fair.
2011-08-23 23:08 <cedk> version2beta: the one in the file netsvc.py was removed some times ago
2011-08-23 23:09 <version2beta> cedk: 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/
2011-08-23 23:11 <version2beta> cedk: 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.
2011-08-23 23:13 <cedk> version2beta: http://bazaar.launchpad.net/~openerp/openobject-client/trunk/view/head:/bin/widget/view/list.py#L6
2011-08-23 23:14 <cedk> version2beta: http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/base_vat/base_vat.py#L6
2011-08-23 23:14 <version2beta> cedk: 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.
2011-08-23 23:14 <cedk> version2beta: http://bazaar.launchpad.net/~openerp/openobject-addons/trunk/view/head:/document_webdav/webdav.py#L6
2011-08-23 23:15 <cedk> version2beta: this one is code from pywebdav (for which I'm also a dev)
2011-08-23 23:15 <cedk> version2beta: don't know why there is only Christian Scholz in the header
2011-08-23 23:16 <cedk> version2beta: that's all I know about it but I did not make a code audit :-)
2011-08-23 23:18 <version2beta> cedk: 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.
2011-08-23 23:18 <cedk> version2beta: welcome
2011-08-23 23:19 <cedk> version2beta: 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 OE
2011-08-23 23:20 <version2beta> cedk: 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 ;-)
2011-08-23 23:22 <cedk> version2beta: I think it will come back soon or later
2011-08-23 23:22 <cedk> version2beta: and if it is later it will bring more trouble to the all OE community

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