chat.freenode.net #tryton log beginning Tue Aug 5 00:00:01 CEST 2008 | ||
2008-08-05 00:18 -!- kultviech(n=kultviec@p5B0D3B48.dip0.t-ipconnect.de) has left #tryton | ||
2008-08-05 00:48 -!- betamax_(i=betamax@gateway/tor/x-4a444c2c68cd0427) has joined #tryton | ||
2008-08-05 01:20 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton | ||
2008-08-05 07:08 -!- FWiesing(n=Wiesinge@194.208.185.12) has joined #tryton | ||
2008-08-05 08:41 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton | ||
2008-08-05 09:23 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton | ||
2008-08-05 09:36 -!- Gedd(n=ged@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton | ||
2008-08-05 10:04 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton | ||
2008-08-05 10:26 -!- leyoda(n=leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 10:40 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 10:51 -!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 10:52 <Timitos> gadaga: hi | ||
2008-08-05 10:54 <gadaga> Timitos : hi | ||
2008-08-05 11:04 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 11:06 <cedk> udono: hi | ||
2008-08-05 11:06 <cedk> udono: for the test of gtk.gdk.CONTROL_MASK | ||
2008-08-05 11:06 -!- betamax_(i=betamax@gateway/tor/x-6ee28ddd08f49825) has joined #tryton | ||
2008-08-05 11:06 <udono> cedk: hi | ||
2008-08-05 11:06 <cedk> udono: it is just event.state & gtk.gdk.CONTROL_MASK | ||
2008-08-05 11:07 <udono> cedk: ok | ||
2008-08-05 11:07 <cedk> udono: you don't need to compare it to the MASK | ||
2008-08-05 11:07 <cedk> udono: of course it works but it is an operation in more | ||
2008-08-05 11:08 <cedk> udono: and try to not commit commented code | ||
2008-08-05 11:08 <cedk> udono: it doesn't help | ||
2008-08-05 11:08 <udono> cedk: ok, I forget the cleanup... | ||
2008-08-05 11:09 <cedk> udono: and for the color stuff, I aggree with you but I don't think it is a high priority | ||
2008-08-05 11:10 <cedk> udono: can you tell me why it is not a good idea the test in event_show_button_create | ||
2008-08-05 11:10 <udono> cedk: but when I start the main.py it could be helpfull | ||
2008-08-05 11:11 <udono> cedk: because the user dont know which field is silently wrong, if he doesnt put the same passwords into the field. There we need a dialog box, I think. | ||
2008-08-05 11:12 <cedk> udono: yes, you are right | ||
2008-08-05 11:12 <cedk> udono: send the last bundle and I will merge it today | ||
2008-08-05 11:12 <udono> cedk: I'll do | ||
2008-08-05 11:16 <udono> cedk: done | ||
2008-08-05 11:29 -!- nicoe(n=nicoe@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 802:2ffd2ec99415 trytond/trytond/ (ir/sequence.py ir/ui/view.py osv/orm.py webdav/webdav.py): Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 169:1237fdf597e5 account/ (account.py fiscalyear.py move.py period.py tax.py): Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 90:826ea3e580a6 account_invoice/invoice.py: Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 16:fa0e2de342e4 analytic_account/ (account.py line.py): Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 43:fb4ee09d84a8 company/company.py: Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 3:49a35e60f890 project_revenue/ (service.py timesheet.py): Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 117:45c1395af528 relationship/ (category.py party.py): Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 175:30153781bbd1 stock/move.py: Add translation of _constraints | ||
2008-08-05 11:40 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 37:e1f6c6e29309 timesheet/work.py: Add translation of _constraints | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 590:05ca4cdf5d12 tryton/tryton/gui/window/dbcreate.py: (log message trimmed) | ||
2008-08-05 11:45 <CIA-9> tryton: Rewrite the dbcreate from glade to pygtk with additional functions. | ||
2008-08-05 11:45 <CIA-9> tryton: - Better tooltips for all widgets | ||
2008-08-05 11:45 <CIA-9> tryton: - While input validation for databasename | ||
2008-08-05 11:45 <CIA-9> tryton: - Restrict databasenames according to he following rules: | ||
2008-08-05 11:45 <CIA-9> tryton: - Allowed characters are alpha-nummeric [A-Za-z0-9] and underscore (_) | ||
2008-08-05 11:45 <CIA-9> tryton: - First character must be a letter | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 591:c85e08e5e8a9 tryton/tryton/common/common.py: | ||
2008-08-05 11:45 <CIA-9> tryton: Set the default port to 8070. | ||
2008-08-05 11:45 <CIA-9> tryton: Change the regular expression for url-names of server connection to catch | ||
2008-08-05 11:45 <CIA-9> tryton: just the beginning of a string. So we can have errormessages directly after | ||
2008-08-05 11:45 <CIA-9> tryton: the erroneous connection url (see changeset 578:05ca4cdf5d12). | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 592:f6fbadc768aa tryton/tryton/gui/window/dbcreate.py: Code cleanup, __doc__, moving functions to methods. | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 593:116d084a1c90 tryton/tryton/gui/window/dbcreate.py: | ||
2008-08-05 11:45 <CIA-9> tryton: More Cleanup, even better variable naming, better default action for create | ||
2008-08-05 11:45 <CIA-9> tryton: button. | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 594:b4b2758b80f6 tryton/tryton/gui/window/dbcreate.py: Some more minor corrections. | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 595:d731df56d1e1 tryton/tryton/gui/window/dbcreate.py: | ||
2008-08-05 11:45 <CIA-9> tryton: Final0.1. Removed redundant gtk default values. Adjust size of dialog, added | ||
2008-08-05 11:45 <CIA-9> tryton: more tooltips for server connection. | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 596:aba08d2ebc39 tryton/tryton/gui/window/dbcreate.py: Added some spaces to concatenated text. | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 597:2ff18250edf6 tryton/share/locale/ (3 files in 2 dirs): Edit the german translation. | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 598:2736cd8b1387 tryton/: merge | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 599:344c4f9ad3b1 tryton/tryton/gui/window/dbcreate.py: Better layout of labels when the window is resized. | ||
2008-08-05 11:45 <CIA-9> tryton: uspallek@bart.dsl default * 600:f725401a5f4f tryton/share/locale/de_DE/LC_MESSAGES/ (tryton.mo tryton.po): Adjust german translation for dbcreate.py. | ||
2008-08-05 11:46 <CIA-9> tryton: uspallek@bart.dsl default * 601:ab127ff56f38 tryton/: merge | ||
2008-08-05 11:46 <CIA-9> tryton: uspallek@bart.dsl default * 602:d9b7fb2eff4d tryton/tryton/gui/window/dbcreate.py: Use COLORS from common.py | ||
2008-08-05 11:46 <CIA-9> tryton: uspallek@bart.dsl default * 603:7e8a2d0dcced tryton/tryton/gui/window/dbcreate.py: | ||
2008-08-05 11:46 <CIA-9> tryton: Cedk: You can set the size of the dialog to something like (500, 300), but | ||
2008-08-05 11:46 <CIA-9> tryton: to have the table with the right size, you must call | ||
2008-08-05 11:46 <CIA-9> tryton: "dialog_vbox.pack_start(table)" | ||
2008-08-05 11:46 <CIA-9> tryton: after filling all the table. (here it is just before | ||
2008-08-05 11:46 <CIA-9> tryton: self.dialog.vbox.pack_start(dialog_vbox) | ||
2008-08-05 11:46 <CIA-9> tryton: uspallek@bart.dsl default * 604:405c83ccf607 tryton/tryton/gui/window/dbcreate.py: | ||
2008-08-05 11:46 <CIA-9> tryton: - Don't set set_width_chars on entry that must not have limitation | ||
2008-08-05 11:46 <CIA-9> tryton: - Don't set set_max_length on entry like password, because there is no | ||
2008-08-05 11:46 <CIA-9> tryton: limitation. | ||
2008-08-05 11:46 <CIA-9> tryton: uspallek@bart.dsl default * 605:f274e05646b1 tryton/tryton/gui/window/dbcreate.py: (log message trimmed) | ||
2008-08-05 11:46 <CIA-9> (11 lines omitted) | ||
2008-08-05 11:47 -!- Leyoda(n=Leyoda@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 11:53 <CIA-9> tryton: gadaga roundup * #233/KeyError: 'oo.org': [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/rep ... | ||
2008-08-05 11:54 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 611:3dbc10df4ad4 tryton/share/tryton/tryton.glade: Remove win_createdb from glade | ||
2008-08-05 11:58 <CIA-9> tryton: ced roundup * #233/KeyError: 'oo.org': [testing] You must install relatorio I don't think it works from local directory. | ||
2008-08-05 11:58 <cedk> nicoe: hi | ||
2008-08-05 11:59 <nicoe> cedk: hi | ||
2008-08-05 11:59 <cedk> nicoe: is it normal that relatorio doesn't work from local dir | ||
2008-08-05 11:59 <cedk> nicoe: as in https://bugs.tryton.org/roundup/issue233 | ||
2008-08-05 12:00 <cedk> nicoe: I think it is the pkg_resources | ||
2008-08-05 12:00 <nicoe> cedk: I just saw the bug and registered in roundup | ||
2008-08-05 12:00 <cedk> that doesn't work without install | ||
2008-08-05 12:00 <nicoe> cedk: but indeed this is an easy_install problem | ||
2008-08-05 12:00 <nicoe> cedk: people should install it in their directory or globally | ||
2008-08-05 12:01 <cedk> nicoe: ok that what I thought | ||
2008-08-05 12:01 <gadaga> cedk: I have already install relatorio in my site-packages directory | ||
2008-08-05 12:01 <nicoe> cedk: but "their directory" I mean their lib/python directory | ||
2008-08-05 12:01 <cedk> nicoe: how do you work when developping ? | ||
2008-08-05 12:02 <nicoe> cedk: I have a pythonpath like this : PYTHONPATH="$HOME/python" and create link in this dir to the dev version | ||
2008-08-05 12:02 <nicoe> gadaga: salut :), how di you install it ? | ||
2008-08-05 12:02 <nicoe> gadaga: s/di/did | ||
2008-08-05 12:02 <gadaga> nicoe: hg | ||
2008-08-05 12:03 <nicoe> gadaga: did you used the setup.py ? | ||
2008-08-05 12:03 <gadaga> nicoe: heu no | ||
2008-08-05 12:05 <nicoe> gadaga: that's it .. in order to discover the plugin we use the entrypoints features of the eggs | ||
2008-08-05 12:05 <cedk> nicoe: I think you can keep the entrypoints from here http://hg.openhex.org/hgwebdir.cgi/relatorio/rev/ee437a653c15 | ||
2008-08-05 12:06 <cedk> nicoe: keep a local copy and let setup.py install one | ||
2008-08-05 12:07 <nicoe> cedk: that's right | ||
2008-08-05 12:07 <nicoe> it's setup.py job to do this stuff | ||
2008-08-05 12:07 <cedk> it depends if you want to be able to run relatorio without setup it or not | ||
2008-08-05 12:08 <nicoe> cedk: If you want to use relatorio you have to use the setup.py to install the python package properly | ||
2008-08-05 12:10 <nicoe> cedk: That way relatorio can discover plugins, loads them (and eventually warn about a plugin deprecation) | ||
2008-08-05 12:10 <nicoe> cedk: plugins can also be provided by other sources than openhex without having to include it in the relatorio directory | ||
2008-08-05 12:12 <gadaga> nicoe: trytond crash after used relatorio setup.py | ||
2008-08-05 12:13 <nicoe> gadaga: how did it crash ? | ||
2008-08-05 12:13 <gadaga> nicoe: on genshi.output.code | ||
2008-08-05 12:13 -!- markusleist(n=markus@212.14.79.210) has joined #tryton | ||
2008-08-05 12:14 <gadaga> nicoe: arf I havn't install it... | ||
2008-08-05 12:14 <nicoe> gadaga: you don't have genshi. A good rule of thumb to install python package is to use easy_install | ||
2008-08-05 12:14 <nicoe> gadaga: it resolves the dependencies | ||
2008-08-05 12:15 <nicoe> gadaga: but I find that it steps on the foot of distribution packagers ... | ||
2008-08-05 12:16 <cedk> nicoe: the best will be to be packages by the big distribution | ||
2008-08-05 12:16 <cedk> or use the tryton-overlay for gentoo :-) | ||
2008-08-05 12:16 <gadaga> cedk: ;) | ||
2008-08-05 12:17 <nicoe> cedk: indeed ... I intend to create a package for debian and submit it to the python-packaging team (and maybe be part of it) | ||
2008-08-05 12:17 <cedk> nicoe: I think there is something wrong with the last rev of relatorio | ||
2008-08-05 12:18 <cedk> nicoe: I have no genshi.output in the genshi module | ||
2008-08-05 12:18 <nicoe> cedk: But all this, will take place only when I have finished this #!# javascript site | ||
2008-08-05 12:18 <nicoe> cedk: no output ? | ||
2008-08-05 12:18 <gadaga> nicoe: thanks it works | ||
2008-08-05 12:18 <cedk> nicoe: what version of genshi to you use ? | ||
2008-08-05 12:18 <nicoe> cedk: which version of genshi do you use ? | ||
2008-08-05 12:19 <nicoe> cedk: 0.5.0 | ||
2008-08-05 12:19 <cedk> nicoe: I have 0.5.1 | ||
2008-08-05 12:19 <gadaga> 0.5.1 | ||
2008-08-05 12:19 <nicoe> cedk: strange | ||
2008-08-05 12:20 <cedk> nicoe: in fact output is not imported in __init__.py of genshi | ||
2008-08-05 12:20 <cedk> nicoe: I need to import it with import genshi.output | ||
2008-08-05 12:21 <nicoe> cedk: right. | ||
2008-08-05 12:23 <nicoe> cedk: It's strange because my test script work wether or not I import it. | ||
2008-08-05 12:24 <nicoe> cedk: Ok I get it, the openoffice plugin loads it before the pdf one so it is in the namespace. | ||
2008-08-05 12:24 <cedk> nicoe: good | ||
2008-08-05 12:25 <nicoe> cedk: but people using only relatorio.templates.pdf will have problem, a simple import will fix it | ||
2008-08-05 12:26 <cedk> nicoe: yes, because I can not install the latest relatorio version | ||
2008-08-05 12:27 <nicoe> cedk: I think the order the plugin are loaded is non-deterministic. So you have the problem but I don't | ||
2008-08-05 12:27 <nicoe> cedk: Change is pushed | ||
2008-08-05 12:28 <cedk> nicoe: yes, it must depend on the version of easy_install | ||
2008-08-05 12:28 <cedk> nicoe: ok it works | ||
2008-08-05 12:29 <nicoe> cedk: I think easy_install creates dictionnary with the plugins and thus loads them non-deterministicly (pfff) | ||
2008-08-05 12:30 <cedk> nicoe: so it will depend of the python version :-) | ||
2008-08-05 12:30 <nicoe> cedk: yep :) I never looked at how python do this kind of stuff | ||
2008-08-05 12:31 <cedk> nicoe: it is surrely a hash table | ||
2008-08-05 12:55 <gadaga> cedk: how can I enable xmlrpc for using a script? I put 8069 in my tryton.conf but I have 'connection refused' | ||
2008-08-05 13:00 <gadaga> cedk: ok i find it in tryton.con -> xmlrpc = True | ||
2008-08-05 13:10 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 803:7b2d7b29ee4f trytond/trytond/config.py: Remove unused import | ||
2008-08-05 13:10 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 804:a08698a7255c trytond/trytond/trytond.py: Add log info about the configuration file used | ||
2008-08-05 13:14 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 805:7e8ebfd2101b trytond/trytond/ir/translation.py: Add value for fuzzy field | ||
2008-08-05 13:15 <cedk> gadaga: otherwise, you can use pysocket if you can use any protocol | ||
2008-08-05 13:15 <cedk> gadaga: it will be more efficient | ||
2008-08-05 13:16 <gadaga> cedk: yess i just find an example in your directory tests ;) | ||
2008-08-05 13:26 <cedk> gadaga: and if it runs on the same host, you can also use directly the tryton objects | ||
2008-08-05 13:27 <cedk> gadaga: but you must care of calling Cache.clean() before each actions | ||
2008-08-05 13:57 <Timitos> cedk: what plans do you have for printing income statement and balance sheet? i think that in the moment only views are implemented for this? | ||
2008-08-05 13:59 <cedk> Timitos: yes, I don't know | ||
2008-08-05 14:00 <cedk> Timitos: I think we can perhaps have something like the functionality "print screen" in openerp | ||
2008-08-05 14:00 <cedk> Timitos: but with a better layout, as we can use Ooo for that | ||
2008-08-05 14:01 <Timitos> i am working on german account chart and so i saw this. perhaps working with line-numbers could be a solution too? | ||
2008-08-05 14:02 <cedk> I think we can have something that looks like the client view | ||
2008-08-05 14:02 <cedk> We just need to indent correctly each lines | ||
2008-08-05 14:02 <cedk> Timitos: and if we don't have a good solution for general printing | ||
2008-08-05 14:03 <cedk> we can make one report for each one | ||
2008-08-05 14:03 <Timitos> cedk: i think that this can be a solution for now, but i think it is not a solution for future. balance sheet and icome statement are important reports that need some good layout e.g. for a bank or a investor | ||
2008-08-05 14:04 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 806:49c57ff9799c trytond/trytond/ir/translation.py: Fix update report tranlsation for relatorio | ||
2008-08-05 14:04 <Timitos> cedk: but this would be a big report, isn´t it? | ||
2008-08-05 14:05 <cedk> Timitos: so if you think it is an important report that needs tuning, we must create it as normal reports | ||
2008-08-05 14:05 <cedk> Timitos: I don't think so | ||
2008-08-05 14:05 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 612:c6581b8ff286 tryton/tryton/gui/window/view_form/view/list.py: Add test for model != None and fix sel_ids_get to get only real ids | ||
2008-08-05 14:05 <CIA-9> tryton: C?dric Krier <ced@b2ck.com> default * 613:461173335581 tryton/tryton/gui/window/view_form/screen/screen.py: Fix remove for list to not write deleted models | ||
2008-08-05 14:09 <Timitos> cedk: how will you reach the right sorting in such a report? | ||
2008-08-05 14:10 <cedk> Timitos: it is a tree, so it is already sorted | ||
2008-08-05 14:11 <Timitos> cedk: i didn´t try to create a report from a tree. do we have such a report in an existing module? if not i have to test myself | ||
2008-08-05 14:12 <Timitos> cedk: and we have to change direction of the sorting as in the report the first element of the tree will be the last and so on. | ||
2008-08-05 14:15 <cedk> Timitos: yes but I don't think it will be difficult | ||
2008-08-05 14:15 <cedk> Timitos: the only difficult I see, is to have the right indentation | ||
2008-08-05 14:18 <CIA-9> tryton: Timitos roundup * #227/translation of client does not work under windows: no there isn´t any error message or log entry. i remember a warning when starting the client : could not set locale 1252_DE_de... or something s ... | ||
2008-08-05 14:18 <Timitos> cedk: ok. so I know enough for the moment to work on account chart. lets talk about that some time later again. thx | ||
2008-08-05 14:37 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 15:59 -!- gael_(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 16:12 <udono> nicoe: Hello | ||
2008-08-05 16:13 <nicoe> udono: hi | ||
2008-08-05 16:13 <udono> nicoe: I like to ask if you have some ideas about parsing ODS files? | ||
2008-08-05 16:14 <nicoe> udono: I tried it. | ||
2008-08-05 16:14 <nicoe> udono: If you use it only to output values it will work | ||
2008-08-05 16:14 <udono> nicoe: ok, you got result? | ||
2008-08-05 16:15 <udono> nicoe: what doesn't work? | ||
2008-08-05 16:15 <nicoe> udono: But using formulas, format, and stuff like that does not work | ||
2008-08-05 16:15 <nicoe> Because the information is store in the attributes of the tags. | ||
2008-08-05 16:15 <nicoe> I intend to work on this | ||
2008-08-05 16:16 <nicoe> But I don't have the time right now. | ||
2008-08-05 16:16 <nicoe> udono: What would you like to see ? | ||
2008-08-05 16:18 <udono> nicoe: I like to use it as comfortable than odt parsing :-), It will be great to usit for special calculations and pivot-tables and so on... I wrote a dummy macro, that it is possible to fill in a tryton or better genshi thing as a formula... | ||
2008-08-05 16:18 <cedk> udono: don't forget that you can export into cvs any things | ||
2008-08-05 16:18 <cedk> udono: and that there is the copy/paste on list view | ||
2008-08-05 16:18 <nicoe> cedk, udono : That seems like a pretty good work-around for now. | ||
2008-08-05 16:19 <udono> cedk: I know, but it will be great to have a OpenOffice table integration (no OS ERP has this)... | ||
2008-08-05 16:20 <udono> nicoe: It will create cell elements like this: http://paste.pocoo.org/show/81284/ | ||
2008-08-05 16:20 <cedk> udono: perhaps what you look for is more a kind on odbc to trytond objects | ||
2008-08-05 16:22 <udono> cedk: This will be a good thing, too. | ||
2008-08-05 16:23 <nicoe> udono: I need to find a way to define attributes on tags (and unfortunately it is not the enclosing tag). | ||
2008-08-05 16:23 <nicoe> udono: And we also need to do the formula interpolation oo is doing when itering over rows | ||
2008-08-05 16:25 <udono> nicoe: I see... I searched a lot for manipulating the <text:p> tag, but I didn't find a solution... | ||
2008-08-05 16:25 <nicoe> udono: This is way more complicated than odt | ||
2008-08-05 16:25 <udono> nicoe: Yes I recognized this in the past. | ||
2008-08-05 16:26 <nicoe> udono: I think you can safely remove the text:p tag OO will the fill the cell with the computation | ||
2008-08-05 16:27 <udono> nicoe: ok, but then we have the special attribute made by my macro: table:formula="oooc:=TRYTON("udo")" | ||
2008-08-05 16:27 <nicoe> udono: What is complicated is finding a good syntax for this without requiring the people to know much about the ods document structure | ||
2008-08-05 16:28 <udono> nicoe: ah, I understand... but cant we use the same things then in odt? | ||
2008-08-05 16:28 <nicoe> udono: You could, it would be displayed. But it would just be a static table | ||
2008-08-05 16:29 <nicoe> maybe I could add a directive like we did for the images | ||
2008-08-05 16:30 <nicoe> something like "formula('a2*b2')" | ||
2008-08-05 16:30 <udono> nicoe: yes, but its the nature of the table to be statical after beeing parsed... | ||
2008-08-05 16:31 <udono> nicoe: a2 * b2 is a calculation which can be handled by oo self. the parser needs to fill a2 and b2... od did you mean others? | ||
2008-08-05 16:32 <nicoe> udono: The plugins need to copy the formula to every cell | ||
2008-08-05 16:32 <nicoe> But right now it just copy "a2*b2" | ||
2008-08-05 16:33 <nicoe> So every cell in the formula column has the same value ... | ||
2008-08-05 16:33 <nicoe> Doing what oo does on this formula is simple but in a complicated case ... it will be a nightmare | ||
2008-08-05 16:33 <udono> my dummy macro works in a cell like: =TRYTON("<for each=\"line in invoice.lines\">") | ||
2008-08-05 16:34 <nicoe> udono: What does your macro do ? | ||
2008-08-05 16:34 <nicoe> udono: Could you send me its code ? | ||
2008-08-05 16:34 <udono> nothing then create the structure http://paste.pocoo.org/show/81284/ | ||
2008-08-05 16:36 <udono> nicoe: its a dummy macro: http://paste.pocoo.org/show/81286/ it just put an identifier into the XML which we can parse. After parsing the makroidentifier could be dropped... | ||
2008-08-05 16:37 <nicoe> I must say I'm a total newbie with OOCalc macro | ||
2008-08-05 16:38 <udono> nicoe: I try to find a way to come into the <text:p> tag, the enclosing tag of the cell content, but I didn't find a way... | ||
2008-08-05 16:39 <nicoe> Why do you want to put your code in the content of the text:p ? | ||
2008-08-05 16:39 <udono> nicoe: the macro doesnt do anything, give just a new function to oo you can use... it copy its content into the cell and tag the attribute of the cell with: table:formula="oooc:=TRYTON("udo") | ||
2008-08-05 16:40 <udono> nicoe: Just finding similar structures than odt, nothing else... | ||
2008-08-05 16:41 <udono> nicoe: BTW I am a totaly newbie with OOCalc Macro and parsing, too. And even for the ODT things ... | ||
2008-08-05 16:41 <nicoe> If I understand well what oo does with the text:p in table:cells it will display the text if it is present otherwise the content of table:cell string-value argument | ||
2008-08-05 16:43 <nicoe> Does anybody knows where I could browse openoffice code ? I don't want to checkout this huge amount of code. | ||
2008-08-05 16:44 <nicoe> I remember having search for something like a trac/subversion/mercurial browsable repository but thier site is a mess | ||
2008-08-05 16:45 <cedk> nicoe: I think they use cvs | ||
2008-08-05 16:46 <udono> nicoe: I just talking in structures... text:p is the enclosing tag for cell content. We need to distinguish normal cells from "cells to be parsed". So I thought its possible to modify text:p... but I didn't find a way how to do this. Next step was to look one level above, there is the <table:table-cell> tag. This tag can be manipulated via formulas. I try out some standard formulas in calc, but all give me an output: ######. I ask aro | ||
2008-08-05 16:46 <udono> new formula, which copy the formulacontent into the cell and which tag the cell with table:formula="oooc:=TRYTON(<formula you like>). thats the long story... | ||
2008-08-05 16:47 <nicoe> udono: ok I see now | ||
2008-08-05 16:49 <udono> nicoe: this all was before relatorio and genshi things... It could be that the parser model changed completely and my aim now is senseless... | ||
2008-08-05 16:49 <nicoe> udono: I don't think it has changed | ||
2008-08-05 16:50 <udono> nicoe: if you have some special expert questions, I am known member of the openoffice devel german group. There I may ask for you... | ||
2008-08-05 16:52 <nicoe> right now, this plugin has been a low priority for me but I'll return to it as soon as I can. | ||
2008-08-05 17:02 <udono> nicoe: ok | ||
2008-08-05 17:23 <CIA-9> tryton: ced roundup * #227/translation of client does not work under windows: Can you try to start the client with the option "--verbose"? | ||
2008-08-05 17:23 <CIA-9> tryton: ced roundup * #227/translation of client does not work under windows: Can you try to start the client with the option "--verbose"? | ||
2008-08-05 18:02 -!- betamax_(i=betamax@gateway/tor/x-6ee28ddd08f49825) has joined #tryton | ||
2008-08-05 18:02 -!- markusleist(n=markus@212.14.79.210) has joined #tryton | ||
2008-08-05 18:02 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton | ||
2008-08-05 18:03 -!- CIA-9(n=CIA@208.69.182.149.simpli.biz) has joined #tryton | ||
2008-08-05 18:03 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton | ||
2008-08-05 18:03 -!- Gedd(n=ged@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton | ||
2008-08-05 18:03 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton | ||
2008-08-05 18:03 -!- udono(n=udono@dynamic-unidsl-85-197-23-188.westend.de) has joined #tryton | ||
2008-08-05 18:04 -!- FWiesing(n=Wiesinge@194.208.185.12) has joined #tryton | ||
2008-08-05 18:05 -!- ChanServ(ChanServ@services.) has joined #tryton | ||
2008-08-05 18:08 -!- betamax_(i=betamax@gateway/tor/x-3e0b5d4519e3f83b) has joined #tryton | ||
2008-08-05 19:11 -!- kultviech(n=kultviec@p5497D7E6.dip.t-dialin.net) has joined #tryton | ||
2008-08-05 21:13 -!- Gedd(n=ged@77.109.113.109) has joined #tryton | ||
2008-08-05 21:33 -!- kultviech(n=kultviec@p5B0D29F5.dip0.t-ipconnect.de) has joined #tryton | ||
2008-08-05 21:55 -!- CIA-54(n=CIA@208.69.182.149.simpli.biz) has joined #tryton | ||
2008-08-05 23:00 -!- nicoe(n=nicoe@ip-80-236-206-69.dsl.scarlet.be) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!