IRC logs of #tryton for Monday, 2009-03-16

chat.freenode.net #tryton log beginning Mon Mar 16 00:00:01 CET 2009
2009-03-16 00:10 <CIA-10> tryton: ced roundup * #453/account_invoice wizard allows empty fields -> causes Issue 451: [resolved] I find this kind of warning not useful because users never read it.
2009-03-16 00:13 <CIA-10> tryton: ced roundup * #717/Defaults for salable and puchasable on products created from invoices: [resolved] It is not a good idea because a product created on invoice is not necessary salable or purchasable.
2009-03-16 00:18 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 257:a3f03f5e9d44 purchase/purchase.xml: Fix typo
2009-03-16 01:22 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-03-16 01:59 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has left #tryton
2009-03-16 03:28 -!- ikks(i=igor@190.120.128.88) has joined #tryton
2009-03-16 04:04 -!- gremly(n=gremly@190.156.163.98) has joined #tryton
2009-03-16 04:43 -!- igor(i=igor@190.102.223.93) has joined #tryton
2009-03-16 05:20 -!- yangoon(n=mathiasb@p549F5715.dip.t-dialin.net) has joined #tryton
2009-03-16 07:48 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-03-16 08:10 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-03-16 08:11 -!- racke(n=racke@a89-182-93-215.net-htp.de) has joined #tryton
2009-03-16 08:17 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-03-16 08:29 <CIA-10> tryton: Timitos roundup * #870/AttributeError: 'Screen' object has no attribute 'views': [new] Traceback (most recent call last): File "/tryton/gui/window/view_form/view/form_gtk/one2many.py", line 553, in _sig_new self.screen.mo ...
2009-03-16 08:34 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-03-16 08:56 -!- gadaga(n=gadaga@pic33-2-88-163-57-149.fbx.proxad.net) has joined #tryton
2009-03-16 08:58 -!- nicoe(n=nicoe@ip-80-236-226-142.dsl.scarlet.be) has joined #tryton
2009-03-16 09:19 -!- mrcast(n=mrcast@host158-4-dynamic.52-82-r.retail.telecomitalia.it) has joined #tryton
2009-03-16 09:19 -!- mrcast(n=mrcast@host158-4-dynamic.52-82-r.retail.telecomitalia.it) has left #tryton
2009-03-16 09:22 -!- simahawk(n=simao@host-84-222-60-220.cust-adsl.tiscali.it) has joined #tryton
2009-03-16 09:23 -!- simahawk(n=simao@host-84-222-60-220.cust-adsl.tiscali.it) has left #tryton
2009-03-16 09:35 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1218:0ecb7b2a4194 tryton/tryton/gui/window/view_form/ (model/group.py screen/screen.py): Use a set to store on_write function names
2009-03-16 09:41 -!- Gedd(n=ged@ip-80-236-226-142.dsl.scarlet.be) has joined #tryton
2009-03-16 09:44 <CIA-10> tryton: C?dric Krier <ced@b2ck.com> default * 1219:ec14e8f1e9a6 tryton/tryton/gui/window/view_form/screen/screen.py: Prevent to add empty on_write
2009-03-16 09:50 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-bad7414c8e02f5ed) has joined #tryton
2009-03-16 09:51 <cristi_an> cedk: assuming i have like 10 clients and each of them need an update
2009-03-16 09:51 <cristi_an> to a certain module
2009-03-16 09:51 <cristi_an> how can they do this update ?
2009-03-16 09:51 <cristi_an> without involving me ...
2009-03-16 09:52 <cedk> cristi_an: what do you call "update to a certain module" ?
2009-03-16 09:52 <cristi_an> something like accounting module is changed ...in logic...because it has to calculate some taxes diferently
2009-03-16 09:53 <cedk> cristi_an: you must update the source code and run --update on the server
2009-03-16 09:54 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2009-03-16 09:55 <cristi_an> it is like a have a new updated accounting module that has to end up on each of my customers
2009-03-16 09:55 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton
2009-03-16 09:55 <cristi_an> then to run --update ?
2009-03-16 09:56 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2009-03-16 09:59 <cedk> cristi_an: I don't know what is your architecture
2009-03-16 10:01 <cristi_an> cedk: nothing special...in the future i want to install tryton to some customers ,assume 10
2009-03-16 10:01 <cristi_an> among modules installed on server side there will be acounting module , which in romania is exposed to a lot of updates
2009-03-16 10:01 <cristi_an> due to laws that are changing each time
2009-03-16 10:02 <cristi_an> so...i would like to find out a way that if i publich that updated module on my website
2009-03-16 10:02 <cedk> cristi_an: I don't think they change it every week
2009-03-16 10:02 <cristi_an> not every week
2009-03-16 10:02 <cristi_an> but ...often belive me...
2009-03-16 10:02 <cedk> cristi_an: what is often ? once per month, per year...
2009-03-16 10:03 <cristi_an> 1/ month
2009-03-16 10:03 <cristi_an> for sure
2009-03-16 10:04 <cristi_an> even if they chaneg the title of a report or so....officialy they rename it
2009-03-16 10:04 <cristi_an> or add a new report needed for reporting
2009-03-16 10:04 <cristi_an> stuff like this
2009-03-16 10:05 <cedk> cristi_an: one per month !!!
2009-03-16 10:06 <cristi_an> check it out on versions
2009-03-16 10:06 <cristi_an> http://translate.google.com/translate?prev=hp&hl=ro&u=http%3A%2F%2Fsagasoft.ro%2F&sl=ro&tl=fr
2009-03-16 10:07 <cristi_an> and look on dates
2009-03-16 10:07 <Timitos> and /me thought that tax law of germany could not be beated by his complexity
2009-03-16 10:07 <cristi_an> :)
2009-03-16 10:08 <cristi_an> this changes are mainliy on salaries...i know you do not have a plan to do a module like that but here an erp must have taht
2009-03-16 10:10 -!- cedric_b(n=cedric@ANantes-158-1-6-241.w90-32.abo.wanadoo.fr) has joined #tryton
2009-03-16 10:13 <cedk> cristi_an: I don't know because I don't understand what is those changes
2009-03-16 10:13 <Timitos> cristi_an: i need some more customers for this. if there is enough demand we can do this. but only if there is enough demand.
2009-03-16 10:13 -!- enlightx(n=enlightx@217.202.1.57) has joined #tryton
2009-03-16 10:14 <cristi_an> cedk: the ideaa was to show that updated are even more tehn 1 / month :)
2009-03-16 10:14 <cristi_an> various things...:(
2009-03-16 10:14 <cristi_an> i know it sucks...
2009-03-16 10:14 <cristi_an> but i am not telling you bull shits
2009-03-16 10:14 <cristi_an> so the client has to be able to grab his module...and install it
2009-03-16 10:15 <cristi_an> since i will not be able to go on each (i hope that i will have more them 10) to do the upgrade
2009-03-16 10:15 <cristi_an> or to connect on each server and do it
2009-03-16 10:16 <cedk> cristi_an: write a script that will do that for you
2009-03-16 10:21 <cristi_an> k...so it is possible
2009-03-16 10:21 <cristi_an> that script to be executed by client
2009-03-16 10:21 <cristi_an> i was thinking to a action that can check a central repositiory from the client
2009-03-16 10:22 <cristi_an> and to update / replace the modules on demand...when a user
2009-03-16 10:22 <cristi_an> clcik on that
2009-03-16 10:22 <cristi_an> depending on current version ...
2009-03-16 10:23 <cedk> cristi_an: no, the client is not necessary on the same host than the server
2009-03-16 10:23 <cristi_an> i know but it cant push those changes or new modules to server ?
2009-03-16 10:27 <cedk> cristi_an: this is not a secure design
2009-03-16 10:28 <cristi_an> i ma sure you will face things like this...
2009-03-16 10:28 <cristi_an> so the customer has to be able to do the upgrade himsefl
2009-03-16 10:28 <cristi_an> if the module is put on some site
2009-03-16 10:29 <cristi_an> command line for a client is ....sking to much from him
2009-03-16 10:29 <cedk> cristi_an: I don't expect update an ERP often
2009-03-16 10:29 <gadaga> cristi_an: why you don't create a mercurial represitory and on server side put a script that check the mercurial, update the module and restart the server?
2009-03-16 10:30 <cristi_an> gadaga: that is something nice !
2009-03-16 10:32 <cristi_an> gadaga: that is quite good
2009-03-16 10:32 <cristi_an> and it is done automatically ?
2009-03-16 10:32 <cristi_an> everything...
2009-03-16 10:33 <cristi_an> so the client does not even need to know...it may be transparent to him
2009-03-16 10:34 <cristi_an> cedk: what do you thingk to gadagas solution
2009-03-16 10:34 <cristi_an> ?
2009-03-16 10:34 <gadaga> cristi_an: yes but you have a risk for restarting the server automatically
2009-03-16 10:35 <gadaga> cristi_an: if you module have an error and you push it on the server and restart it, the server can not restart....
2009-03-16 10:36 <cristi_an> yepppp.....:(
2009-03-16 10:36 <cristi_an> but then i have to go to see ...
2009-03-16 10:36 <cedk> cristi_an: upgrade is always a dangerous process
2009-03-16 10:36 <cedk> cristi_an: you can not do it with warning the users
2009-03-16 10:37 <gadaga> cedk: i agree
2009-03-16 10:37 <cedk> /with/without/
2009-03-16 10:38 <cedk> cristi_an: did you ever seen SAP upgrade automaticly ?
2009-03-16 10:39 <cristi_an> SAP nop
2009-03-16 10:40 <cristi_an> ok..then ...but an action started from client on demand...
2009-03-16 10:40 <gadaga> cedk: 2k3 server do that :D lol
2009-03-16 10:40 <cristi_an> that call a server procedure
2009-03-16 10:41 <cedk> cristi_an: we will not do it in the standard version because I think it is too dangerous
2009-03-16 10:41 <cristi_an> now the architecture....look for modules upgrades on server side
2009-03-16 10:41 <cristi_an> is possible to check that also un a central repository ?
2009-03-16 10:41 <cristi_an> on other server
2009-03-16 10:42 <cedk> for me the best is to have a script (it can be an exe) that make all the upgrade stuffs
2009-03-16 10:42 <cedk> in fact on Linux system, it must be the package manager job
2009-03-16 10:43 <cedk> on windows as there is no package manager, you must write your own
2009-03-16 10:43 <cristi_an> package manager ?
2009-03-16 10:43 <cristi_an> like apt-get
2009-03-16 10:45 <cedk> cristi_an: yes
2009-03-16 10:46 <cristi_an> cedk: but using that you get latest server package...but you still nedd to run a script to update the database ...
2009-03-16 10:47 <cristi_an> or it is done automatically when server starts ?
2009-03-16 10:48 -!- bechamel(n=user@85.201.74.27) has joined #tryton
2009-03-16 10:48 <cedk> cristi_an: the package manager could do it for you
2009-03-16 10:48 <cristi_an> wow
2009-03-16 10:48 <cristi_an> !
2009-03-16 10:49 <cristi_an> ok thx for all this precious info
2009-03-16 10:56 <cedk> cristi_an: but as I say the simplier is to write a little python script (and convert it into exe for windows)
2009-03-16 10:57 <cristi_an> and that exe...will know how to download th module acees the linuz server copy new files there restart the server etc
2009-03-16 10:57 <cristi_an> ?
2009-03-16 10:59 <cedk> cristi_an: if you write it of course
2009-03-16 10:59 -!- daedax20(n=quassel@p3EE26A85.dip.t-dialin.net) has joined #tryton
2009-03-16 10:59 <cristi_an> :)
2009-03-16 11:00 -!- enlightx(n=enlightx@host-84-220-84-215.cust-adsl.tiscali.it) has joined #tryton
2009-03-16 11:00 <cristi_an> is not rocket science
2009-03-16 11:00 <cristi_an> however there is a long way unitl i wil need that
2009-03-16 12:02 -!- igor__(i=igor@190.102.209.178) has joined #tryton
2009-03-16 12:52 -!- enlightx(n=enlightx@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton
2009-03-16 14:04 -!- gadaga(n=gadaga@pic33-2-88-163-57-149.fbx.proxad.net) has joined #tryton
2009-03-16 14:09 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-f312f4e017ea8f0e) has joined #tryton
2009-03-16 14:54 -!- enlightx(n=enlightx@host198-42-static.85-94-b.business.telecomitalia.it) has joined #tryton
2009-03-16 14:57 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2009-03-16 16:05 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-03-16 16:46 -!- enlightx(n=enlightx@host-84-220-84-215.cust-adsl.tiscali.it) has joined #tryton
2009-03-16 16:59 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-f6c5cc7f8b673138) has joined #tryton
2009-03-16 17:01 <cristi_an> guyus do you know gnucash app ?
2009-03-16 17:01 <cristi_an> do you know by change what database it uses
2009-03-16 17:01 <cristi_an> ?
2009-03-16 17:02 <cristi_an> by chance
2009-03-16 17:14 <ikks> cristi_an afaik, no db
2009-03-16 17:16 <cristi_an> yep
2009-03-16 17:16 <cristi_an> i just discovered
2009-03-16 17:16 <cristi_an> flat file
2009-03-16 17:17 <enlightx> cristi_an: if you need to deal with gnucash, there's a openobject addon for that purpose you can customize (btw, never tried)
2009-03-16 17:20 <cristi_an> i see thx...just wondered about the backend it has
2009-03-16 17:24 <enlightx> if i remember correctly, it uses sqlite by default
2009-03-16 17:27 <cristi_an> noooo
2009-03-16 17:27 <cristi_an> just files...
2009-03-16 17:28 <cristi_an> simple files..
2009-03-16 17:28 <enlightx> ah ok
2009-03-16 17:28 <cristi_an> wondered since it's size is
2009-03-16 17:28 <cristi_an> like
2009-03-16 17:28 <cristi_an> 65 MB
2009-03-16 17:40 <cristi_an> it has nice ui like tryton
2009-03-16 17:40 <cristi_an> guess uses GTk or somethign similar
2009-03-16 18:41 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-03-16 18:49 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-03-16 19:04 -!- enlightx(n=enlightx@host-84-220-84-215.cust-adsl.tiscali.it) has joined #tryton
2009-03-16 20:00 -!- racke(n=racke@p4FC9BEC5.dip.t-dialin.net) has joined #tryton
2009-03-16 20:31 -!- daedax20_(n=quassel@Z8cf1.z.pppool.de) has joined #tryton
2009-03-16 20:38 -!- paola(n=paola@host-84-222-102-91.cust-adsl.tiscali.it) has joined #tryton
2009-03-16 21:06 -!- Gedd(n=ged@77.109.113.77) has joined #tryton
2009-03-16 21:18 -!- daedax20__(n=quassel@Z8cf1.z.pppool.de) has joined #tryton
2009-03-16 21:39 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has left #tryton
2009-03-16 21:53 -!- enlightx(n=enlightx@host-84-220-84-215.cust-adsl.tiscali.it) has joined #tryton
2009-03-16 22:19 <vengfulsquirrel> Have any changes been made to the left/right stuff in the week or two that would make updating it have a larger penalty than before?
2009-03-16 22:26 <cedk> vengfulsquirrel: not in the two last weeks
2009-03-16 22:26 <cedk> vengfulsquirrel: could you give more explaination on what is slowing down
2009-03-16 22:27 <vengfulsquirrel> Well maybe its been longer than that. Is there a way to temporarily circumvent updating the tree while migrating? Right now I'm just calling location_obj.create over and over.
2009-03-16 22:33 <cedk> vengfulsquirrel: no there is nothing implemented
2009-03-16 22:35 <cedk> vengfulsquirrel: but this functionnality is used for trees that will not change often
2009-03-16 22:38 <cedk> vengfulsquirrel: how big is your tree?
2009-03-16 22:38 <vengfulsquirrel> Like 1000ish I think.
2009-03-16 22:40 <cedk> vengfulsquirrel: and how long did it take?
2009-03-16 22:43 <vengfulsquirrel> Well that was taking an hour before but I'm doing the whole migration now in one script so its hard to tell what's the slowdown now.
2009-03-16 22:44 <vengfulsquirrel> There are a lot of things going on so I could easily be doing something terribly wrong, ha never count that out.
2009-03-16 22:50 <cedk> vengfulsquirrel: you can disable to feature by patching the source and after call _rebuild_tree
2009-03-16 22:53 -!- mrcast(n=mrcast@host158-4-dynamic.52-82-r.retail.telecomitalia.it) has joined #tryton
2009-03-16 22:54 -!- mrcast(n=mrcast@host158-4-dynamic.52-82-r.retail.telecomitalia.it) has left #tryton
2009-03-16 22:54 -!- mrcast(n=mrcast@host158-4-dynamic.52-82-r.retail.telecomitalia.it) has joined #tryton
2009-03-16 22:54 -!- mrcast(n=mrcast@host158-4-dynamic.52-82-r.retail.telecomitalia.it) has left #tryton
2009-03-16 23:07 -!- bechamel(n=user@85.201.74.27) has joined #tryton
2009-03-16 23:08 -!- udono1(n=udono@dynamic-unidsl-85-197-23-12.westend.de) has left #tryton
2009-03-16 23:18 -!- tekknokrat(n=gthieleb@dslb-088-074-183-142.pools.arcor-ip.net) has joined #tryton
2009-03-16 23:18 -!- tekknokrat(n=gthieleb@dslb-088-074-183-142.pools.arcor-ip.net) has left #tryton

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