IRC logs of #tryton for Thursday, 2008-12-11

chat.freenode.net #tryton log beginning Thu Dec 11 00:00:01 CET 2008
2008-12-11 00:02 <X0d_of_N0d_> bechamel: so if I want to add something to the main menu I need to write the xml?
2008-12-11 00:03 <bechamel> X0d_of_N0d_: yes
2008-12-11 00:39 <cedk> X0d_of_N0d_: in fact, no you can create menu entry with the client
2008-12-11 00:40 <cedk> but we don't encourage this practice because it is not good for the long term
2008-12-11 00:40 <X0d_of_N0d_> cedk: it's being removed?
2008-12-11 00:40 <cedk> X0d_of_N0d_: no
2008-12-11 00:42 <X0d_of_N0d_> why do you consider it a bad practice?
2008-12-11 00:45 <cedk> X0d_of_N0d_: it depends on what you made
2008-12-11 00:46 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1346:a426e5b3e168 trytond/trytond/ir/ui/menu.py: Improve action_inv on ir.ui.menu for issue659
2008-12-11 00:46 -!- tekknokrat(n=gthieleb@dslb-088-075-224-020.pools.arcor-ip.net) has joined #tryton
2008-12-11 00:46 <CIA-54> tryton: ced roundup * #659/AttributeError: 'bool' object has no attribute 'split': [resolved] Fix with changeset a426e5b3e168
2008-12-11 00:46 -!- tekknokrat(n=gthieleb@dslb-088-075-224-020.pools.arcor-ip.net) has left #tryton
2008-12-11 00:47 <cedk> X0d_of_N0d_: if you just create an alternative tree menu, there will be not problems
2008-12-11 00:47 <X0d_of_N0d_> In tinyerp it is necssary to modify the ui in order to allow users to change their own passwords
2008-12-11 00:48 <X0d_of_N0d_> tryton is designed in a better way, so this isn't a problem
2008-12-11 00:48 <cedk> X0d_of_N0d_: but if you create new view for model and later you install a module that normally add field on the standard view, you custom view can not work if there is new field that are mandatory
2008-12-11 00:49 <X0d_of_N0d_> cedk: and I assume the case is the same for tinyerp
2008-12-11 00:52 <cedk> X0d_of_N0d_: yes
2008-12-11 00:53 <cedk> X0d_of_N0d_: that is why I don't like their view editor, as it create a duplicate view with a lower priority
2008-12-11 00:53 <X0d_of_N0d_> so in their example in the book about making a dup password entry field, if I modded the password entry field it would break
2008-12-11 00:53 <cedk> X0d_of_N0d_: when you will install or update the system, you can go into trouble
2008-12-11 00:54 <cedk> X0d_of_N0d_: don't understand dup nor modded ?
2008-12-11 00:54 <X0d_of_N0d_> hum.... that's good to know
2008-12-11 00:55 <X0d_of_N0d_> dup=duplicated
2008-12-11 00:55 <X0d_of_N0d_> modded=changed
2008-12-11 00:56 <X0d_of_N0d_> so if I followed the tinyerp book and duplicated the "change my password" view so I could make it accessable for all users
2008-12-11 00:56 <X0d_of_N0d_> and then I later built a module that modified that view, it would break
2008-12-11 00:57 <cedk> X0d_of_N0d_: the module will not be able to modify the customized view
2008-12-11 00:58 <X0d_of_N0d_> cedk: yeah, ok. well that's good to know, I'm glad I didn't do a bunch of crap and find out about that problem later.
2008-12-11 00:59 <cedk> X0d_of_N0d_: that is why we always suggest to create module
2008-12-11 01:00 <cedk> X0d_of_N0d_: so there is an exception about this with OpenERP, it is with the module recorder
2008-12-11 01:00 <cedk> X0d_of_N0d_: as it must create normally a module with your change
2008-12-11 01:00 <cedk> X0d_of_N0d_: but last time I try it (some months), it was not well working
2008-12-11 01:01 <cedk> X0d_of_N0d_: and I don't find it is faster to make dev in the client that with "vi" :-)
2008-12-11 01:02 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1347:11167d5d316f trytond/trytond/tools/convert.py: Add missing module in context when updating xml record for issue657
2008-12-11 01:02 <CIA-54> tryton: ced roundup * #657/Additional fields of inherited report also created for parent module: [testing] Must be fixed with the changeset 11167d5d316f
2008-12-11 02:46 <X0d_of_N0d_> it's not possible to import the client as a module because importing the daemon as a module would give you more direct access to the data, correct?
2008-12-11 02:47 <X0d_of_N0d_> or should it be possible to import tryton.client as a module
2008-12-11 02:47 <X0d_of_N0d_> ?
2008-12-11 02:49 <X0d_of_N0d_> hum... I can import it but not into ipython inside emacs
2008-12-11 02:50 <X0d_of_N0d_> ...because ipython is run with an argument and the tryton module trys to interpret the arguments
2008-12-11 02:52 <X0d_of_N0d_> hum...
2008-12-11 03:41 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2008-12-11 04:16 -!- X0d_of_N0d_(i=C-C_C-X@gateway/tor/x-501409a6991861f1) has joined #tryton
2008-12-11 05:20 -!- yangoon(n=mathiasb@p549F5432.dip.t-dialin.net) has joined #tryton
2008-12-11 07:13 <udono> X0d_of_N0d_: Hi, are you there?
2008-12-11 07:13 -!- nicoe(n=nicoe@ip-80-236-193-104.dsl.scarlet.be) has joined #tryton
2008-12-11 07:20 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-11 07:31 <udono> X0d_of_N0d_: please let us mail about the ldap module, or use the forum.
2008-12-11 07:31 <udono> X0d_of_N0d_: udono ata gmx do net is mine
2008-12-11 07:39 -!- nicoe(n=nicoe@ip-80-236-193-104.dsl.scarlet.be) has joined #tryton
2008-12-11 08:04 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2008-12-11 08:19 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-12-11 09:01 -!- Gedd(n=ged@233.86-242-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2008-12-11 09:18 -!- ecir3(n=brice@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-12-11 09:27 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2008-12-11 09:27 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2008-12-11 09:42 -!- Ged_(n=ged@77.109.115.150.adsl.dyn.edpnet.net) has joined #tryton
2008-12-11 09:47 -!- ecir3(n=brice@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-12-11 10:00 -!- ecir3(n=brice@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-12-11 10:19 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2008-12-11 10:56 -!- rvalyi(i=58aaece0@gateway/web/ajax/mibbit.com/x-83e4b70236fd9f6c) has joined #tryton
2008-12-11 11:23 <CIA-54> tryton: Timitos roundup * #660/LINE 1: ...tion.id IN (SELECT id FROM "stock_location" WHERE )) AND (st...: [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 282, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...
2008-12-11 11:49 -!- bechamel(n=user@host-213-213-252-112.brutele.be) has joined #tryton
2008-12-11 12:46 -!- marmu(n=marmu@p54AD50F1.dip.t-dialin.net) has joined #tryton
2008-12-11 13:02 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2008-12-11 13:19 -!- Guest83643(n=ged@77.109.114.245.adsl.dyn.edpnet.net) has joined #tryton
2008-12-11 13:27 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton
2008-12-11 13:59 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1348:7c214a89d26a trytond/trytond/webdavsvc.py: Quote the url for html page of webdav collection
2008-12-11 13:59 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1349:d2f25dd0e1ad trytond/ (4 files in 4 dirs): Add local cache and prefetch of datas for webdav speed improvement
2008-12-11 16:55 -!- bechamel(n=user@host-213-213-252-112.brutele.be) has joined #tryton
2008-12-11 17:06 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1350:16fde851411c trytond/trytond/ (ir/cron.py res/request.py): Call name_get for default value of user
2008-12-11 17:06 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1351:8b6fd8f7ca15 trytond/trytond/ (6 files in 3 dirs): Use a Session object for user instead of just an integer
2008-12-11 17:08 <CIA-54> tryton: Timitos roundup * #660/LINE 1: ...tion.id IN (SELECT id FROM "stock_location" WHERE )) AND (st...: [chatting] this happend when i tried to create a new warehouse. i tried to select an existing stock location and got this error.
2008-12-11 17:08 <oversize> hello, you guys use roundup, and i want to, too. but i dont understand their wsgi example. How do you run roundup (mod_python / wsig or standalone) and if wsgi, how to configure the wsgi handler?
2008-12-11 17:10 <cedk> oversize: standalone
2008-12-11 17:10 <bechamel> oversize: i think that roundup run on his own, with the python webserver
2008-12-11 17:11 <oversize> ok thx ... so i will go with that solution for now too. though i would like to use wsgi ...
2008-12-11 17:12 <oversize> but i wont even have half as much traffic as you, so performance should not be a problem ;)
2008-12-11 17:13 <CIA-54> tryton: Timitos roundup * #661/symbol of unit of measure seems not to be translated in standard invoice report: [new] everything is translated well in invoice except the unit of measure symbol. but i am not sure if perhaps all translatable fields are not tra ...
2008-12-11 17:20 <CIA-54> tryton: Timitos roundup * #662/invoice report opens with 228% zoom in OOO: [new] this is a little bit big. i think the report should be scaled to standard 100%. i don´t have this problem with other reports.
2008-12-11 17:22 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1108:46aeee06c780 tryton/tryton/ (2 files in 2 dirs): Handle invisible also on selection field in list view
2008-12-11 17:23 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 220:a10a8ad5f5a0 account_invoice/invoice.odt: Set zoom to 100% for issue662
2008-12-11 17:24 <CIA-54> tryton: ced roundup * #662/invoice report opens with 228% zoom in OOO: [resolved] Fix with changeset a10a8ad5f5a0
2008-12-11 17:29 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton
2008-12-11 17:30 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2008-12-11 17:31 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1352:f8f68efd9569 trytond/trytond/osv/orm.py:
2008-12-11 17:31 <CIA-54> tryton: Add a default clause for the inselect query of child_of with left and right
2008-12-11 17:31 <CIA-54> tryton: for issue660
2008-12-11 17:31 <CIA-54> tryton: ced roundup * #660/LINE 1: ...tion.id IN (SELECT id FROM "stock_location" WHERE )) AND (st...: Fix with changest f8f68efd9569
2008-12-11 17:33 <Timitos> cedk: thx for this fast fixing
2008-12-11 17:33 <CIA-54> tryton: ced roundup * #648/UI alignament BUG: [resolved] I mark it as resolved
2008-12-11 17:36 <Timitos> cedk: i try to add a tax of type 'None' in our account chart. but i have a small problem with this as tryton interpretes the value 'none' in the xml a boolean None and not as the value the field should have. do have an idea how i can handle this?
2008-12-11 17:37 <CIA-54> tryton: ced roundup * #661/symbol of unit of measure seems not to be translated in standard invoice report: [testing] I make a test and unit symbols are translated.
2008-12-11 17:38 <cedk> Timitos: how do you write the xml tag ?
2008-12-11 17:41 <Timitos> cedk: this is maybe the problem. but i have no idea about the correct way. http://paste.pocoo.org/show/94877/
2008-12-11 17:42 <cedk> Timitos: this must work
2008-12-11 17:43 <Timitos> cedk: no it doesn´t. it throws an error. shall i post on bug tracker?
2008-12-11 17:44 <cedk> Timitos: ok
2008-12-11 17:46 <CIA-54> tryton: Timitos roundup * #661/symbol of unit of measure seems not to be translated in standard invoice report: [resolved] solved. Party had no Language
2008-12-11 17:49 <CIA-54> tryton: Timitos roundup * #663/TypeError: int() argument must be a string or a number, not 'tuple': [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 282, in run res = method(*msg[2:]) File "/trytond/web_service/wiz ...
2008-12-11 17:50 <CIA-54> tryton: Timitos roundup * #663/TypeError: int() argument must be a string or a number, not 'tuple': [chatting] error when importing an xml like this: <record model='account.tax.template' id='tax14'> <field name='name'>Steuerfreier i.g. Erw ...
2008-12-11 18:18 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 331:049d41f2831c account/tax.py: Fix default_group for tax template for issue663
2008-12-11 18:18 <CIA-54> tryton: ced roundup * #663/TypeError: int() argument must be a string or a number, not 'tuple': [resolved] Fix with changeset 049d41f2831c
2008-12-11 18:20 -!- ikks_(n=igor@201.244.188.98) has joined #tryton
2008-12-11 18:22 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 23:595b544f3c79 account_product/product.xml: Inherit template view instead of product
2008-12-11 18:22 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 119:2ba8828b92a6 product/product.xml: Create template view and inherit it in product view
2008-12-11 18:22 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 179:d922b18fd67b purchase/purchase.xml: Inherit template view instead of product
2008-12-11 18:22 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 82:407a3788bc03 sale/sale.xml: Ingerit template view instead of product
2008-12-11 18:26 <CIA-54> tryton: Timitos roundup * #664/cannot create new warehouse: [new] i can create stock locations with type storage but i cannot add these locations when i try to create a warehouse. the selection for stock l ...
2008-12-11 18:29 <cedk> bechamel: ping
2008-12-11 18:33 <cedk> do you think it is usefull: http://openerp.com/forum/topic8604.html
2008-12-11 18:39 <udono> cedk: sorry, Iam not bechamel, but printing our journal for germany takes one and a half minute with approx. 250 pages...
2008-12-11 18:41 <cedk> udono: with moves ?
2008-12-11 18:42 <cedk> udono: bachamel is for an other topic
2008-12-11 18:44 <udono> cedk: not realy with moves, just 5 or 10 moves... but the most time is needed for opening openoffice. Maybe its more valuable to optimize the reports...
2008-12-11 18:44 <cedk> udono: yes not printing account without moves
2008-12-11 18:45 <cedk> udono: ok, but normally when Ooo start, the client can be used
2008-12-11 18:46 <udono> cedk: yes, the report parsing time has not been an issue since I use Tryton...
2008-12-11 18:47 <udono> cedk: to have a final decision we need bigger datasets for testing, I think.
2008-12-11 18:48 <udono> cedk: but for openERP it is very usefull to have forked process for printing, cos their engine is slow.
2008-12-11 18:49 <cedk> udono: yes, but I checked the code and I see one issue
2008-12-11 18:49 <bechamel> a thread will not speed anything it will just allow to use the client sooner
2008-12-11 18:49 <cedk> udono: with the OpenERP client, you can not make many rpc request at the same
2008-12-11 18:50 <cedk> udono: otherwise answer are mixed
2008-12-11 18:51 <cedk> bechamel: ok, but I would like to talke about the issue664
2008-12-11 18:53 <bechamel> cedk: i tried and i have a problem before creating the warehouse, selection a input location already raise an exception ... :-/
2008-12-11 18:53 <cedk> bechamel: fixed
2008-12-11 18:53 <cedk> bechamel: in fact there is an issue because we have a loop
2008-12-11 18:54 <cedk> bechamel: one way to do is create just warehouse as a location, create childs location and change warehouse location into warehouse
2008-12-11 18:54 <cedk> bechamel: but I find it is a little bit complicate for users
2008-12-11 18:54 <cedk> :-)
2008-12-11 18:58 <bechamel> cedk: and you think about a way which simplify warehouse creation and at the same time keep the constrains ?
2008-12-11 18:59 <cedk> bechamel: not yet :-)
2008-12-11 18:59 <cedk> bechamel: need to sleep a little before ;-)
2008-12-11 19:02 <bechamel> cedk: :D
2008-12-11 19:08 -!- cedk_(n=ced@ced.homedns.org) has joined #tryton
2008-12-11 19:09 <cedk> bechamel: if you put something after :D, repost because I have been disconnected
2008-12-11 19:12 <udono> cedk: bechamel If I use a fields.Sha for storing a password, can I recreate the original password back? (Hmmm. don't think so)
2008-12-11 19:13 <cedk> udono: normally no
2008-12-11 19:14 <cedk> udono: I think the collisions is 2^63
2008-12-11 19:15 <bechamel> udono: if you could it would be a problem
2008-12-11 19:16 <udono> cedk: that's not so much. But I don't like to brute force everytime the hash to login into ldap. Is it possible to hide the entry in a fields.Char? With dots or so? Or just with a fields.function
2008-12-11 19:16 <cedk> udono: and if you could, make a publish, you will become famous :-)
2008-12-11 19:16 <udono> cedk: I think its cracked if it is md5. I read about it...
2008-12-11 19:17 <cedk> udono: you can use the widget sha
2008-12-11 19:18 <cedk> udono: it is SHA-1
2008-12-11 19:18 <bechamel> udono: I guess your problem is to send the password to the ldap server ?
2008-12-11 19:18 <udono> cedk: fields.char('LDAP password') and in xml: ...widget="sha">
2008-12-11 19:18 <udono> bechamel: yes
2008-12-11 19:19 <udono> fields.Char
2008-12-11 19:19 <cedk> udono: but you must not store the password
2008-12-11 19:20 <udono> cedk: yes, you are right!
2008-12-11 19:20 <bechamel> maybe one solution is to put the passwords in a python dict and populate it when the user first connect
2008-12-11 19:22 <udono> cedk: but I need a password for connection bind... and later for user authentication. Or I am wrong?
2008-12-11 19:23 <cedk> udono: ha ok for the connection
2008-12-11 19:23 <cedk> udono: I was thinking if it must not be in the core of Tryton
2008-12-11 19:24 <udono> ACTION don't know a lot about ldap since yesterday...
2008-12-11 19:25 <CIA-54> tryton: matb roundup * #665/Error in wizard company: [new] Updated to tip, created new database, company wizard crashes: Traceback (most recent call last): File "/trytond/netsvc.py", line 282, in ...
2008-12-11 19:25 <udono> cedk: maybe, I would say, when ldap module is installed, then it should be impossible to login into tryton the standard way over security.py.
2008-12-11 19:26 <cedk> udono: if it is standard, you can store the connection param in the config file
2008-12-11 19:26 <udono> cedk: ... only if LDAP service is unavailable I would provide the standard login.
2008-12-11 19:27 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 1353:8c12a6cc4b00 trytond/trytond/ir/ui/view.py: Restart cache for all models on change of ir.ui.view
2008-12-11 19:27 <udono> cedk: maybe starting with a module and later implementing it into the core. Iam not this expertised in security environments...
2008-12-11 19:28 <cedk> udono: I think it will be good to post it on the google groups to know what people think about
2008-12-11 19:32 <yangoon> cedk: you just closed https://bugs.tryton.org/roundup/issue423
2008-12-11 19:32 <yangoon> cedk: did you do anything about it, there is no message why it is resolved...
2008-12-11 19:35 <bechamel> yangoon: there is a little subtlety with "word begins", actualy the exact wording should be "contains one word that begins with", but it's a bit too long
2008-12-11 19:55 <X0d_of_N0d_> udono: hey
2008-12-11 19:55 <X0d_of_N0d_> udono: you don't send the password to the ldap server, you use the password to auth against the ldap server
2008-12-11 19:56 <X0d_of_N0d_> ldap is very easy actually
2008-12-11 19:57 <bechamel> X0d_of_N0d_: but the auth need a clear text password
2008-12-11 19:58 <X0d_of_N0d_> yeah, and login takes in a clear text password then hashes it, right?
2008-12-11 19:58 <X0d_of_N0d_> hashes it on the server side
2008-12-11 19:58 <X0d_of_N0d_> ACTION looks up sercurity.py
2008-12-11 19:59 <bechamel> X0d_of_N0d_: yes, but this means that the ldap implementation must be made in the kernel, it's not possible to do it with a module
2008-12-11 19:59 <X0d_of_N0d_> you can't just override the login function?
2008-12-11 20:00 <bechamel> X0d_of_N0d_: monkey patching
2008-12-11 20:00 <bechamel> X0d_of_N0d_: maybe
2008-12-11 20:01 <X0d_of_N0d_> bechamel: why is this different from the ldap_users plugin for tinyerp?
2008-12-11 20:02 <bechamel> X0d_of_N0d_: good question, i will have a look
2008-12-11 20:03 <X0d_of_N0d_> I don't remember why but I modified the multicompany instead of the normal users_ldap
2008-12-11 20:03 <X0d_of_N0d_> I remember having a lot of problem getting the source code for users_ldap
2008-12-11 20:04 <X0d_of_N0d_> even though it's gpl, it was distrubted as pyc
2008-12-11 20:06 <udono> X0d_of_N0d_: what a pitty, I need to leave...
2008-12-11 20:07 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-12-11 20:07 <X0d_of_N0d_> udono: I sent you an email, just get back to me when you get a chance
2008-12-11 20:08 <udono> X0d_of_N0d_: I will publish tomorrow the module fragment. All integration for Tryton Module is made, just the LDAP things needed to re-implemented.
2008-12-11 20:09 <X0d_of_N0d_> I'll look at the ldap part of it when you publish
2008-12-11 20:09 <udono> X0d_of_N0d_: yeah, send me an Email, and I will send you the link to the modules repos.
2008-12-11 20:09 <bechamel> X0d_of_N0d_: i managed to override the login fct, and also to get "successful login" on the server log but nothing on the client
2008-12-11 20:09 <X0d_of_N0d_> udono: sent
2008-12-11 20:10 <X0d_of_N0d_> bechamel: hum.....
2008-12-11 20:10 <X0d_of_N0d_> bechamel: you just modify security, or did you override it?
2008-12-11 20:13 <udono> X0d_of_N0d_: http://mercurial.intuxication.org/hg/res_user_auth_ldap
2008-12-11 20:13 <udono> need to leave now
2008-12-11 20:14 <bechamel> X0d_of_N0d_: override, http://pastie.org/336996
2008-12-11 20:14 <X0d_of_N0d_> udono: later man
2008-12-11 20:14 <bechamel> id put this code on top of party/party.py
2008-12-11 20:14 <bechamel> udono: bye
2008-12-11 20:15 <X0d_of_N0d_> ACTION looks at it
2008-12-11 20:21 -!- vengfulsquirrel(n=ian@c-67-170-212-242.hsd1.ca.comcast.net) has joined #tryton
2008-12-11 20:23 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 332:b1b1306b697d account/party.py: Fix state test with company
2008-12-11 20:23 <X0d_of_N0d_> plugins work a little differently in tryton?
2008-12-11 20:25 <CIA-54> tryton: ced roundup * #665/Error in wizard company: [need-eg] I could not reproduce the issue, can you put the list of module installed?
2008-12-11 20:25 <cedk> X0d_of_N0d_: what do you call plugins?
2008-12-11 20:34 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2008-12-11 20:41 -!- tekknokrat(n=gthieleb@dslb-088-074-177-241.pools.arcor-ip.net) has joined #tryton
2008-12-11 20:41 <X0d_of_N0d_> cedk: modules
2008-12-11 20:42 <X0d_of_N0d_> I chose the wrong terminology...
2008-12-11 20:42 <X0d_of_N0d_> ACTION got distracted
2008-12-11 20:43 <cedk> X0d_of_N0d_: it is very close the same but with some difference to get more flexibility
2008-12-11 20:45 <X0d_of_N0d_> ACTION looks at udono's ldap code
2008-12-11 20:49 <vengfulsquirrel> Does the client connect to the server over ssl by default ? Or do I have to use something like stunnel ?
2008-12-11 20:49 <cedk> vengfulsquirrel: you have to set secure_netrpc to True in the config file
2008-12-11 20:50 <vengfulsquirrel> Fancy, thanks.
2008-12-11 20:52 <mmarshall> Yay! I've made my first module for tryton :)
2008-12-11 20:52 <mmarshall> http://freehg.org/u/mmarshall/trytond_usaddress
2008-12-11 20:55 <cedk> mmarshall: just one remark, I would do the check for US on the code instead of the name as the name can be translated
2008-12-11 20:56 <cedk> mmarshall: and for your remarks about the fact that by default the country can not be set
2008-12-11 20:57 <mmarshall> Oh yeah, duh.
2008-12-11 20:57 <cedk> mmarshall: I can suggest you that you put default value in the code or with the client (right click)
2008-12-11 20:58 <cedk> mmarshall: and one more, I will call super even if there is not ids
2008-12-11 20:58 <mmarshall> ok
2008-12-11 20:59 <mmarshall> I guess I have a few other questions... why is it that the method returns a dict when there are results but a list where there aren't any? Shouldn't it always return a dict to be consistent?
2008-12-11 21:00 <cedk> mmarshall: I hope you like that I made some remarks ?
2008-12-11 21:00 <mmarshall> cedk, yeah, it's all great :)
2008-12-11 21:00 <carlos> ACTION wants a gun to shoot his openerp installation, in concrete, the project management, time management and analytic accounts code
2008-12-11 21:00 <mmarshall> Thanks for pointing out the right click for default stuff.
2008-12-11 21:00 <cedk> mmarshall: yes it will be better to return a empty dict
2008-12-11 21:01 <carlos> let's include also the book about openerp for its obscurity....
2008-12-11 21:01 <carlos> cedk: I guess the triton project manager module will be released with the next trinton's major release, right?
2008-12-11 21:01 <carlos> at least I see there is some code already
2008-12-11 21:02 <cedk> carlos: it was a prototype for a demo
2008-12-11 21:02 <carlos> does it mean that there is no more work being done right now?
2008-12-11 21:04 <ikks> carlos, it looks like it doesn't, but as the docs are being improved, as the time passes more contributos will be able to build things by their own.
2008-12-11 21:04 <cedk> carlos: not for now, but there is time until the next release
2008-12-11 21:05 <mmarshall> cedk, There's a problem with leaving the Country blank... without a Country you can't select a Subdivision.
2008-12-11 21:06 <cedk> mmarshall: that is why I suggest to put US as default
2008-12-11 21:06 <carlos> cedk: which is planned for May, isn't it?
2008-12-11 21:07 <carlos> ikks: Included myself. I just wish days get 24 extra hours...
2008-12-11 21:07 <cedk> carlos: April, http://www.tryton.org/community/calendar.html
2008-12-11 21:07 <mmarshall> cedk, I see; I misunderstood you.
2008-12-11 21:07 <carlos> cedk: I wonder whether you are following the principles behind GNOME and Ubuntu for releases
2008-12-11 21:08 <cedk> carlos: I don't know those projects principles
2008-12-11 21:10 <carlos> cedk: release each 6 months even if some planned features are not ready (and leave those unfinished features for next release)
2008-12-11 21:11 <carlos> so you prevent that any new big feature delay the release and you have a predictive release schedule
2008-12-11 21:11 <cedk> carlos: yes, I like how OpenBSD does
2008-12-11 21:12 <carlos> I don't know how OpenBSD works, but I guess it's more or less like Ubuntu and GNOME work
2008-12-11 21:12 <carlos> cedk: btw, is good news that you follow something like that
2008-12-11 21:13 <cedk> carlos: yes after one release, we choose the next release date
2008-12-11 21:15 <carlos> actually, then is not exactly what I was talking about, but close to it. I was talking about doing a release each 6 months and don't move it more than a couple of weeks for unexpected bugs before final release
2008-12-11 21:16 <cedk> carlos: yes normally we make 2 release per year so it is 6 months :-)
2008-12-11 21:16 <carlos> ok ;-)
2008-12-11 21:27 -!- tekknokrat(n=gthieleb@dslb-088-074-177-241.pools.arcor-ip.net) has left #tryton
2008-12-11 21:47 <X0d_of_N0d_> bechamel: do you know anything about the ldap stuff?
2008-12-11 21:48 <X0d_of_N0d_> this seems to be breaking expr="/form/notebook/page[@string=&quot;_Preferences&quot;]"
2008-12-11 21:49 <bechamel> X0d_of_N0d_: there is a link between ldap and the xml ?
2008-12-11 21:49 <X0d_of_N0d_> I don't know enough about how the xml works
2008-12-11 21:49 <X0d_of_N0d_> I don't think so
2008-12-11 21:50 <X0d_of_N0d_> you mean between the actual ldap server, or just the ldap variables?
2008-12-11 21:51 <bechamel> X0d_of_N0d_: i don't understand, the piece of xml is an xpath query to inherit view, and i don't see how it could be related to ldap
2008-12-11 21:52 <X0d_of_N0d_> the
2008-12-11 21:52 <X0d_of_N0d_> bechamel: the view brings up a traceback
2008-12-11 21:53 <bechamel> X0d_of_N0d_: and the view comes from the ldap module from udono ?
2008-12-11 21:53 <X0d_of_N0d_> AttributeError: Couldn't find tag (xpath: /form/notebook/page[@string="_Preferences"]) in parent view!
2008-12-11 21:53 <cedk> X0d_of_N0d_: this is because the module of udono is not up todate with the trunk changes
2008-12-11 21:54 <bechamel> X0d_of_N0d_: remove the _ before Preferences
2008-12-11 21:54 <cedk> X0d_of_N0d_: you can just relace _Preferences by Preferences in users_ldap_view.xml
2008-12-11 21:54 <X0d_of_N0d_> bechamel: I think I fixed the ldap code (or at least got it working) but I can't really test it because I can't define my ldap stuff
2008-12-11 21:54 <X0d_of_N0d_> ok
2008-12-11 21:55 <X0d_of_N0d_> I'll have to restart the server because the xml isn't live, or is it?
2008-12-11 21:55 <bechamel> X0d_of_N0d_: restart and update
2008-12-11 21:55 <X0d_of_N0d_> ok
2008-12-11 21:56 <X0d_of_N0d_> brb
2008-12-11 21:58 <X0d_of_N0d_> ahh, ok
2008-12-11 22:00 <X0d_of_N0d_> well...that loaded, now there some more stuff to work out...
2008-12-11 22:00 <X0d_of_N0d_> ACTION heads to lunch
2008-12-11 22:09 <vengfulsquirrel> Once I've used easy_install to install the modules how do I get them to work with trytond? I don't see them as installed when I connect with the client.
2008-12-11 22:11 <bechamel> vengfulsquirrel: Administration > modules > modules, then clic on one modules
2008-12-11 22:12 <bechamel> vengfulsquirrel: at the bottom, clic Mark for Instalation (repeat if necessary) and then Perform Pending Instalation in the bottom bar
2008-12-11 22:12 <vengfulsquirrel> And that uses the eggs I already installed ?
2008-12-11 22:13 <bechamel> vengfulsquirrel: all modules listed are knowed by the server, so they must be installed on the system ( the procedure i gave you is to install them in the tryton db)
2008-12-11 22:14 <vengfulsquirrel> oh what does --init=all do ?
2008-12-11 22:15 <vengfulsquirrel> I'm just trying to understand how all the pieces fit together.
2008-12-11 22:15 <bechamel> vengfulsquirrel: it install all, i explain to do it from the gtk client
2008-12-11 22:16 <vengfulsquirrel> oh yeah I already did the init=all before connecting though, those should be equivalent right ?
2008-12-11 22:16 <bechamel> vengfulsquirrel: yes, it's the command-line way to install modules
2008-12-11 22:16 <vengfulsquirrel> Hmm that's weird I guess it didn't work for some reason then.
2008-12-11 22:17 <vengfulsquirrel> That's fine I re-installed them via the gtk client and now they seem to be installed.
2008-12-11 22:19 <bechamel> vengfulsquirrel: --init work in conjunction with -d <dbname>
2008-12-11 22:20 <vengfulsquirrel> Yeah --init=all -d trytond
2008-12-11 22:20 <vengfulsquirrel> where trytond is the name of my database
2008-12-11 22:21 <bechamel> vengfulsquirrel: yes exactly, i don't see why it didn't work
2008-12-11 22:22 <vengfulsquirrel> http://paste.pocoo.org/show/94955/
2008-12-11 22:22 <vengfulsquirrel> I mean the modules show up in gtk but they are not installed.
2008-12-11 22:24 <vengfulsquirrel> Does the install via gtk use easy_install ?
2008-12-11 22:25 <bechamel> vengfulsquirrel: easy_install of package is: download source code to the correct location on your file system
2008-12-11 22:26 <bechamel> vengfulsquirrel: install module on the gtk client is: parse this code and create table on the db accordingly (and create classes instance in the server)
2008-12-11 22:27 <vengfulsquirrel> hmm
2008-12-11 22:28 <bechamel> afk
2008-12-11 22:31 <vengfulsquirrel> Well I'm using virtualenv but I don't see how that would change anything but I'm just going to assume something I did made it not work. Its working now via gtk.
2008-12-11 22:31 <Timitos> carlos: udono and me will perhaps need some project stuff in the next weeks. i will post my thoughts on tryton google groups soon
2008-12-11 22:32 <carlos> Timitos: cool
2008-12-11 22:32 <Timitos> carlos: so we can perhaps put our ideas together to a some good basic modules
2008-12-11 22:33 <Timitos> cu tomorrow
2008-12-11 22:34 <carlos> Timitos: count with me, however, my project management knowledge is a bit limited (from the point of view of an ERP)
2008-12-11 22:34 <carlos> too late...
2008-12-11 22:39 <cedk> vengfulsquirrel: with fresh DB, when you make with command line "-i all", it install only kernel modules, if you run a second time "-i all", it will install the others
2008-12-11 22:40 <vengfulsquirrel> ha weird
2008-12-11 22:41 <vengfulsquirrel> okay well i'll keep that in mind
2008-12-11 22:41 <vengfulsquirrel> that probably did it
2008-12-11 22:42 <cedk> vengfulsquirrel: if you create the database manually, don't forget to create it with encoding UTF-8
2008-12-11 22:43 <vengfulsquirrel> I just said unicode *hopefully*
2008-12-11 22:43 <vengfulsquirrel> --encoding=unicode
2008-12-11 22:43 <cedk> vengfulsquirrel: the behavior is like that, because on first install the database is empty and so the system doesn't know any module
2008-12-11 22:45 <vengfulsquirrel> Hmm yeah I'm pretty sure it was already setup because I connected to the server before with the client.
2008-12-11 22:49 <vengfulsquirrel> Its working now though, thanks for the help , that's good to know next time.
2008-12-11 22:54 <cedk> vengfulsquirrel: if you find some improvement to do on the wiki, you can do
2008-12-11 23:05 <X0d_of_N0d_> this line breaks.... pooler.get_pool(cr.dbname).get('ir.actions.actions')
2008-12-11 23:05 <X0d_of_N0d_> in the ldap thing
2008-12-11 23:06 <X0d_of_N0d_> bechamel: what is that?
2008-12-11 23:09 <X0d_of_N0d_> nm, I think I've got an idea
2008-12-11 23:15 <udono> X0d_of_N0d_: Hey, Iam back ... for short
2008-12-11 23:15 <udono> X0d_of_N0d_: you get it workin?
2008-12-11 23:17 <udono> X0d_of_N0d_: ir.actions.actions could be ir.action in tryton...
2008-12-11 23:19 <X0d_of_N0d_> all the ldap stuff is working, but the tryton side seems to still be kind of broken
2008-12-11 23:19 <X0d_of_N0d_> udono: you want me to just push the changes and you can look at it?
2008-12-11 23:19 <udono> X0d_of_N0d_: do you have a login on intuxication?
2008-12-11 23:20 <X0d_of_N0d_> no
2008-12-11 23:20 <X0d_of_N0d_> oh, yeah, and there are a few notes to talk about too... but we'll talk when I've pushed the code
2008-12-11 23:21 <X0d_of_N0d_> or do you want me to just email it to you or something?
2008-12-11 23:21 <udono> http://mercurial.intuxication.org/register
2008-12-11 23:21 <udono> no, just register, and we collaborate on this together. Its more easy I think
2008-12-11 23:22 <X0d_of_N0d_> cool
2008-12-11 23:22 <udono> X0d_of_N0d_: and please gimme your nick on intuxication to add you on the list
2008-12-11 23:25 <X0d_of_N0d_> josh.dukes@microvu.com
2008-12-11 23:26 <X0d_of_N0d_> It's cool to see diri
2008-12-11 23:27 <udono> diri?
2008-12-11 23:27 <X0d_of_N0d_> intuxication uses diri for it's back end
2008-12-11 23:27 <udono> X0d_of_N0d_: you are from Queens of the stone age?
2008-12-11 23:28 <X0d_of_N0d_> ?
2008-12-11 23:28 <udono> X0d_of_N0d_: No, its another Josh...
2008-12-11 23:28 <udono> X0d_of_N0d_: just kidding
2008-12-11 23:28 <X0d_of_N0d_> heh
2008-12-11 23:28 <X0d_of_N0d_> yeah, I'm actually more into grindcore and thrashpunk myself
2008-12-11 23:28 <udono> X0d_of_N0d_: the email is you nick on intuxication?
2008-12-11 23:29 <X0d_of_N0d_> I guess
2008-12-11 23:29 <X0d_of_N0d_> hold up
2008-12-11 23:29 <udono> X0d_of_N0d_: 'cos mine is udono
2008-12-11 23:30 <X0d_of_N0d_> oh damn, yeah, I wasn't paying attention
2008-12-11 23:30 <X0d_of_N0d_> I put in my email as my login
2008-12-11 23:30 <udono> X0d_of_N0d_: just create a new account...
2008-12-11 23:31 <X0d_of_N0d_> bg
2008-12-11 23:31 <X0d_of_N0d_> brb
2008-12-11 23:37 <vengfulsquirrel> cedk: I'm not sure what I'd add but how would I add something ?
2008-12-11 23:38 <vengfulsquirrel> Or do you mean just comment /
2008-12-11 23:38 <vengfulsquirrel> *?
2008-12-11 23:40 -!- ikks(n=igor@190.144.69.234) has joined #tryton
2008-12-11 23:40 <X0d_of_N0d_> well whatever, that's my biz account anyway
2008-12-11 23:41 <X0d_of_N0d_> I'm just gonna use that
2008-12-11 23:41 <udono> vengfulsquirrel: hi, you are talking about adding conents to the wiki?
2008-12-11 23:41 <vengfulsquirrel> Yes
2008-12-11 23:41 <udono> X0d_of_N0d_: ok your nick is josh.dukes@microvu.com ?
2008-12-11 23:42 <X0d_of_N0d_> yeah
2008-12-11 23:43 <udono> X0d_of_N0d_: can't add you...
2008-12-11 23:43 <X0d_of_N0d_> ?
2008-12-11 23:43 <udono> X0d_of_N0d_: maybe better is a name without @ and . (dot). The webinterface said failed to me when I add josh.dukes@microvu.com
2008-12-11 23:44 <X0d_of_N0d_> ACTION grumbles
2008-12-11 23:44 <X0d_of_N0d_> ok...hold up
2008-12-11 23:45 <X0d_of_N0d_> ok try X0d_of_N0d
2008-12-11 23:45 <udono> X0d_of_N0d_: complaint to #intuxication user called meister
2008-12-11 23:45 <udono> X0d_of_N0d_: ;-)
2008-12-11 23:45 <cedk> vengfulsquirrel: I can add you as member, send me your google account
2008-12-11 23:46 <udono> X0d_of_N0d_: yes, I got it. Now you can push with your credentials
2008-12-11 23:47 <X0d_of_N0d_> wtf...
2008-12-11 23:47 <X0d_of_N0d_> huh
2008-12-11 23:47 <X0d_of_N0d_> lower case
2008-12-11 23:47 <X0d_of_N0d_> ok
2008-12-11 23:47 <X0d_of_N0d_> ok
2008-12-11 23:48 <X0d_of_N0d_> now that you should be able to look at the code there are a few issues....
2008-12-11 23:48 <X0d_of_N0d_> I was initially thinking that user wasn't the right place for this, but after seeing how you did it in the UI, you're right...
2008-12-11 23:48 <X0d_of_N0d_> you can ignore that comment
2008-12-11 23:51 <X0d_of_N0d_> udono: you got the changes I pushed?
2008-12-11 23:54 <udono> X0d_of_N0d_: yes, I've read them.
2008-12-11 23:54 <udono> X0d_of_N0d_: now Iam going to test...
2008-12-11 23:58 <X0d_of_N0d_> ok
2008-12-11 23:59 <udono> X0d_of_N0d_: what did I need on ldiff side to login?
2008-12-11 23:59 <X0d_of_N0d_> it does the ldap connect, auths, as the user, against ldap, disconnects... all that works but then I think the problem is somehwere in the check because it says int object unscriptable

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