chat.freenode.net #tryton log beginning Thu Nov 11 00:00:01 CET 2010 | ||
2010-11-11 01:06 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 01:45 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 01:45 -!- sharoon(~sharoon@14.96.9.158) has joined #tryton | ||
2010-11-11 01:54 -!- heg(~heg@dyn.144-85-136-001.dsl.vtx.ch) has joined #tryton | ||
2010-11-11 02:18 -!- gremly1(~gremly@190.26.186.146) has joined #tryton | ||
2010-11-11 03:02 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 03:51 -!- sharoon(~sharoon@14.96.174.74) has joined #tryton | ||
2010-11-11 05:19 -!- yangoon(~mathiasb@p549F67A0.dip.t-dialin.net) has joined #tryton | ||
2010-11-11 05:19 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 05:55 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 06:05 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton | ||
2010-11-11 06:55 -!- sharoon(~sharoon@14.96.159.140) has joined #tryton | ||
2010-11-11 07:11 -!- Timitos(~kp@88.217.184.172) has joined #tryton | ||
2010-11-11 07:28 -!- enlightx(~enlightx@95.75.90.122) has joined #tryton | ||
2010-11-11 07:37 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 08:55 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2010-11-11 09:09 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton | ||
2010-11-11 09:44 -!- paepke(~paepke@p4FEB27DA.dip0.t-ipconnect.de) has joined #tryton | ||
2010-11-11 09:51 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2010-11-11 10:21 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 10:21 -!- gordon_geeko(~jeroen@212.147.120.127) has joined #tryton | ||
2010-11-11 11:11 <yangoon> cedk: shall I publish news for bugfixes now? | ||
2010-11-11 11:19 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 11:30 <cedk> yangoon: ok | ||
2010-11-11 11:42 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton | ||
2010-11-11 11:57 <cedk> could someone update the Tryton wikipedia page for the new release? | ||
2010-11-11 12:00 -!- eric(~eric@62.58.29.41) has joined #tryton | ||
2010-11-11 12:01 -!- kingsnake(~tmulder@62.58.29.41) has joined #tryton | ||
2010-11-11 12:02 -!- paepke(~paepke@p4FEB27DA.dip0.t-ipconnect.de) has left #tryton | ||
2010-11-11 12:04 <pjstevns> cedk: I've updated en.wikipedia.org/wiki/Tryton | ||
2010-11-11 12:04 -!- kaerteric(~eric@62.58.29.41) has joined #tryton | ||
2010-11-11 12:04 <cedk> pjstevns: thx | ||
2010-11-11 12:04 -!- vincentvdl(~vincent@62.58.29.41) has joined #tryton | ||
2010-11-11 12:05 <pjstevns> cedk: just the release info though. I haven't edited the technical features etc. | ||
2010-11-11 12:05 <cedk> pjstevns: I don't think it is required | ||
2010-11-11 12:05 <pjstevns> cedk: ok. | ||
2010-11-11 12:10 -!- paepke(~paepke@p4FEB27DA.dip0.t-ipconnect.de) has joined #tryton | ||
2010-11-11 12:21 -!- trifon(~trifon@p4FFB85E5.dip0.t-ipconnect.de) has joined #tryton | ||
2010-11-11 12:26 <cedk> Timitos: I have updated the cash discount wiki page | ||
2010-11-11 12:26 <cedk> to include taxes | ||
2010-11-11 12:26 <cedk> http://tryton.origo.ethz.ch/wiki/implementierung_skonto | ||
2010-11-11 12:26 <cedk> Timitos: just need to wait Red15 comes back | ||
2010-11-11 12:28 <Timitos> cedk: ok. our module handels vat like we discussed the day before yesterday. hopefully it is the way Red15 needs | ||
2010-11-11 12:29 <Timitos> cedk: i plan to update the module to 1.8 and fix the things you pointed out. but it will take some time as i am really busy for the moment | ||
2010-11-11 12:29 <cedk> Timitos: so you mean it is like on the wiki? | ||
2010-11-11 12:30 <Timitos> cedk: yes i think so | ||
2010-11-11 12:31 <cedk> Timitos: but I'm not sure it is what Red15 said | ||
2010-11-11 12:31 <Timitos> cedk: yes. i hope that it is like. but i am not sure too | ||
2010-11-11 12:33 <cedk> Timitos: ok so wait and see | ||
2010-11-11 12:33 <Timitos> cedk: anyway the change would be not so big as we only need to add new tax codes on the taxes for cash discount moves when different tax codes are needed. | ||
2010-11-11 12:33 <cedk> Timitos: yes it was what I thought if it is required | ||
2010-11-11 12:34 <cedk> Timitos: we could perhaps ask for validation on tryton groups | ||
2010-11-11 12:34 <Timitos> cedk: yes | ||
2010-11-11 12:35 <Timitos> cedk: i will do it | ||
2010-11-11 13:14 -!- paepke(~paepke@p4FEB27DA.dip0.t-ipconnect.de) has joined #tryton | ||
2010-11-11 14:34 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton | ||
2010-11-11 14:40 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 14:47 -!- lem0na(~lem0na@84.40.71.19) has joined #tryton | ||
2010-11-11 14:59 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 15:00 -!- hoRn(~chatzilla@p5DF2EAB7.dip.t-dialin.net) has joined #tryton | ||
2010-11-11 15:01 <hoRn> Hi! | ||
2010-11-11 15:02 <hoRn> little question: is it possible, that i can't releate a One2Many-Relation to a ModelSingleton? | ||
2010-11-11 15:07 <udono> hoRn: hopefully not... | ||
2010-11-11 15:07 <cedk> hoRn: never tried but it should | ||
2010-11-11 15:09 <hoRn> in a singleton i create some new objects. the xx.create gives me an id - but the table ist empty | ||
2010-11-11 15:09 <cedk> hoRn: the only issue I saw is if a user delete the singleton | ||
2010-11-11 15:10 <cedk> hoRn: what is the xx.create ? | ||
2010-11-11 15:11 <hoRn> cedk: self.pool.get().create(c,u,v,c) | ||
2010-11-11 15:11 <cedk> hoRn: not sure to understand the design | ||
2010-11-11 15:12 <cedk> hoRn: could you post the code? | ||
2010-11-11 15:14 <hoRn> cedk: its now in rebuild - looks very bad because i changed everything and now its in a bad state | ||
2010-11-11 15:17 <hoRn> cedk: there must be another error - i will check - that was the first id, that something is restricted, if a singleton has childs | ||
2010-11-11 15:18 <hoRn> -id +idea | ||
2010-11-11 15:19 <cedk> hoRn: normally singletons are like other record, it is just that it is only allow to get more than one record | ||
2010-11-11 15:19 <cedk> s/is only/is not/ | ||
2010-11-11 15:20 <cedk> ACTION bbl | ||
2010-11-11 15:20 <hoRn> cedk: thanks - i don't have used singleton so much time before - so that was my first idea before debugging my code | ||
2010-11-11 15:28 -!- paepke(~paepke@p4FEB27DA.dip0.t-ipconnect.de) has left #tryton | ||
2010-11-11 15:56 <cedk> hoRn: ping me if you find issue | ||
2010-11-11 16:09 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 16:23 <hoRn> cedk: after setting the context to None in the create-method it was working, thanks | ||
2010-11-11 16:26 <hoRn> cedk: magic :) | ||
2010-11-11 16:30 -!- digitalsatori(~tony@116.233.246.78) has joined #tryton | ||
2010-11-11 16:45 <cedk> hoRn: it was set with what? | ||
2010-11-11 16:49 <hoRn> cedk: with the context of a function field | ||
2010-11-11 16:50 <hoRn> cedk: in the getter of the function i was writing entries for another table | ||
2010-11-11 16:59 <cedk> hoRn: ok so nothing wrong in Tryton at this level | ||
2010-11-11 17:01 <hoRn> cedk: no - but a little bit confusing in the first moment ... | ||
2010-11-11 17:15 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton | ||
2010-11-11 17:16 -!- vincentvdl(~vincent@62.58.29.41) has left #tryton | ||
2010-11-11 17:29 -!- vladimir_(~vladimir@213.81.222.86) has joined #tryton | ||
2010-11-11 17:41 <hoRn> a "Wait until we processing your request"-Widget would be nice. We are requesting some webservices and the user don't know what's happening ... | ||
2010-11-11 17:41 -!- dba(~daniel@178.63.150.30) has joined #tryton | ||
2010-11-11 17:44 <cedk> hoRn: there is one after some seconds | ||
2010-11-11 17:45 <hoRn> cedk: than our request is to fast ;) | ||
2010-11-11 17:54 <cedk> hoRn: it is after 1 sec | ||
2010-11-11 17:55 <hoRn> cedk: i will take a look | ||
2010-11-11 18:26 -!- paepke(~paepke@p4FEB76FE.dip.t-dialin.net) has joined #tryton | ||
2010-11-11 18:58 -!- lemona(~lem0na@84.40.71.19) has joined #tryton | ||
2010-11-11 19:02 -!- enlightx(~enlightx@ip-223-177.sn1.eutelia.it) has joined #tryton | ||
2010-11-11 19:13 -!- enlightx(~enlightx@95.75.162.154) has joined #tryton | ||
2010-11-11 19:26 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton | ||
2010-11-11 19:46 -!- gordon_geeko(~jeroen@77-56-129-131.dclient.hispeed.ch) has joined #tryton | ||
2010-11-11 19:52 <cedk> gordon_geeko: by the way, there is one big difference between OE and Tryton about accounting | ||
2010-11-11 19:52 <cedk> gordon_geeko: in Tryton the python code uses Decimal instead of float in OE | ||
2010-11-11 20:09 <gordon_geeko> cedk: yes, i noticed only after the shock of finding floats were being stored in the db | ||
2010-11-11 20:10 <cedk> gordon_geeko: OE stores float for accounting? | ||
2010-11-11 20:10 <gordon_geeko> cedk: it would seem so | ||
2010-11-11 20:11 <gordon_geeko> cedk: well, its an unspecified numeric field in postgres | ||
2010-11-11 20:11 <cedk> gordon_geeko: I know OE uses float in Python but stores with Numeric in Postgresql | ||
2010-11-11 20:12 <cedk> gordon_geeko: that's correct if there is correct rounding | ||
2010-11-11 20:12 <gordon_geeko> cedk: indeed, there isn't - at least not in the version i tried | ||
2010-11-11 20:15 -!- sharoon(~sharoon@14.96.126.95) has joined #tryton | ||
2010-11-11 20:15 <gordon_geeko> cedk: for the currency rate with digits set to 12,6 it stored 0.98370009 as 0.98370009000000003 | ||
2010-11-11 20:17 <cedk> gordon_geeko: in Tryton, we store also with numeric without decimal constraint but at the Python code level there is check about rounding | ||
2010-11-11 20:17 <cedk> gordon_geeko: weird | ||
2010-11-11 20:18 <gordon_geeko> cedk: perhaps some global setting that ignores the field setting... | ||
2010-11-11 20:19 <cedk> gordon_geeko: I guess it is because OE use a float to write value in the numeric SQL field | ||
2010-11-11 20:20 <cedk> gordon_geeko: then you got the unprecision of float stored in the numeric | ||
2010-11-11 20:20 <gordon_geeko> cedk: i see you use decimal class for field type numeric | ||
2010-11-11 20:21 <cedk> gordon_geeko: yes the only way to do correct accounting | ||
2010-11-11 20:26 -!- pheller(~pheller@12.230.154.6) has joined #tryton | ||
2010-11-11 20:26 -!- vladimir_(~vladimir@213.81.222.86) has joined #tryton | ||
2010-11-11 20:36 <pheller> cedk: is proteus ready for 1.8 now? | ||
2010-11-11 20:48 -!- chrue(~chrue@host-091-097-015-074.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-11 20:58 <cedk> pheller: not yet | ||
2010-11-11 20:58 <cedk> pheller: there is an issue with on_change event | ||
2010-11-11 20:59 <cedk> pheller: and perhaps one with wizard | ||
2010-11-11 20:59 <pheller> cedk: ok. Now that you use threading.local(), I think it can probably be used within sharoon's django example | ||
2010-11-11 20:59 <pheller> cedk: .... which will *really* simplify writing custom web access components | ||
2010-11-11 21:00 <cedk> pheller: yes for sure | ||
2010-11-11 21:02 <pheller> cedk: I might write an example using bottle or web2py; even simpler than django | ||
2010-11-11 21:05 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton | ||
2010-11-11 21:14 <Timitos> cedk: the questions about cash discount: should i use the dev-ml or the other? maybe the dev-ml is the better one | ||
2010-11-11 21:22 <gordon_geeko> is there a OE related fields equivalent? | ||
2010-11-11 21:29 <Timitos> gordon_geeko: what type of fields do you mean? | ||
2010-11-11 21:44 <cedk> Timitos: I think tryton ml as it is more an accounting question than a dev one | ||
2010-11-11 21:45 <cedk> gordon_geeko: no but indeed it is like a Function field | ||
2010-11-11 21:46 <gordon_geeko> Timitos: a field via another relation, e.g. getting a country in the city object via state when the objects are related as city->state->country | ||
2010-11-11 21:46 <cedk> gordon_geeko: we prefer to not encourage this behavior as it generate most of the time bad design | ||
2010-11-11 21:47 <cedk> gordon_geeko: as you can see http://hg.tryton.org/modules/account/file/b5bdbac9d33b/move.py#l444 | ||
2010-11-11 21:47 <cedk> gordon_geeko: it is easy to write this kind of Function field | ||
2010-11-11 21:47 <cedk> gordon_geeko: http://hg.tryton.org/modules/account/file/b5bdbac9d33b/move.py#l897 | ||
2010-11-11 21:48 <cedk> I already saw some OE projects that uses intensivly the related fields and they become bloated | ||
2010-11-11 21:49 <cedk> and this show a lake of good design at the begining | ||
2010-11-11 21:49 <gordon_geeko> cedk: i think i get your point | ||
2010-11-11 21:53 <Timitos> cedk: ok | ||
2010-11-11 21:56 <Timitos> cedk: meister did the cleanup on tryton section of intuxication | ||
2010-11-11 22:25 <gordon_geeko> out of curiosity, why the use of CDATA in the view definitions? | ||
2010-11-11 22:32 <cedk> Timitos: great | ||
2010-11-11 22:33 <cedk> gordon_geeko: because we don't want the parser to parse it when loading records from xml | ||
2010-11-11 22:37 <gordon_geeko> cedk: not sure i understand, when does it get parsed then? | ||
2010-11-11 22:37 <mhi2> Hi, I'm playing around with a fresh tryton instance. But I was not able to add a price list because price lists require companies. | ||
2010-11-11 22:38 <mhi2> Companies can be added but not looked up (in the price list's company look up field). | ||
2010-11-11 22:39 <cedk> mhi2: you must set your user to a company | ||
2010-11-11 22:39 <cedk> gordon_geeko: the XML in modules define records | ||
2010-11-11 22:40 <mhi2> Thanks. Great. :) | ||
2010-11-11 22:40 <cedk> gordon_geeko: there is some records for ir.ui.view on which there is a field in which we put XML description of the views | ||
2010-11-11 22:40 <cedk> gordon_geeko: so the XML of the view has nothing to do with the data XML of modules | ||
2010-11-11 22:40 <cedk> gordon_geeko: so it is better that the parser doesn't spend time and memory to parse it at this level | ||
2010-11-11 22:41 <gordon_geeko> cedk: so the cdata is loaded only once in the db | ||
2010-11-11 22:41 <cedk> gordon_geeko: yes | ||
2010-11-11 22:41 <gordon_geeko> cedk: and the other xml parts are to render the views | ||
2010-11-11 22:41 <cedk> gordon_geeko: yes | ||
2010-11-11 22:42 <gordon_geeko> cedk: excellent | ||
2010-11-11 22:42 <cedk> gordon_geeko: but there is a work in progress to move the XML of the view outside the data XML | ||
2010-11-11 22:42 <cedk> http://bugs.tryton.org/roundup/issue70 | ||
2010-11-11 22:51 -!- lem0na(~lem0na@84.40.71.19) has joined #tryton | ||
2010-11-11 22:57 <mhi2> Price list items require a formular. Is there any documentation about valid formulars? | ||
2010-11-11 22:58 <cedk> mhi2: any Python statement | ||
2010-11-11 22:59 <cedk> mhi2: with unit_price being the unit price of the product | ||
2010-11-11 22:59 <mhi2> ok, that means 1 * unit_price would be valid? | ||
2010-11-11 22:59 <cedk> mhi2: it is on the help of the field, you just leave the cursor on it for a couple of seconds | ||
2010-11-11 22:59 <cedk> mhi2: yes | ||
2010-11-11 23:00 <mhi2> oh - didn't know about the help function... | ||
2010-11-11 23:01 <mhi2> hm, 1*unit_price is _invalid_. | ||
2010-11-11 23:01 <cedk> mhi2: wait, i think I found a bug in the module | ||
2010-11-11 23:05 <cedk> mhi2: could you test with this patch http://codereview.appspot.com/3047041 | ||
2010-11-11 23:06 <mhi2> ACTION is trying | ||
2010-11-11 23:06 <mhi2> by the way - is it difficult to use pdb on trytond? | ||
2010-11-11 23:09 <mhi2> seems to work. | ||
2010-11-11 23:10 <cedk> mhi2: ok | ||
2010-11-11 23:11 <mhi2> Thank you. | ||
2010-11-11 23:11 <cedk> mhi2: for pdb I don't know, I never use it | ||
2010-11-11 23:12 <mhi2> Are there better solutions for debugging tryton? | ||
2010-11-11 23:12 -!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton | ||
2010-11-11 23:12 <cedk> mhi2: print statement | ||
2010-11-11 23:12 <cedk> mhi2: like Guido http://panela.blog-city.com/a_talk_by_guido_van_rossum.htm | ||
2010-11-11 23:14 <cedk> mhi2: but pheller make some change in the thread code to allow easier debugging with debugger | ||
2010-11-11 23:14 <cedk> mhi2: you could see with him, I think he's using pydev | ||
2010-11-11 23:15 <cedk> ACTION bbl | ||
2010-11-11 23:18 -!- FWiesing_(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!