IRC logs of #tryton for Thursday, 2009-03-12

chat.freenode.net #tryton log beginning Thu Mar 12 00:00:01 CET 2009
-!- juanfer(n=juanfer@201.244.28.99) has joined #tryton00:38
cedksaxa: company is only for your company, others are parties00:50
cedksaxa: for the traceback fill an issue in roundup with the action you did00:51
cedkvengfulsquirrel: by default, function are not sortable00:51
cedkvengfulsquirrel: you can specify a sql statement on which it must be sroted00:52
cedkvengfulsquirrel: you can look at http://hg.tryton.org/hgwebdir.cgi/modules/party/file/b85e85c520b9/party.py#l3000:53
cedkvengfulsquirrel: the argument order_field00:53
cedksaxa: and for report editing, I don't find it is difficult to edit the reports, you can download from the client the odt file (Adminstartion>User Interface>Action>Reports)00:57
cedksaxa: and there is this: http://bugs.tryton.org/roundup/issue18800:58
vengfulsquirrelcedk: Thanks I'll look into that.01:02
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton02:46
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton02:50
-!- ikks(i=igor@190.102.210.19) has joined #tryton02:50
-!- ikks(i=igor@190.102.215.141) has joined #tryton03:21
-!- gremly(n=oscar@190.156.180.148) has joined #tryton05:16
-!- yangoon1(n=mathiasb@p549F4E4C.dip.t-dialin.net) has joined #tryton05:19
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton07:54
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton08:00
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:21
-!- Gedd(n=ged@77.109.113.207) has joined #tryton08:24
-!- racke(n=racke@a89-183-29-226.net-htp.de) has joined #tryton08:43
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton08:53
-!- gadaga(n=gadaga@pic33-2-88-163-57-149.fbx.proxad.net) has joined #tryton08:56
saxacedk, vengfulsquirrel, thanks to both09:12
saxaanyway, I was trying to save an product, when this error was coming out.09:12
saxasaying that company field can not be null.09:13
gadagasaxa: do you have define you own company?09:13
saxaonce clicking save in the products, once in the suppliers09:13
saxagadaga: yes09:13
saxathe first thing09:13
saxaitem 1 is my company09:13
saxai mean when I list companies09:14
gadagasaxa: can you paste the traceback of the error?09:14
saxarecord 109:14
saxagadaga: its on bug tracker09:14
gadagasaxa: wich number?09:14
saxabugs #858 , #85909:14
gadagawhich?09:14
gadagaok09:14
gadagasaxa: your company was not set09:16
gadagasaxa: module company is installed?09:16
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton09:23
CIA-10tryton: ced roundup * #858/CONTEXT: SQL statement "UPDATE ONLY "public"."company_employee" SET "company" = NULL WHERE $1 OPERATOR(pg_catalog.=) "company"": [chatting] Do you try to delete a company that have employees?09:27
CIA-10tryton: ced roundup * #859/IntegrityError: null value in column "company" violates not-null constraint: [need-eg] What do you do?09:28
CIA-10tryton: casaxa roundup * #859/IntegrityError: null value in column "company" violates not-null constraint: I was trying to save an newly created product.09:34
CIA-10tryton: casaxa roundup * #858/CONTEXT: SQL statement "UPDATE ONLY "public"."company_employee" SET "company" = NULL WHERE $1 OPERATOR(pg_catalog.=) "company"": Yes, I created a subcompany under my company and then I created an emplyee in it. After that I wanted to delete it and this error came out. Close ...09:38
-!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-8583eae4349d919f) has joined #tryton09:47
cristi_ancedk: these days you will relaese a new version ?09:48
-!- Ged_(n=ged@77.109.113.207) has joined #tryton09:50
-!- bechamel(n=user@85.201.74.27) has joined #tryton09:56
cristi_ancedk,bechamel: i noticed a strange behaviuor when i use account moves and i add lines only using keyboard10:01
cristi_anfocus is lost and jump into the top menu10:01
cristi_anat least in windows client version10:02
saxagadaga: i installed all modules as far as i know10:04
saxagadaga: and my company is listed as record nr.110:04
saxaso i think its set up properly10:04
bechamelcristi_an: if you are using an up to date version of the client please feel free to add an issue on the bugtracker10:26
cristi_ani use the lates client avalable for download10:26
-!- enlightx(n=enlightx@ppp-128-60.21-151.libero.it) has joined #tryton10:38
-!- yangoon(n=mathiasb@p549F4E4C.dip.t-dialin.net) has joined #tryton11:00
-!- cedric_b(n=cedric@ANantes-158-1-6-241.w90-32.abo.wanadoo.fr) has joined #tryton11:05
-!- paola(n=paola@net-93-146-187-144.t2.dsl.vodafone.it) has joined #tryton11:43
-!- paola_(n=paola@host-84-222-102-91.cust-adsl.tiscali.it) has joined #tryton12:06
CIA-10tryton: matb roundup * #860/Translation: model names: [new] With the changes in the framework for the *2m-fields we now got many new model names appearing in the translation table like account.account ...12:19
CIA-10tryton: ced roundup * #860/Translation: model names: [resolved] They appear in the Administration>Models>Models And they can be used as standard model somewhere.12:30
CIA-10tryton: matb roundup * #856/IntegrityError: duplicate key value violates unique constraint "party_party_cod: No, it is just an updated database. And in fact I cannot create any new party, the issue has no relation to projects. Field Code in Party is read ...12:50
-!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton12:55
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton13:12
CIA-10tryton: cedric.krier@b2ck.com * r460 /wiki/gsoc2009.wiki: Add hopes.13:21
CIA-10tryton: ced roundup * #856/IntegrityError: duplicate key value violates unique constraint "party_party_cod: [resolved] These is due to the previous issue82713:43
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton13:48
-!- ikks(n=igor@190.144.69.234) has joined #tryton13:51
-!- Timito1(n=Timitos@88.217.184.172) has joined #tryton14:08
cedkreading the ideas of OpenERP, it remembers me the zeroconf option for Tryton14:35
cedkdo you think it can be useful?14:36
CIA-10tryton: cedric.krier@b2ck.com * r461 /wiki/gsoc2009.wiki: Group backends14:41
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton14:48
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1213:35b2434ee83c tryton/tryton/gui/window/view_form/model/field.py:15:00
CIA-10tryton: Send 'record-changed' when force_change is set on Many2One to force to15:00
CIA-10tryton: display the screen.15:00
cedkseem nobody interesting in zeroconf (avahi, bonjour, rendez-vous, etc..)15:06
-!- saxa(n=sasa@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton15:15
saxacedk: what this would be usefull for tryton ?15:22
saxato know where the server si ?15:23
saxas/si/is15:23
cedksaxa: yes, automatic discover of Tryton server15:24
cedksaxa: for ip and port15:24
cedksaxa: http://en.wikipedia.org/wiki/Zero_configuration_networking15:26
saxai know avahi and stuff thx, since we use it in our project15:34
saxaanyway, it can be usefull, but just in certain configurations i believe15:35
cedksaxa: it must be optional15:35
saxathis would introduce a new dep also to tryton correct ?15:35
cedksaxa: only an optional15:36
saxaand another thing is , what are plugins used for in tryton ?15:36
saxacedk: if its an option, it can for sure be useful for people who will need it15:36
saxamany people have this on local networks with one server i supose15:37
saxaso they know where to point the clients15:37
saxajust my opinion15:37
saxamaybe i'm wrong or unaware of certain situations where it can be useful15:37
cedksaxa: but you must teach to your users what is the name of the server15:38
cedksaxa: with zeroconf, you don't need15:39
saxayes, but if only this is the advantage dont you think that its not to difficult to point the client to the right place ?15:45
cedksaxa: don't understand15:46
saxaI mean that if the advantage is only of not writing a server name ito this small window at the login15:47
saxathen for me its not a big advantage15:47
saxaat least i dont see that as a big advantage to have it15:47
saxaif its not difficult to code it, do it :)15:48
saxaits for sure one option more15:48
bechamelsaxa: what would be a big advantage ? have you another idea ?15:48
cedksaxa: I think in the client configuration, the only thing that a user must ask to the IT is the name of the server, so if you can prevent this, it simplify the live of the IT15:50
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1613:e5bee428393b trytond/trytond/ (backend/postgresql/table.py model/modelsql.py):15:52
CIA-10tryton: Fix the history table creation15:52
CIA-10tryton: - create missing field added by others modules for issue85715:52
CIA-10tryton: - don't update history record with default value15:52
saxathats true15:52
CIA-10tryton: ced roundup * #857/Error saving party address (column "delivery"): [resolved] Fix with changeset e5bee428393b15:53
saxabechamel: i think that there is many other places in tryton that need improvment,15:53
-!- johbo_(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton15:53
saxabut have not enough experience with it up to now to tell it15:53
cedksaxa: it is for gsoc, so we must think like "teacher" and give interesting idea for student15:54
cedksaxa: and not propose the boring stuf that we must do15:54
bechamelcedk: like writing the doc :)15:55
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 1:0791a19c3b65 account_invoice_history/payment_term.py: Fix _name for PaymentTermLineDelay16:01
CIA-10tryton: Bertrand Chenal <bch@b2ck.com> default * 1614:a17aa2451d74 trytond/trytond/ir/property.py: Fix set method on property when default property exist.16:04
CIA-10tryton: Bertrand Chenal <bch@b2ck.com> default * 1615:4732d3441855 trytond/: Merge16:04
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton16:08
saxacedk: thats a completely different think then16:21
saxai didnt understood it that way16:21
saxain that case of course yes16:21
saxabut you know, despite that i think that just in simple fixups the project can benefit a lot16:22
saxaso you can have many things done in it16:22
saxaI dont know how much you changed the code of import stuff into tryton from tinyerp's one16:23
saxabut import needs a lot of stuff to do for sure16:23
saxafirst thing is simplify the visual of the import window, and make it more user friendly, with errors16:23
saxaand like somebody proposed on the openobject blueprints, import what is possible and create an output with a cvs and the non imported lines16:24
saxaso you can just do what is still missing when importing16:24
saxathen, how gui is working, in the client, you immediately end up with a lot of tabs opened16:25
saxain my point of view this should be in some different way done16:25
saxai did some blueprints in openobject too about that16:25
CIA-10tryton: cedric.krier@b2ck.com * r462 /wiki/gsoc2009.wiki: Add image16:28
CIA-10tryton: cedric.krier@b2ck.com * r463 /wiki/gsoc2009.wiki: Edited wiki page through web user interface.16:28
CIA-10tryton: cedric.krier@b2ck.com * r464 /wiki/gsoc2009.wiki: Add zeroconf16:28
cedksaxa: for import, we take the transactional position. So all is imported or nothing16:29
cedksaxa: the GUI of this window can be improved but it is not enough for gsoc. It will take 2-3 days16:30
cedksaxa: not a month16:30
cedksaxa: for the tabs, I don't understand what you mean16:30
saxaabout the tabs16:32
saxalet me find the blueprint16:32
saxahttps://blueprints.launchpad.net/openerp/+spec/gui-improvements-in-gtk-client16:34
cedksaxa: do you know 'CTRL+L'?16:37
cedksaxa: with it, you can switch from form to list16:41
saxacedk: yes16:51
cedksaxa: one thing could be like 'middle click' to switch in new tab16:53
saxacedk: the problem is not swithching between tabs16:53
saxabut that you it opens what you looked for in the same tab instead of opening a new one16:54
vengfulsquirrelYou mean like firefox's "open this link in a new tab" functionality?16:54
saxaso if you want to look another product, you go back , click the listed products tab and double click the product you need and it opens it again in a new tab16:55
saxavengfulsquirrel: yes16:55
saxabecause if not , you need to go back and click again products to open the search form16:55
cedksaxa: why to talk about the search form ?16:56
saxai just call it search form16:57
saxasorry but i would be able to explain it better if i would have tryton opened before me16:57
vengfulsquirrelsaxa: Right you mean this is what you do now: menu(Products) --> list view -- run search --> form view(Product#1), menu(Products) --> list view --> run search--> form view(Product #2)   ... Then compare between tabs.  Whereas you want this menu(Products) --> list view -- run search --> NEW TAB:Product#1, go back to search results tab --> Product #217:01
vengfulsquirrelcedk: Hey I think some of these ideas listed in the GSOC document might benefit from short explanations of why they are wanted/needed.  Are they mixture of multiple people's ideas ?17:05
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton17:06
cedkvengfulsquirrel: from me and bechamel most of them17:09
vengfulsquirrelWell for the first two, is there an example of an external system that would benefit from having access(via CardDAV and CalDAV) to contacts and/or calendar events?17:12
cedkvengfulsquirrel: CalDAV there are many calendar software like iCal, sunbird, google calendar17:13
vengfulsquirrelokay good, I'm going to mention that for CalDAV17:14
cedkvengfulsquirrel: for carddav, there is Kontact, Evolution, Thunderbird, Outlook17:14
cedkvengfulsquirrel: and surely more17:15
cedkvengfulsquirrel: the main thing is that it is a standard protocol to share calendar and contact17:15
cedkvengfulsquirrel: it is better than writing plugins for each softwares :-)17:16
cedkvengfulsquirrel: by the way, it will be good that you update it before Friday 19:00 UTC17:18
cedkvengfulsquirrel: if you have any other questions, don't hesitate17:20
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton17:21
cedkvengfulsquirrel: I find you made a great job with the answers17:21
yangooncedk: btw: standard protcols are most important, as you did with xml-rpc17:23
yangooncedit is much more attractive for other developers to write interfaces if they meet standardized interfaces17:23
cedkyangoon: yes of course, we will always try to use standard protocol17:25
cedkyangoon: we only use internal protocol for the communication between the client/server because it is optimized17:26
yangooncedk: oki doki17:27
cedkyangoon: it is also in the same spirit that we modify to allow installation with easy_install in the python standard way17:28
cedkI think it simplify the job of package maintainers of distribs17:28
cedkalso switch to psycopg2 to use the python SQL API standard17:29
cedkeverything is linked :-)17:29
yangooncedk yes, I know. it only hurts with debian17:29
vengfulsquirrelIsn't psycopg2 and implementation of the python db spec ?17:30
vengfulsquirrel*an implementation17:30
cedkvengfulsquirrel: yes it is17:30
cedkvengfulsquirrel: it was psycopg1 that was not17:30
vengfulsquirreloh I see17:31
cedkIt was just to display that all the changes are made for the same purpose17:33
cedkit is like the XPDL idea17:33
cedkhttp://bazaar.launchpad.net/%7Eopenerp/openobject-client/trunk/revision/95017:42
cedksome of you have knowledge with the TCP_NODELAY option ?17:42
cedkI don't think we need this, but what do you think17:42
cedkif someone can make a test, to see if OpenERP reach our speed17:49
udonocedk: no idea...17:53
udonoAnother topic: What do you think about? http://en.wikipedia.org/wiki/Universal_Business_Language17:53
cedkudono: do you know software that uses it?17:55
udonocedk: http://www.oasis-open.org/committees/ubl/faq.php question 18.18:01
udonocedk: but maybe it's more usable for us in questions of general namings and models18:02
yangoonEDIFACT, DATANORM?18:03
udonoyangoon: UBL has EDIFACT as a source18:03
vengfulsquirrelcedk: What do you mean by this ?  "Add historical time-line in the client."  Do you mean allow users to view the data saved with the new "historisation" support?18:26
cedkudono: you can add UBL to the idea list18:28
cedkvengfulsquirrel: yes, I was thinking about something like timemachine on MacOSX18:29
udonocedk: ok18:29
cedkvengfulsquirrel: http://www.apple.com/macosx/features/timemachine.html18:29
-!- bechamel`(n=user@85.201.74.27) has joined #tryton18:33
cedkvengfulsquirrel: so globally, it will be a slider to set the date18:34
cedkvengfulsquirrel: and reload to records value for this date18:35
-!- bechamel(n=user@85.201.74.27) has joined #tryton18:36
vengfulsquirrelHa well it sounds good but excruciatingly difficult but I'm not fully aware of the inner workings of the historising implementation.18:37
cedkvengfulsquirrel: for now, it is only GUI devs18:39
cedkvengfulsquirrel: all the server stuffs are there18:39
vengfulsquirrelYeah I guess the viewing would be easy but "rolling back" to a previous date and time seems hard.18:40
vengfulsquirrelIs functionality to roll back already implemented on the server side ?18:40
vengfulsquirrelAlso, for the minimal web client does webdav need to be extended to support json or an entirely new interface created ?18:40
cedkvengfulsquirrel: read records at a specific date is already implemented :-)18:42
cedkvengfulsquirrel: for the webclient, it will not use the webdav18:42
vengfulsquirrelYeah I think that's the easier and most useful versus write.18:42
vengfulsquirrelYeah sorry I read JSON not JSON-RPC.18:42
cedkvengfulsquirrel: but I don't know if json is the best protocol, it will depend of the evaluation18:42
cedkvengfulsquirrel: and the tools used to develop18:43
cedkvengfulsquirrel: I think viewing record with a past date, will set it readonly18:44
cedkvengfulsquirrel: and perhaps, a function can be added to write the old value to the current one18:45
cedkvengfulsquirrel: like a kind of rollback18:45
vengfulsquirrelRight okay that sounds simpler, you can pull up an old version of a specific record and write over the current version of that record with the old one.  So not like any kind of a global rollback.18:47
cedkvengfulsquirrel: no it will not be possible18:49
saxavengfulsquirrel: yes, I meant exactly that18:55
saxaso you can compare the 2 products18:55
saxaand quickly sear another one if the one you had is not correct18:55
saxabecause you dont need to go to products list as you already have it opened18:56
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 169:8b07325cad1f stock_supply/ (order_point.py order_point.xml): Add unit and unit_digits on order point19:02
saxaone question, is from my side, how is closing of the financial year solved in tryton ?19:14
saxais there a way to export the year and begin again the new one from zero19:14
saxaor it goes forward and forward ?19:15
saxaand is there a way to backup all the data or you need to do it with a psql dump ?19:15
cedksaxa: I don't understand what you mean by from zero?19:19
cedksaxa: closing fiscal year will just prevent creating new moves in this year19:19
cedksaxa: and for account with deferral set to true, the debit/credit are forwarded to the next one19:20
saxafor example star invoices with the number one19:22
saxathat means from zero19:23
cedksaxa: sequence for invoice are define by fiscal year or period19:23
saxaok, but when you do finish your accounting of 2008 , only ammounts are transferred to the opening of 200919:24
saxaso customer with debit of x in 2008 results in 2009 with the same debt when you do the opening of the new fiscal year19:25
saxainvoice numbering begins again from 1 and up or it continues ?19:25
cedksaxa: yes for numbering (but you can choose to start with any number)19:34
cedksaxa: and yes for amount. For deferal we work in a different way than OpenERP.19:34
cedksaxa: we don't create new move, it is the function that compute debit/credit that take care to select all the right moves19:35
cedksaxa: this make that when you make reconciliation you will do it on the real move line19:36
saxacedk: ok, thx for the explanation19:37
saxaI will try to help in here, but my resources in time are very scarse to look at things19:38
saxain any case good job !!!19:38
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 253:849d9bd05f8b purchase/purchase.xml: Add separators for invoices and packings19:43
CIA-10tryton: C?dric Krier <ced@b2ck.com> default * 139:dcefdd600a6e sale/sale.xml: Add separators for invoices and packings19:43
-!- daeda(n=quassel@U32f0.u.pppool.de) has joined #tryton19:53
-!- daeda(n=quassel@U32f0.u.pppool.de) has joined #tryton19:54
-!- daedax20(n=quassel@U32f0.u.pppool.de) has joined #tryton19:55
CIA-10tryton: vengfulsquirrel * r465 /wiki/gsoc2009.wiki: Updated ideas section to be more specific and clear. Added justification to certain ideas.20:26
cedkvengfulsquirrel: once again, good job :-)20:35
vengfulsquirrelha thanks, if you could re-read each one though that'd be great, I occasionally made some extensive changes20:37
vengfulsquirrelDo you know if the project application project is difficult ?20:37
vengfulsquirrelLike not for contributors but for projects.20:37
cedkvengfulsquirrel: I don't know20:38
cedkvengfulsquirrel: I re-read it and it seems good to me20:39
cedkvengfulsquirrel: to be selected, I think we must show that the students will be well driven20:40
cedkvengfulsquirrel: and that the project is there for long-term20:40
cedkvengfulsquirrel: but it makes always good impression to have well writen text :-)20:41
cedkvengfulsquirrel: by the way, I did not ask you if you want to be mentor ?20:45
vengfulsquirrelcedk: Oh I don't know I kind of have a lot going on right now and I still feel like I don't understand a lot of the fundamentals of Tryton.  Ha I could be a backup backup or just help out whenever but  would not like to be the direct contact.  Thanks though.20:51
vengfulsquirrelI really want to get started on the production module and expanding the documentation though.  There is a lot of stuff that isn't documented still and there isn't a lot of how to solve use-cases documented either.20:52
-!- paola(n=paola@host-84-222-102-91.cust-adsl.tiscali.it) has joined #tryton21:04
-!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton21:20
cedkTimitos, udono, yangoon: do you want that we put the irclog on #tryton.de also?22:05
Timitoscedk: i will think about. but i seems to be a good idea22:07
cedkTimitos: I checked our script and it will be not difficult to add a /de directory22:08
Timitosgreat22:08
Timitoscedk: so if udono and yangoon also think it is a good idea we should do this22:09
cedkTimitos: by the way, who is the ower of the chan?22:10
udonoTimitos: cedk yangoon: yeah, to have it logged would be good.22:10
Timitoscedk: htgoebel i think. but i also have access rights for the channel22:10
cedkTimitos: it is in case there is issue with the content, we need to know who contact22:11
cedkTimitos: and so perhaps ask also to htgoebel if it is ok22:12
Timitoscedk: i put an email address on the irc. the email is related to me22:12
cedkTimitos: what is the command to show this (I don't remember)22:13
Timitoscedk: /msg ChanServ ACCESS #tryton.de LIST22:14
Timitoscedk: /msg ChanServ INFO #tryton.de22:16
Timitoscedk: for your bookmarks: http://t0x.in/ircfreenode.html22:17
cedkTimitos: thanks22:18
-!- juanfer(n=juanfer@190.26.105.211) has joined #tryton22:34
-!- rack1(n=racke@a89-183-29-226.net-htp.de) has joined #tryton22:49
-!- paola(n=paola@host-84-222-102-91.cust-adsl.tiscali.it) has left #tryton23:03

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