IRC logs of #tryton for Saturday, 2008-06-07

chat.freenode.net #tryton log beginning Sat Jun 7 00:01:01 CEST 2008
2008-06-07 05:18 -!- yangoon(n=mathiasb@p549F7940.dip.t-dialin.net) has joined #tryton
2008-06-07 08:48 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-06-07 09:23 <udono> good morning ced, is it possible that the label tags in view doesen't understand the align="1.0" property?
2008-06-07 09:34 <udono> sorry, my fault
2008-06-07 09:36 <udono> 1.0 is the preference for right alignment and 0.0 for left...
2008-06-07 09:37 <udono> http://www.tryton.org/~irclog/ not found
2008-06-07 09:42 -!- FWiesinger(n=franz@194.208.185.12) has joined #tryton
2008-06-07 09:43 <FWiesinger> Guten Morgen
2008-06-07 09:46 <udono> good morning FWiesinger
2008-06-07 09:47 <FWiesinger> morning
2008-06-07 10:39 <udono> hello cedk, view inheritance replace: did I need for every replace a new record, or is it possible to replace a chunk of fields/labels?
2008-06-07 10:42 <udono> cedk: if I try this: http://paste.pocoo.org/show/63979/ than I get an ('Invalid XML for View Architecture!', 'arch') Error
2008-06-07 10:44 <udono> If I divided it in two records, I get the same error...
2008-06-07 10:47 <cedk> udono: normally, you can have many xpath tag in data
2008-06-07 10:48 <udono> cedk: the limitation about replace in tiny is not existing in tryton?
2008-06-07 10:48 <cedk> udono: what is the complete error message
2008-06-07 10:48 <cedk> udono: no
2008-06-07 10:49 <udono> ('Invalid XML for View Architecture!', 'arch') shown by client, http://paste.pocoo.org/show/63985/ by the server
2008-06-07 10:52 <udono> BTW it would be great if you enhance the title of this IRC by "Traceback/Code Paste: http://paste.pocoo.org/" poco is a great pastengine with a lot of syntax highlighting...
2008-06-07 10:53 <cedk> udono: you must have a error message on the server side
2008-06-07 10:54 <udono> http://paste.pocoo.org/show/63985/ its this one
2008-06-07 10:57 <cedk> udono: you don't have a log line that begins with: "Invalid xml view: "
2008-06-07 10:58 <udono> no, sorry. Did I miss a python package for this?
2008-06-07 10:59 <udono> oh, just wait there is another...
2008-06-07 11:01 <udono> no, not. If I put out http://paste.pocoo.org/show/63979/ of the code it works, if I put this in than comes the error: http://paste.pocoo.org/show/63985/
2008-06-07 11:02 <cedk> udono: can you try with <xpath ...></xpath>
2008-06-07 11:03 <udono> I did it first, but the same error
2008-06-07 11:03 <cedk> udono: I think this is the dtd that is wrong
2008-06-07 11:04 <udono> ... now I cant start the client... it die by the validation error. I need to DELETE the view in the database...
2008-06-07 11:09 <udono> cedk: strange thing, in table ir_ui_view is the right view without the xpath replace records, in filesystem, too. But the client wont start... need more search...
2008-06-07 11:20 <cedk> udono: have 4Suite installed ?
2008-06-07 11:23 <udono> seems not, I try to install
2008-06-07 11:28 <udono> no, found out it is installed, can import some Ft. * (thought it is called by 4Suite.*)
2008-06-07 11:28 <udono> cedk:
2008-06-07 11:29 <udono> from Ft.Xml.Domlette import ValidatingReader works
2008-06-07 11:32 <udono> cedk: I set up a clean database, maybe ran in trouble
2008-06-07 11:38 <cedk> udono: I need to go for a moment
2008-06-07 11:39 <udono> cedk: no problem, by
2008-06-07 12:35 <cedk> * back
2008-06-07 12:36 <udono> cedk: hi
2008-06-07 12:36 <udono> I went into struggle creating a new database one bug I foun and resolver, but herer are others...
2008-06-07 12:36 <udono> look into roundup
2008-06-07 12:58 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 560:cba432e033be /trytond/ir/ui/menu.py: Fix default icon value in menu for issue79
2008-06-07 13:00 <FWiesinger> afk
2008-06-07 13:03 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 561:926eb6b4753c /trytond/ir/fr_FR.csv: Remove STOCK_ icons from translation
2008-06-07 13:03 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 562:f7bcce524d6f /trytond/ (tools/misc.py web_service/db.py): Fix coding thanks to htgoebel
2008-06-07 13:12 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 563:a10e55873eb8 /trytond/ (5 files in 4 dirs): Use cStringIO everywhere when available for issue81 thanks htgoebel
2008-06-07 13:13 <CIA-50> tryton: C?dric Krier <ced@b2ck.com> default * 372:e9be79c7ba89 /tryton/pysocket.py: Use cStringIO everywhere when available for issue81
2008-06-07 13:13 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 564:7361cd626d31 /trytond/pysocket.py: Update pysocket for tryton changeset e3d03b055884
2008-06-07 13:26 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 565:d2329662cde7 /trytond/pysocket.py: Use Pickle protocol 2 for issue84
2008-06-07 13:26 <CIA-50> tryton: C?dric Krier <ced@b2ck.com> default * 373:d0869785e04a /tryton/pysocket.py: Use Pickle protocol 2 for issue84
2008-06-07 13:36 -!- essich(n=essich@p4FCFA8D6.dip0.t-ipconnect.de) has joined #tryton
2008-06-07 13:36 <udono> cedk: I catch my first problems with xpath, my fault, sorry. xpath works great, I can combine serveral in one record and I can use the one-line Version <xpath.../> for replacements. Thanks a lot for helping me stupid...
2008-06-07 13:36 <essich> cedk: You are fast :-)
2008-06-07 13:37 <udono> hello essich
2008-06-07 13:37 <essich> udo: hi :)
2008-06-07 13:37 <cedk> howto do you find the new icons?
2008-06-07 13:38 <essich> cedk: THey ae not displayed here
2008-06-07 13:38 <cedk> essich: maybe you have already the same theme
2008-06-07 13:39 <udono> cedk: very nice
2008-06-07 13:41 <udono> essich: may you tell me how I bind tryton to an openoffice headless server? Your packages from origo are already installed.
2008-06-07 13:46 <essich> cedk: I see no icons at all.
2008-06-07 13:47 <essich> udono: Do you want an extra server/service?
2008-06-07 13:47 <essich> udono: openoffice is boostrapped as soon as you use it.
2008-06-07 13:47 <udono> yes, headless
2008-06-07 13:47 <cedk> essich: did you update tryton ?
2008-06-07 13:50 <essich> cedk: 2 Minutes ago. Now I have ne icons in the tollbar but none in the Menu
2008-06-07 13:51 <essich> cedk: Why not use pickle-protocol -1 (="alwas use newest")?
2008-06-07 13:52 <cedk> essich: the icons name in the table ir_ui_menu must be updated also or create a new DB
2008-06-07 13:52 <essich> cedk: IC
2008-06-07 13:53 <cedk> essich: if there is a new python with a protocol 3, and the server run with the new python and the client with the old, you have a problem
2008-06-07 13:53 <cedk> essich: here I took the best for now, later if there is a new protocol, we will update it and put a dependencie to the new python
2008-06-07 13:54 <essich> cedk: icons are nor okay.
2008-06-07 13:55 <essich> cedk: Hmm, you are right. One may runn server and client using different python versions.
2008-06-07 13:56 <essich> cedk: new icons have to less contrast. Action-Icons is not intuitive, "Swich" icon is not intuitive
2008-06-07 13:58 <essich> cedk: Icons for main-menus Finance, Currency and Purchase are not shown.
2008-06-07 13:58 <cedk> we use this set of icons: http://tango.freedesktop.org/Tango_Icon_Library
2008-06-07 13:59 <cedk> essich: because we don't have icons for those
2008-06-07 14:00 <essich> cedk: IC. Looks buggy :-(
2008-06-07 14:01 <essich> cedk: befor going public, but _some_ icons there
2008-06-07 14:01 <udono> essich: I started the openoffice --headless, after I press on a report Button, nothing happens. Is there any setup need?
2008-06-07 14:02 <essich> udo: no need to start ooo, this is done automatically. (But should not hurt.)
2008-06-07 14:03 <essich> udo: maybe still a bug in ooo-python.
2008-06-07 14:03 <essich> uno: this whole interconnection to ooo is a bit tricky. not really, but ooo is not good designed here.
2008-06-07 14:03 <cedk> essich: is it possible to use ooo-python on a network based?
2008-06-07 14:04 <essich> cedk: ooo-python supports this, but tryton does not have config for this yet.
2008-06-07 14:04 <essich> cedk: and it's insecure: everyone can access the remote socket!
2008-06-07 14:05 <cedk> essich: it is not possible to add authentification?
2008-06-07 14:05 <essich> cedk: Icons for some action menu entries are mssing, eg. Import/export Translations. Is this intended?
2008-06-07 14:05 <udono> essich: ... but its a good document server for all formats
2008-06-07 14:05 <essich> cedk: AFAIK not
2008-06-07 14:05 <essich> udono: yes, but insecure :-)
2008-06-07 14:05 <udono> How can I tell tryton to print pdf instead of odt
2008-06-07 14:06 <essich> udo: try the report when letting tryton bootstrap ooo.
2008-06-07 14:06 <essich> ACTION has to leve very soon.
2008-06-07 14:06 <essich> udo: change the "oufut format" of the report
2008-06-07 14:06 <cedk> essich: no, I think it is the menu record that not have been updated
2008-06-07 14:07 <udono> essich: reports with oo in general are no problem. I meant is it possible to connect a headless oo server and give me a PDF back?
2008-06-07 14:08 <essich> cedk: I did --update=all. Should be enough?!
2008-06-07 14:08 <cedk> essich: no because on some menu entry, the icon is the default value
2008-06-07 14:08 <essich> udo: Don't andersand. Explain in german?
2008-06-07 14:08 <udono> essich: ok, IC its an IR entry.
2008-06-07 14:09 <udono> essich: thanks
2008-06-07 14:09 <cedk> essich: look at the DB and update menu the begins with STOCK_
2008-06-07 14:10 <essich> ACTION has go leave _now_
2008-06-07 14:10 <essich> bye!
2008-06-07 14:10 -!- essich(n=essich@p4FCFA8D6.dip0.t-ipconnect.de) has left #tryton
2008-06-07 14:11 <cedk> test
2008-06-07 15:10 <udono> cedk: What use is the Keyword field in ir > Actions > report?
2008-06-07 15:11 <cedk> udono: it is a set of option to specify why the action is display
2008-06-07 15:11 <cedk> udono: or used
2008-06-07 15:12 <udono> cedk: dont understand?
2008-06-07 15:13 <udono> cedk: what does it mean when there is Keyword: Print form, where I can see this rrint form else?
2008-06-07 15:13 <udono> cedk: are Keywords a new general concept?
2008-06-07 15:15 <udono> cedk: BTW. The reportengine is now very sophisticated: upload new templates, ui for connecting reports, great!
2008-06-07 15:18 <cedk> udono: "Print form" say to display on the form view of the object
2008-06-07 15:18 <udono> ok
2008-06-07 15:18 <udono> ah, ok
2008-06-07 15:31 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 103:5f17bcd8e078 account/ (general_journal.odt general_ledger.odt trial_balance.odt): Remove user data from odt
2008-06-07 15:31 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 48:b74104a5af1b account_invoice/invoice.odt: Remove user data from odt
2008-06-07 15:31 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 34:060a7adaf0ed company/header_A4.odt: Remove user data from odt
2008-06-07 15:31 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 26:bc033ce54cc7 purchase/purchase.odt: Remove user data from odt
2008-06-07 15:31 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 89:4f862a8f9339 relationship/label.odt: Remove user data from odt
2008-06-07 15:31 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 142:b6edc142910f stock/packing_out.odt: Remove user data from odt
2008-06-07 19:02 <CIA-50> tryton: C?dric Krier <ced@b2ck.com> default * 374:69a7ede2d07f /tryton/gui/window/ (board.py tree.py): Fix close button for tab tree and board
2008-06-07 19:02 <CIA-50> tryton: C?dric Krier <ced@b2ck.com> default * 375:bf9b3387f93d /share/pixmaps/ (103 files): Replace png file with svg
2008-06-07 19:03 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 566:7e6cb06f58e5 /trytond/ (ir/ir.xml ir/ui/menu.py tools/convert.py): Add some new icons
2008-06-07 19:04 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 1:653941036416 project/project.xml: Add icon to project management
2008-06-07 19:04 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 22:b3f206f757f4 timesheet/work_type.xml: Use new icon graph
2008-06-07 19:18 <udono> cedk: I have modified the concept of my first module. Now it better fits into your party module. If you like to try: http://mercurial.intuxication.org/hg/relationship-people-organizations
2008-06-07 19:19 <cedk> udono: I see that you commit your file~
2008-06-07 19:19 <cedk> udono: you can use .hgignore to prevent
2008-06-07 19:19 <udono> cedk: just *.*~ inside?
2008-06-07 19:20 <cedk> udono: yes or *~
2008-06-07 19:20 <udono> cedk: ok, thanks
2008-06-07 19:22 <cedk> udono: you define twice _STATES
2008-06-07 19:22 <cedk> udono: the best is to create each time a {}
2008-06-07 19:25 <cedk> udono: seems to be good
2008-06-07 19:26 <cedk> udono: but you don't have relation between parties
2008-06-07 19:28 <cedk> udono: one remarks, in xml id, we try to not put the module name
2008-06-07 19:29 <udono> cedk: about remark: what do you mean? example?
2008-06-07 19:29 <cedk> udono: and no need to put a type on view that inherit
2008-06-07 19:29 <udono> ok
2008-06-07 19:29 <cedk> udono: act_relationship_person_title_form -> act_person_title_form
2008-06-07 19:30 <cedk> udono: because if you try to access it from outside the module you have relationship_ext.act_person_title_form
2008-06-07 19:30 <cedk> udono: I think about adding a check on view (type, inherit)
2008-06-07 19:31 <udono> relations between partys not now. Next step will build party roles (in a relationship). Then we can build relationships.
2008-06-07 19:31 <cedk> by the way mercurial.intuxication.org is faster than the other
2008-06-07 19:31 <udono> yes, I use it from now on.
2008-06-07 19:32 <udono> but I cant create projectnames with _underscores in the name... so I used -minus
2008-06-07 19:34 <cedk> udono: it is bad because you can not use it as python module
2008-06-07 19:35 <udono> I write to the maintainer of intuxication?!
2008-06-07 19:49 <udono> cedk: thanks for the remarks. I corrected it and push.
2008-06-07 19:50 <udono> cedk: Finally I found one Bug, I cant solve.
2008-06-07 19:52 <udono> cedk: if you try to set the gender to male, than you get everytime an error.
2008-06-07 19:54 <udono> cedk: http://paste.pocoo.org/show/64350/
2008-06-07 19:59 <cedk> udono: did you create a default value with the interface
2008-06-07 20:01 <cedk> udono: can you give the content of the table ir_default
2008-06-07 20:02 <udono> cedk: yes, I try it with the interface. I dont want to preference this by myself. the user should do that. Is it impossible?
2008-06-07 20:05 <cedk> udono: can you give the content of the table ir_default?
2008-06-07 20:05 <udono> with the preference set?! ok
2008-06-07 20:06 <udono> http://paste.pocoo.org/show/64355/
2008-06-07 20:06 <udono> cedk:
2008-06-07 20:12 <udono> cedk: there you have the contents of field: http://paste.pocoo.org/show/64357/
2008-06-07 20:15 <udono> cedk: the model in ir_default is set to relationship.party not to party_ext maybe this helps
2008-06-07 20:17 <cedk> udono: I find the problem, we write in the DB a string and we eval it after so for str value we must add " between or not eval it
2008-06-07 20:22 <udono> great, but dont understand what can I do?
2008-06-07 20:22 <udono> cedk:
2008-06-07 20:23 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 567:d9258de6361d /trytond/ir/default.py: Don't eval default value for some field type
2008-06-07 20:23 <udono> ah, ok
2008-06-07 20:24 <cedk> udono: can you try with this
2008-06-07 20:26 <udono> cedk: great, works, thanks ;-)
2008-06-07 20:29 <udono> cedk: The default engine doesn't work on many2one like the title attribut...
2008-06-07 20:34 <cedk> udono: can you fill a bug
2008-06-07 20:34 <udono> yes, I do
2008-06-07 20:38 -!- kultviech(n=kultviec@p5B0D3059.dip0.t-ipconnect.de) has joined #tryton
2008-06-07 20:39 <kultviech> hi
2008-06-07 20:48 <udono> hello kultviech
2008-06-07 21:18 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 568:94b2f6239e39 /trytond/ (ir/ui/menu.py osv/fields.py osv/orm.py tools/convert.py):
2008-06-07 21:18 <CIA-50> trytond: Change internal format of reference field into:
2008-06-07 21:18 <CIA-50> trytond: "model, (id, "name")" for issue74
2008-06-07 21:19 <CIA-50> trytond: C?dric Krier <ced@b2ck.com> default * 54:90e79d5e736b product/category.py: Fix name_get of category for single id
2008-06-07 21:19 <CIA-50> tryton: C?dric Krier <ced@b2ck.com> default * 376:c80f89a7d09f /tryton/gui/window/view_form/model/field.py:
2008-06-07 21:19 <CIA-50> tryton: Allow to handle reference field with this model (model, (id, name)) for
2008-06-07 21:19 <CIA-50> tryton: issue74
2008-06-07 21:19 <CIA-50> tryton: C?dric Krier <ced@b2ck.com> default * 377:dab26e4cb434 /tryton/gui/window/view_form/ (model/field.py view/form_gtk/reference.py): Some fix for new internal value of reference field
2008-06-07 21:37 <udono> afk
2008-06-07 21:42 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 21:47 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 21:53 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 21:59 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 22:07 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 22:18 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 22:20 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 22:22 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 22:33 <FWiesinger> good evening - cu
2008-06-07 22:33 -!- FWiesinger(n=franz@194.208.185.12) has left #tryton
2008-06-07 22:47 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 23:08 -!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton
2008-06-07 23:45 <irclog> test

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