IRC logs of #tryton for Friday, 2008-09-05

chat.freenode.net #tryton log beginning Fri Sep 5 00:00:01 CEST 2008
2008-09-05 00:10 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 917:bc3a887272e8 trytond/trytond/module.py: Improve get_module_list to return only directory or zip file
2008-09-05 00:10 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 918:d4d2dd700dff trytond/trytond/osv/orm.py: Update ir_model with object information
2008-09-05 00:10 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 187:abaef0cb0dc8 account/tax.py: Fix description on tax
2008-09-05 02:15 -!- b52lap(n=b52lapto@41.249.250.195) has joined #tryton
2008-09-05 03:04 <yangoon> cedk: not understanding "yes for open an other client but he must loggin with an other user"
2008-09-05 03:05 <yangoon> cedk: currently it is possible to logintwice as same user
2008-09-05 05:19 -!- yangoon(n=mathiasb@p549F4959.dip.t-dialin.net) has joined #tryton
2008-09-05 08:33 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-09-05 08:42 -!- Gedd(n=ged@77.109.115.190) has joined #tryton
2008-09-05 08:51 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-05 08:51 <gadaga> hi
2008-09-05 08:52 <gadaga> hg pull -u
2008-09-05 08:52 <gadaga> oups :p
2008-09-05 08:55 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-09-05 09:05 <gadaga> cedk: hi, did you look for police and image in header.odt?
2008-09-05 09:08 <cedk> gadaga: no
2008-09-05 09:33 <CIA-45> tryton: gadaga roundup * #323/NameError: name 'parent' is not defined: [new] Traceback (most recent call last): File "/tryton/gui/window/view_form/view/list_gtk/parser.py", line 247, in setter text = self.get_te ...
2008-09-05 09:42 <CIA-45> tryton: ced roundup * #323/NameError: name 'parent' is not defined: [chatting] Which view?
2008-09-05 09:44 <CIA-45> tryton: gadaga roundup * #323/NameError: name 'parent' is not defined: the error is in account.invoice form view
2008-09-05 09:46 <CIA-45> tryton: ced roundup * #323/NameError: name 'parent' is not defined: [resolved] update account_invoice module
2008-09-05 09:51 <CIA-45> tryton: gadaga roundup * #323/NameError: name 'parent' is not defined: [chatting] same error with changset f62a16e963d1
2008-09-05 09:53 <CIA-45> tryton: gadaga roundup * #323/NameError: name 'parent' is not defined: more information : I haven't got error if i don't have an invoice line
2008-09-05 10:02 <CIA-45> tryton: Bertrand Chenal <bch@b2ck.com> default * 201:4535817b6421 stock/product.py: Improve comments
2008-09-05 10:10 <cedk> bechamel: they grab again http://bazaar.launchpad.net/%7Eopenerp/openobject-client/trunk/revision/602
2008-09-05 10:10 <cedk> bechamel: the button in list view
2008-09-05 10:10 <cedk> bechamel: without copyright
2008-09-05 10:11 <bechamel> cedk: and it's also a direct copy/paste ?
2008-09-05 10:11 <cedk> bechamel: I start to become really angry
2008-09-05 10:11 <cedk> bechamel: yes with my comments
2008-09-05 10:13 <cedk> bechamel: I think about posting on the forum, mailing list and so on
2008-09-05 10:16 <bechamel> cedk: maybe one can create a web page with a list of all the copyright infringements made by tiny
2008-09-05 10:17 <cedk> bechamel: ho, yes that is a good idea
2008-09-05 10:20 <cedk> bechamel: I will put it on the wiki
2008-09-05 10:22 <bechamel> cedk: ok
2008-09-05 10:43 <CIA-45> tryton: gadaga roundup * #324/Exception: ('Error', "Can't connect to (bootstrap) OpenOffice.org"): [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 336, in run res = method(*msg[2:]) File "/trytond/web_service/rep ...
2008-09-05 10:44 <CIA-45> tryton: gadaga roundup * #324/Exception: ('Error', "Can't connect to (bootstrap) OpenOffice.org"): [chatting] can you explain me how to?
2008-09-05 10:58 <cedk> bechamel: http://code.google.com/p/tryton/wiki/TinyCopyrightInfringement
2008-09-05 10:59 <bechamel> cedk: yes
2008-09-05 11:00 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 919:ebe9bc89882a trytond/trytond/ir/module/module.xml: Better layout for button on module form view
2008-09-05 11:06 <CIA-45> tryton: ced roundup * #323/NameError: name 'parent' is not defined: [resolved] What I see, it is that the error comes when the client try to evaluate the digits attributes for the amount of the line. And in the cod ...
2008-09-05 11:08 <CIA-45> tryton: ced roundup * #324/Exception: ('Error', "Can't connect to (bootstrap) OpenOffice.org"): [resolved] Ask to http://openoffice-python.origo.ethz.ch/ I think that can happend when you have an already Ooo instance
2008-09-05 11:10 <CIA-45> tryton: gadaga roundup * #323/NameError: name 'parent' is not defined: [chatting] resolved with an update=all
2008-09-05 11:12 -!- ChanServ(ChanServ@services.) has joined #tryton
2008-09-05 11:12 -!- Gedd(n=ged@77.109.115.190) has joined #tryton
2008-09-05 11:12 -!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton
2008-09-05 11:13 <CIA-45> tryton: ced roundup * #323/NameError: name 'parent' is not defined: [resolved] So set the status to resolved!
2008-09-05 11:16 -!- udono(n=udono@dynamic-unidsl-85-197-22-110.westend.de) has joined #tryton
2008-09-05 11:25 <CIA-45> tryton: krier.cedric * r137 /wiki/TinyCopyrightInfringement.wiki: Initial import of copyright infringements.
2008-09-05 11:25 <CIA-45> tryton: krier.cedric * r138 /wiki/TinyCopyrightInfringement.wiki: Add vat validation.
2008-09-05 11:25 <CIA-45> tryton: krier.cedric * r139 /wiki/TinyCopyrightInfringement.wiki: Add account template.
2008-09-05 11:42 <yangoon> cedk: ping
2008-09-05 11:43 <yangoon> cedk: did you read my last comment on opening multiple clients?
2008-09-05 11:43 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 920:9c2ff388844b trytond/trytond/module.py: Don't log error message for module 'all'
2008-09-05 11:43 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 921:9a9945749691 trytond/trytond/tools/convert.py: Fix post_import to delete only record from the module
2008-09-05 11:43 <cedk> yangoon: where?
2008-09-05 11:43 <yangoon> cedk: here on irc
2008-09-05 11:44 <cedk> yangoon: I answer: yes for open an other client but he must loggin with an other user
2008-09-05 11:44 <yangoon> cedk: I didn't understand "yes for open an other client but he must loggin with an other user"
2008-09-05 11:45 <cedk> yangoon: because user context is stored on the database
2008-09-05 11:45 <cedk> yangoon: so using the same user, you will have the same context
2008-09-05 11:45 <yangoon> cedk: I answered "currently it is possible to login twice as same user"
2008-09-05 11:45 <yangoon> cedk: ah ok, now better understanding
2008-09-05 11:46 <cedk> yangoon: don't receive your answer
2008-09-05 11:46 <cedk> yangoon: before we have block the login more than once
2008-09-05 11:46 <cedk> yangoon: but it seems to be annoying somes
2008-09-05 11:47 <yangoon> cedk: yes, we discussed the subject some time ago
2008-09-05 11:47 <cedk> yangoon: I also think about the possibility to set the tab in readonly when you change the user preference
2008-09-05 11:47 <yangoon> cedk: and if he (re)-switches again?
2008-09-05 11:48 <yangoon> cedk: sounds problematic
2008-09-05 11:48 <cedk> yangoon: we can compare the context, if it is the same the tab is enable otherwise disable
2008-09-05 11:49 <yangoon> cedk: sounds good!:)
2008-09-05 11:51 <yangoon> cedk: anyway there should be better display of actual context in status bar
2008-09-05 11:51 <cedk> yangoon: but context can be very big
2008-09-05 11:52 <yangoon> cedk: just changed company in one client, second client (as same user) is not updated, but looking at preferences indeed shows same company as client 2
2008-09-05 11:53 <yangoon> cedk: displaying just the properties of User/Preferences in status bar would be great
2008-09-05 11:53 <yangoon> cedk: without group permissions
2008-09-05 11:54 <cedk> yangoon: but they can be extended by modules so it is difficult to know the real size
2008-09-05 11:54 <yangoon> cedk: most important nevertheless: to update it as soon as a form is entered
2008-09-05 11:55 <cedk> yangoon: for the two users case, that is why for me we must avoid different logging by user
2008-09-05 11:55 <bechamel> logging > login
2008-09-05 11:58 <yangoon> cedk: the solution with comparing contexts and disabling tabs finally sounds best for me
2008-09-05 11:59 <cedk> yangoon: yes but we can not download every time the user preferences to check if there is not an other user that change it
2008-09-05 11:59 <yangoon> cedk: seems to handle all the problems: multiple login, multiple company
2008-09-05 12:00 <yangoon> cedk: just another thought
2008-09-05 12:00 <yangoon> cedk: what about the request channel
2008-09-05 12:00 <yangoon> could it be possible to send via this channel informations to other clients
2008-09-05 12:01 <yangoon> cedk: just to change from a pull scenario to a push scenario in case a client changed preferences
2008-09-05 12:02 <cedk> yangoon: it is a little bit random as solution
2008-09-05 12:04 <yangoon> cedk: but perhaps could be interesting also for other things
2008-09-05 12:05 <cedk> one solution can be if a user change the preferences, all his session become "timeouted"
2008-09-05 12:05 <cedk> so like that he need to loggin again and fetch the new context
2008-09-05 12:07 <yangoon> cedk: that is the radical solution, like closing tabs
2008-09-05 12:07 <yangoon> cedk: but would also solve solve multiple login
2008-09-05 12:07 <cedk> yangoon: no, because timeout needs just to re-enter the password
2008-09-05 12:07 <cedk> yangoon: which is normal if the user have change the password :-)
2008-09-05 12:08 <cedk> I think about the timeout solution for multi-login and tab readonly for different context in the client
2008-09-05 12:08 <yangoon> cedk: great!
2008-09-05 12:09 <cedk> bechamel: ping
2008-09-05 12:10 <bechamel> cedk: yes it sounds good
2008-09-05 12:12 <yangoon> cedk: with timeout solution for multi-login you won't need tab handling, because there won't be any "outdated" tab in any client
2008-09-05 12:14 <cedk> yangoon: no, because timeout doesn't mean that you lost all your tabs
2008-09-05 12:14 <yangoon> cedk: we will lose possibilty to work in different companies as same user at the same time
2008-09-05 12:14 <cedk> yangoon: but the context will be reload on the client and the tab will become readonly if context changed
2008-09-05 12:14 <cedk> yangoon: it is not a lost but it is a need
2008-09-05 12:14 <yangoon> cedk: ah ok, then this is really the way to go
2008-09-05 12:16 <yangoon> cedk: you change "timeout" message to "session data invalid" and the user will understand (hopefully)
2008-09-05 12:17 <cedk> yangoon: but he must know because it is himself that change the preferences
2008-09-05 12:18 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 922:cad89491d119 trytond/trytond/ (ir/lang.py osv/orm.py webdav/webdav.py workflow/workflow.py): Remove _log_access on ORM
2008-09-05 12:19 <CIA-45> tryton: mathias.behrle@gmx.de * r140 /wiki/TinyCopyrightInfringement.wiki: Added google_maps to copyright infringements
2008-09-05 12:19 <yangoon> cedk: of course he should, but just in case he works on 2 machines, goes from one to another, he perhpas doesn't have in mind he did change preferences
2008-09-05 12:20 <cedk> yangoon: but if he works like that it is normal to have timeout
2008-09-05 12:20 <yangoon> cedk: but it is not a timeout
2008-09-05 12:20 <yangoon> cedk: session data are invalid
2008-09-05 13:10 <yangoon> cedk: In User/Preferences under timezone there is a disabled field Add/Remove, that seems to have no purpose
2008-09-05 13:11 <cedk> yangoon: it is information for the user
2008-09-05 13:12 <yangoon> cedk: but it is nothing in there
2008-09-05 13:13 <cedk> yangoon: it is the add/remove for the group
2008-09-05 13:14 <yangoon> cedk: ok, and why is it disabled for admin?
2008-09-05 13:14 <cedk> yangoon: ok I will try to put a separator above
2008-09-05 13:14 <cedk> yangoon: because admin is an exception and group must be modified in administration menu
2008-09-05 13:15 <yangoon> cedk: or put text label "Group" just besides the selection field
2008-09-05 13:19 <yangoon> cedk: I still don't understand the purpose of the selection field: whatever user I am using it is always disabled
2008-09-05 13:20 <cedk> yangoon: it is for information, because normal user will not have acces to admin menu
2008-09-05 13:20 <yangoon> cedk: and if group management is done in Administration (where it should be), then it makes no sense to put it there
2008-09-05 13:20 <cedk> yangoon: it is for information
2008-09-05 13:21 <yangoon> cedk: you cannot display groups without the selection field?
2008-09-05 13:22 <cedk> yangoon: no
2008-09-05 13:26 <yangoon> cedk: it is a bit ugly, since at the top there is "Edit User Preferences..." and all other fields are editable
2008-09-05 13:27 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 923:af52e79df675 trytond/trytond/ (ir/ui/menu.py osv/orm.py):
2008-09-05 13:27 <CIA-45> tryton: Fix ConcurrencyException to be time independant
2008-09-05 13:27 <CIA-45> tryton: Add new keyword field '_timestamp'
2008-09-05 13:27 <CIA-45> tryton: Check concurrency based on _timestamp of each ids
2008-09-05 13:27 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 740:123a3d8cfdd3 tryton/tryton/ (3 files in 2 dirs): Fix client to use _timestamp instead of read_delta
2008-09-05 13:30 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 924:781813c18101 trytond/trytond/res/user.py: Set field many2many with colspan="2" for preference view
2008-09-05 13:31 <cedk> yangoon: with this changeset 781813c18101, the view will be better
2008-09-05 13:31 <yangoon> cedk: ok, I cannot update as fast as you work...;)
2008-09-05 14:05 <gadaga> anyone try to have invoice in pdf and label for party in odt for exeample? I can't have pdf and odt on the same time, pdf works and odt don't open Ooo
2008-09-05 14:11 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-09-05 14:23 <yangoon> anyone can have a look to http://pastebin.com/m7b349099
2008-09-05 14:24 <yangoon> I wanted to make session timeout configurable, and SESSION_TIMEOUT in the debugger indeed has value of session_timeout in Configuration file
2008-09-05 14:25 <yangoon> but it doesn't work in the client
2008-09-05 14:25 <yangoon> the client doesn't timeout any more
2008-09-05 14:29 <cedk> yangoon: this is because the client generate a request every 5 min
2008-09-05 14:30 <yangoon> cedk: but if hardcoded it takes each value correctly
2008-09-05 14:30 <yangoon> cedk: value of SESSION_TIMEOUT
2008-09-05 14:33 <cedk> yangoon: don't understand
2008-09-05 14:34 <yangoon> if I set SESSION_TIMEOUT to whatever value in security.py, the value is respected and timeout works as expected
2008-09-05 14:35 <yangoon> but if I set SESSION_TIMEOUT = CONFIG['session_timeout'], it doesn't work anymore
2008-09-05 14:36 <yangoon> cedk: and the debugger returns correct value for SESSION_TIMEOUT
2008-09-05 14:38 <yangoon> cedk: what means: SESSION_TIMEOUT is indeed set to value of CONFIG['session_timeout']
2008-09-05 14:50 <cedk> yangoon: SESSION_TIMEOUT must be integer and I thing that you give a string
2008-09-05 14:54 <yangoon> cedk: that's it
2008-09-05 15:09 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-05 15:32 <CIA-45> tryton: matb roundup * #325/Make session timeout configurable: [new] changegroup file attached
2008-09-05 15:32 -!- udono(n=udono@dynamic-unidsl-85-197-22-110.westend.de) has joined #tryton
2008-09-05 15:36 <yangoon> cedk: I don't know, if 325 has correct state and is correctly assigned for a contribution??
2008-09-05 15:41 <yangoon> cedk: ping
2008-09-05 15:41 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-05 15:45 <bechamel> yangoon: the best is to leave the issue unassigned, because whe (me and ced) received a mail everyday whith the lst of unasigned issues
2008-09-05 15:45 <yangoon> bechamel: ok, and state?
2008-09-05 15:47 <CIA-45> tryton: udono roundup * #322/Uninstall Modules: 1. May it possible to uninstall just the constraint, but leave the column. Like ALTER TABLE module_table DROP CONSTRAINT module_attribute; ALTER ...
2008-09-05 15:55 <bechamel> yangoon: testin is ok
2008-09-05 15:56 <yangoon> becamel: wiki says: Assign the issue to your user with a comment that you are working on it and you will provide a fix.
2008-09-05 15:57 <yangoon> bechamel: so it is not clear atm
2008-09-05 16:09 <cedk> yangoon: make like the wiki says
2008-09-05 16:12 <CIA-45> tryton: udono roundup * #317/changing company doesn't affect current session: [chatting] Maybe just allow to change the company if only the Menutab is open. If there are other Tabs open, force an alert, that all open Tabs fi ...
2008-09-05 16:15 <CIA-45> tryton: ced roundup * #325/Make session timeout configurable: [in-progress] I can not add the changeset: the exception "NotLogged" is a key word that is used in the client Please provide a changeset without t ...
2008-09-05 16:27 <CIA-45> tryton: mathias.behrle@gmx.de * r141 /wiki/HowtoContribute.wiki: Edited wiki page through web user interface.
2008-09-05 16:27 <CIA-45> tryton: krier.cedric * r142 /wiki/HowtoContribute.wiki:
2008-09-05 16:27 <CIA-45> tryton: udono roundup * #316/TypeError: format_lang() got an unexpected keyword argument 'language': [resolved] Ouch, my fault, sorry. Everything works fine. I have installed my own template, and forgotten the date field to change to the new forma ...
2008-09-05 16:31 <CIA-45> tryton: ced roundup * #322/Uninstall Modules: 1. It is not easy to know if a constraint can be drop because it can be used by others modules. 2. It is not a problem of table columns because re ...
2008-09-05 16:36 -!- gael_(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-09-05 16:42 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has joined #tryton
2008-09-05 17:10 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 925:3bdf08400495 trytond/trytond/report/report.py:
2008-09-05 17:10 <CIA-45> tryton: Fix style in report as we can not replace file in zipfile.
2008-09-05 17:10 <CIA-45> tryton: So we create a new zipfile by adding file one by one
2008-09-05 17:10 <cedk> gadaga: this fix the image in the company header for report
2008-09-05 17:11 <cedk> gadaga: but for the font, I find why it doesn't work but I don't know how to fix
2008-09-05 17:11 <cedk> as it is perhaps an Ooo bug
2008-09-05 17:12 <cedk> if the font defined in styles.xml is not also used in content.xml, Ooo doesn't use it
2008-09-05 17:14 <cedk> if anybody have an idea about this issue with Ooo?
2008-09-05 17:25 <gadaga> cedk: my image doesn't appear :(
2008-09-05 17:26 <cedk> gadaga: is the image in the file ?
2008-09-05 17:29 <gadaga> cedk: yes
2008-09-05 17:30 <gadaga> cedk: the original image is a png
2008-09-05 17:31 <gadaga> cedk: i can send you my header
2008-09-05 17:31 <cedk> gadaga: ok
2008-09-05 17:32 <gadaga> cedk: email done
2008-09-05 17:37 <gadaga> cedk: you received my header?
2008-09-05 17:54 -!- tekknokrat(n=gthieleb@port-87-193-170-219.static.qsc.de) has left #tryton
2008-09-05 18:03 <CIA-45> tryton: udono roundup * #312/Please change default for Quit Message to Yes: [chatting] Fixed with the attached Changeset. Additional I moved the win_sur frome glade to pygtk. Please check and push into repository.
2008-09-05 18:07 <cedk> udono: I don't know if it is good to change default for Quit
2008-09-05 18:07 <udono> cedk: Why?
2008-09-05 18:08 <cedk> udono: because it will become a kind of habit
2008-09-05 18:08 <udono> cedk: If there are unsaved tabs, Tryton will not quit, before you safe or cancel...
2008-09-05 18:09 <cedk> udono: so if you think like that the popup is not needed
2008-09-05 18:10 <udono> cedk: And if someone want to close tryton, the dialog ask back, but normaly you want quit, so make ok default. I thing its save enough with default ok.
2008-09-05 18:11 <cedk> udono: and by the way, it is better to not put other stuf in issue
2008-09-05 18:11 <cedk> udono: if we decide to just take the pygtk stuff with you changeset, it is not possible
2008-09-05 18:12 <udono> cedk: :-) Just a line of code to be changed...
2008-09-05 18:48 <CIA-45> tryton: C?dric Krier <ced@b2ck.com> default * 82:8fd813bf7a62 purchase/ (purchase.py purchase.xml):
2008-09-05 18:48 <CIA-45> tryton: Add delivery_time on product_supplier
2008-09-05 18:48 <CIA-45> tryton: Add compute_supply_date on product_supplier
2008-09-05 18:48 <CIA-45> tryton: Set the purchase date to the date of the Confirmation
2008-09-05 18:48 <CIA-45> tryton: Set the planned date on the moves
2008-09-05 19:02 <CIA-45> tryton: uspallek@Lisa.dsl default * 741:44872017177e tryton/ (share/tryton/tryton.glade tryton/common/common.py): Changed the Tryton close behavoir for issue312 and convert win_sur to pygtk.
2008-09-05 19:03 <CIA-45> tryton: ced roundup * #312/Please change default for Quit Message to Yes: [resolved] Apply with the changeset 44872017177e and no other changeset from the bundle.
2008-09-05 22:20 -!- udono(n=udono@dynamic-unidsl-85-197-22-110.westend.de) has left #tryton
2008-09-05 22:34 <CIA-45> tryton: matb roundup * #325/Make session timeout configurable: [testing] changeset session_2.hg without change of keyword
2008-09-05 22:45 <CIA-45> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 926:0bd979b64918 trytond/ (etc/trytond.conf trytond/config.py trytond/security.py): Make session timeout configurable
2008-09-05 22:46 <CIA-45> tryton: ced roundup * #325/Make session timeout configurable: [resolved] Applied
2008-09-05 22:47 <CIA-45> tryton: ced roundup * #325/Make session timeout configurable: [chatting] Next time, re-assign the issue to nobody when you put the patch. And for small change prefer export instead of bundle, it is easier for ...
2008-09-05 22:54 <CIA-45> tryton: matb roundup * #325/Make session timeout configurable: [resolved] will do so. Thanks for applying the patch

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