IRC logs of #tryton for Wednesday, 2009-01-07 #tryton log beginning Wed Jan 7 00:00:01 CET 2009
2009-01-07 00:09 -!- enlightx_( has joined #tryton
2009-01-07 01:21 <CIA-8> tryton: matb roundup * #733/Translation: model description always translated as model: [new] All model descriptions are translated, but they are all displayed as model (Modell). s. screenshots
2009-01-07 02:31 -!- ikks(n=igor@ has joined #tryton
2009-01-07 05:09 -!- vengfulsquirrel( has joined #tryton
2009-01-07 05:20 -!- yangoon( has joined #tryton
2009-01-07 06:35 -!- enlightx( has joined #tryton
2009-01-07 06:46 -!- udono( has joined #tryton
2009-01-07 07:01 -!- Timitos(n=Timitos@ has joined #tryton
2009-01-07 07:56 -!- carlos(n=carlos@ has joined #tryton
2009-01-07 08:00 -!- sharkcz( has joined #tryton
2009-01-07 08:05 -!- Gedd( has joined #tryton
2009-01-07 09:55 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-01-07 10:26 -!- Gedd( has joined #tryton
2009-01-07 11:12 -!- bechamel(n=user@ has joined #tryton
2009-01-07 11:35 <CIA-8> tryton: udono roundup * #734/IndexError: tuple index out of range: [new] Traceback (most recent call last): File "/trytond/", line 282, in run res = method(*msg[2:]) File "/trytond/web_service/rep ...
2009-01-07 11:36 <CIA-8> tryton: udono roundup * #734/IndexError: tuple index out of range: [chatting] Trying to print a PDF version of the party_labels report makes this error
2009-01-07 12:29 -!- bechamel(n=user@ has joined #tryton
2009-01-07 12:32 <CIA-8> tryton: C?dric Krier <> default * 1448:3c56cc637eb4 trytond/trytond/ir/ Don't strip nor replace '\n' when searching translation for issue732
2009-01-07 12:32 <CIA-8> tryton: ced roundup * #732/Translation: no display of translation with line breaks in src: [resolved] Fix with changeset 3c56cc637eb4
2009-01-07 12:34 -!- ikks(n=igor@ has joined #tryton
2009-01-07 12:41 <CIA-8> tryton: C?dric Krier <> default * 1449:d4e215186fd6 trytond/trytond/ (osv/ report/ wizard/ Test exception.args before using it for issue734
2009-01-07 12:41 <CIA-8> tryton: ced roundup * #734/IndexError: tuple index out of range: [resolved] Fix with changeset d4e215186fd6
2009-01-07 13:27 <CIA-8> tryton: C?dric Krier <> default * 250:394d2eab7a02 account_invoice/ (invoice.odt Add sequence_number on invoice tax and invoice_taxes on invoice line for issue729
2009-01-07 13:29 <CIA-8> tryton: C?dric Krier <> default * 251:e50e74f5d702 account_invoice/CHANGELOG: Add changelog
2009-01-07 13:29 <CIA-8> tryton: ced roundup * #729/Invoice Report: Missing name attribute in invoice.taxes: [resolved] Fix with changeset 394d2eab7a02
2009-01-07 13:33 <cedk> Timitos: ping
2009-01-07 13:46 -!- ikks(n=igor@ has joined #tryton
2009-01-07 14:00 <Timitos> cedk: pong
2009-01-07 14:01 <cedk> Timitos: is the change on invoice match your needs ?
2009-01-07 14:01 <Timitos> cedk: i will test now
2009-01-07 14:14 <Timitos> cedk: looks good. i would do it without the brackets on invoice line and with a colon instead of the dot on invoice taxes. but this is a question of design and can be done with a custom report. the function is exactly what i need. thx for fast implementation!
2009-01-07 14:15 <cedk> Timitos: ok
2009-01-07 14:51 -!- carlos(n=carlos@ has joined #tryton
2009-01-07 15:13 <udono> Hi all
2009-01-07 15:14 <udono> If I what to create pdfs, I need open-office.interact?
2009-01-07 15:14 <udono> s/what/want/
2009-01-07 15:14 <udono> Is there another way to create PDFs but clientsite?
2009-01-07 15:15 <cedk> udono: open in openoffice and click on export PDF
2009-01-07 15:15 <udono> on gutsy the openoffice.interact makes problems I can't solve
2009-01-07 15:15 <udono> cedk: ok.
2009-01-07 15:16 <cedk> udono: but why is it needed on client side?
2009-01-07 15:16 <udono> cedk: because openoffice.interact doesn't work on gutsy...
2009-01-07 15:17 <cedk> udono: no, I mean why do you need PDF ?
2009-01-07 15:17 <udono> cedk: because an invoice must be "unchangable" for the user
2009-01-07 15:17 <cedk> udono: you can perhaps write a plugins for the client that convert on the fly the odt file into pdf
2009-01-07 15:18 <cedk> udono: so PDF is not the good solution, you must signed the document
2009-01-07 15:19 <udono> cedk: generally it works very good with openoffice.interact but not on Gutsy and even not on Gentoo (there is python-uno missing)
2009-01-07 15:19 <CIA-8> tryton: C?dric Krier <> default * 1450:784ec2844694 trytond/trytond/ir/ Fix model name translation for issue733
2009-01-07 15:19 <CIA-8> tryton: ced roundup * #733/Translation: model description always translated as model: [resolved] Fix with changeset 784ec2844694
2009-01-07 15:21 <cedk> udono: on gentoo you can use openoffice-bin
2009-01-07 15:22 <udono> cedk: I use it, but for openoffice.interact I need python-uno. But this package is missing on gentoo
2009-01-07 15:23 <cedk> udono: what ?
2009-01-07 15:25 <udono> cedk: I like to use the serverside PDF generation with open-office headless and openoffice.interact (
2009-01-07 15:27 <cedk> udono: you can perhaps ask htgoebel
2009-01-07 15:27 <udono> cedk: yes, but he is not avail. :-(
2009-01-07 15:28 -!- oversize( has joined #tryton
2009-01-07 15:41 <cedk> udono: normally uno comes with openoffice-bin
2009-01-07 15:47 <udono> cedk: did you have it installed in your pythonpath? did a >>>import uno works for you?
2009-01-07 15:48 <cedk> udono: in my PYTHONPATH I have :/usr/lib/openoffice/program
2009-01-07 15:49 <cedk> udono: I have added in the ~/.bashrc
2009-01-07 15:49 <udono> cedk: ok, I will try
2009-01-07 15:51 <udono> cedk: how exactly do you add it?
2009-01-07 15:52 <cedk> udono: export PYTHONPATH=$PYTHONPATH:/usr/lib/openoffice/program
2009-01-07 15:53 <udono> Thanks. I try
2009-01-07 16:28 <udono> cedk: openoffice3 has problems with openoffice.interact and gutsy (ooo2.4) also... I write a bugreport to htgoebel
2009-01-07 16:51 -!- juanfer(n=juanfer@ has joined #tryton
2009-01-07 17:33 -!- cristi_an(i=5978d3ce@gateway/web/ajax/ has joined #tryton
2009-01-07 17:36 <cristi_an> why do no not see the graph button on the client in Administration > Models > Models
2009-01-07 17:36 <cedk> cristi_an: it is only in the dev branch
2009-01-07 17:37 <cristi_an> and dev script i assume gets it ?
2009-01-07 17:38 <cedk> cristi_an: if you check out the dev branch
2009-01-07 17:38 <cristi_an> cedk: dev script doesn't do it automatically ?
2009-01-07 17:44 <cedk> cristi_an: yes
2009-01-07 17:59 -!- enlightx( has joined #tryton
2009-01-07 18:10 <CIA-8> tryton: C?dric Krier <> default * 1148:04116f801a1d tryton/tryton/gui/window/view_form/widget_search/ Set expand to True for search interger widgets
2009-01-07 18:10 <CIA-8> tryton: C?dric Krier <> default * 1149:77ef7512bd47 tryton/tryton/gui/window/view_form/view/form_gtk/ Force to compare string with string in selection display
2009-01-07 18:15 <udono> For what is users warning?
2009-01-07 18:17 <udono> srry. res.user.warning
2009-01-07 18:24 <bechamel> udono: this allow to show warning to user, like error but it relaunch the request if the user clic ok
2009-01-07 18:26 <bechamel> udono: like self.raise_user_warning(cursor, user, "unique_id", "warning_title")
2009-01-07 18:26 <udono> bechamel: hm, for what use is it?
2009-01-07 18:27 <udono> bechamel: I can adjust something in the preferences.
2009-01-07 18:27 <udono> but there is only a text and a always radio
2009-01-07 18:28 <bechamel> udono: it allow to tell the user: "are you sur blabla" if he clic ok then the query is called again and because the unique_id has been seen, bypass it
2009-01-07 18:28 <udono> bechamel: it is for bypassing constraints?
2009-01-07 18:29 <bechamel> udono: no it's juts messages to warn user
2009-01-07 18:29 <udono> bechamel: ok
2009-01-07 18:29 <udono> bechamel: how can I test?
2009-01-07 18:30 <bechamel> udono: put self.raise_user_warning(cursor, user, "unique_id", "warning_title") somewhere like in a wizard or a functioin called by a buttons, maybe it works also in a read() or write()
2009-01-07 18:32 <cristi_an> tryton was sale modele may be used without the packeing stuff (this is usefull for shops that deliver stuff) but for a sale point where products are sold directly is not
2009-01-07 18:32 <cristi_an> /s/modele/model
2009-01-07 18:36 <Timitos> cristi_an: no. you need a completely different workflow for a shop. there are no modules for this need yet.
2009-01-07 18:36 <bechamel> cristi_an: it should not be too difficult to add a conditon on the sale order workflow that ensure that stock is available when the sale is confirmed
2009-01-07 18:36 <bechamel> .. and of course put it in a new module
2009-01-07 18:36 <cristi_an> bechamel: or a module from scratch
2009-01-07 18:37 <bechamel> cristi_an: sale is big
2009-01-07 18:37 <cristi_an> Timitos: but this current workflow is fit to what kind of bussines ?
2009-01-07 18:37 <udono> bechamel: Now I understand the res_user_warning. Its a nice feature. We can rewrite some warnings with this, so the user may decide if he like to see the warning again. Like "Do you realy want to quit?"
2009-01-07 18:39 <bechamel> udono: it's for business stuff, not pure ui. for exemple, something like "This invoice is more than 10000€ are you sur you want to confirm it ?"
2009-01-07 18:39 <Timitos> cristi_an: i would say for trading companies that deliver their products to the customer
2009-01-07 18:39 <cristi_an> i see
2009-01-07 18:39 <udono> bechamel: ok
2009-01-07 18:39 <cristi_an> which module contasins the stock ?
2009-01-07 18:40 <cristi_an> inventory ?
2009-01-07 18:40 <Timitos> cristi_an: what you need it a solution for point of sale i think
2009-01-07 18:40 <cristi_an> Timitos: you are right
2009-01-07 18:40 <Timitos> cristi_an: there is a stock module
2009-01-07 18:40 <bechamel> cristi_an, Timitos: yes the current behaviour is ok for b2b not for b2c
2009-01-07 18:41 <cristi_an> bechamel:indeed
2009-01-07 18:41 <cristi_an> pfff...i just realized that
2009-01-07 18:42 <bechamel> cristi_an: btw for a small shop you don't need to ensure the product availability before selling it, because when you create the sale order the customer has already the product in his hands
2009-01-07 18:43 <cristi_an> bechamel: well kind of
2009-01-07 18:43 <cristi_an> bechamel: because the requirement are to know the stock size in real time
2009-01-07 18:44 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-01-07 18:44 <bechamel> cristi_an: for this you need to create outgoing packings, not sales
2009-01-07 18:45 -!- leyoda( has joined #tryton
2009-01-07 18:46 <cristi_an> so new modules are needed right ?
2009-01-07 18:47 <cedk> cristi_an: why? If you sale product you always need a packing
2009-01-07 18:52 <Timitos> cristi_an: yes you need a new module for handling point of sales. but you can use the existing stock modules i think.
2009-01-07 18:53 <bechamel> cristi_an: maybe what you need is that the sale automatically confirm the associated packing when confirmed
2009-01-07 18:53 <CIA-8> tryton: C?dric Krier <> default * 368:f04729b4fb91 account/TODO: Add todo
2009-01-07 19:07 -!- vengfulsquirrel( has joined #tryton
2009-01-07 19:12 <cristi_an> bechamel: that may be an ideea
2009-01-07 19:12 <cristi_an> or a workaround
2009-01-07 19:12 <cristi_an> cedk: you do not need a packing
2009-01-07 19:13 <cristi_an> always
2009-01-07 19:14 <cristi_an> images this: i have a warehose and i do sale directly to customers ro when the customer comes he says : i want 3 product x 5 product y etc...then an invoice is made ,the stock is discared and he pays and get his products
2009-01-07 19:15 <cristi_an> no packing ,notthing more is needed in this scenario
2009-01-07 19:18 <yangoon> cristi_an: you always need an actualization of stocks, packing is an overall term
2009-01-07 19:19 <yangoon> I am not so happy with it, too. Therefore I am currently working on a paper to get a clearer notion of the purpose.
2009-01-07 19:20 <yangoon> I will present it, if it is reviewed.
2009-01-07 19:20 <cristi_an> yangoon: gr8
2009-01-07 19:20 <cristi_an> yangoon: in english ?
2009-01-07 19:20 <cristi_an> :)
2009-01-07 19:20 <cristi_an> or germna ?
2009-01-07 19:20 <yangoon> yes:)
2009-01-07 19:20 <cristi_an> german
2009-01-07 19:20 <cristi_an> cool ,plz tell me when it will be ready
2009-01-07 19:20 <yangoon> yes for english
2009-01-07 19:20 <cristi_an> or you will put that on wiki /
2009-01-07 19:21 <cristi_an> ?
2009-01-07 19:21 <yangoon> it is on the german wiki, but discussion will be on google
2009-01-07 19:26 <yangoon> udono: did you have a look to
2009-01-07 19:27 <yangoon> udono: perhaps there is something for you?
2009-01-07 19:27 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-01-07 19:31 -!- Gedd( has joined #tryton
2009-01-07 19:38 <udono> cedk: how do you solve the ssh connection to the repository? did you use apache or lighthttpd or hg serve with hg-admin tools?
2009-01-07 19:40 <cedk> udono: no, just ssh
2009-01-07 19:41 <udono> cedk: with this:
2009-01-07 19:42 <cedk> udono: yes
2009-01-07 19:42 <udono> cedk: thanks
2009-01-07 20:16 <yangoon> says, that it is possibel to create pdf with relatorio
2009-01-07 20:17 <yangoon> so why are we using openoffice.interact, if we could do directly with relatorio?
2009-01-07 20:17 <yangoon> cedk: bechamel ?
2009-01-07 20:22 <bechamel> yangoon: yes but what are the source file for it ?
2009-01-07 20:23 <bechamel> yangoon: iirc it use ConTeXt
2009-01-07 20:24 <yangoon> TEXEXEC_PATH = '/usr/bin/texexec' ?
2009-01-07 20:24 <bechamel> yangoon: texexec is the executable for context
2009-01-07 20:25 <yangoon> bechamel: ok, thx
2009-01-07 20:25 <yangoon> bechamel: anyway, wouldn't this perhaps be better?
2009-01-07 20:25 <yangoon> bechamel: OOO has a lot of overhead
2009-01-07 20:26 <yangoon> one time started the server persists all the time
2009-01-07 20:26 <bechamel> for devs maybe (but even if i like tex is not the case for everyone), for users i don't think
2009-01-07 20:28 <bechamel> yangoon: and once started, opening a document is much faster :)
2009-01-07 20:29 <yangoon> bechamel: ok, I think I didn't understand yet very well the report generation
2009-01-07 20:29 <bechamel> yangoon: but anyway there is place for several templates, and the template part is much easier than the python fetching and agregating data
2009-01-07 20:30 <yangoon> bechamel: I just had the impression that with relatorio you could create either odf or pdf from the same objects
2009-01-07 20:31 <yangoon> bechamel: so one had to provide a tex template to use it for pdf generation?
2009-01-07 20:33 <bechamel> yangoon: yes, relatorio job is just templating there is no convertion of the format
2009-01-07 20:33 <yangoon> bechamel: ok, I see, thx
2009-01-07 20:34 <bechamel> yangoon: but i don't if context is available on windows
2009-01-07 20:35 <yangoon> bechamel:
2009-01-07 20:36 <udono> bechamel: context need to run serverside
2009-01-07 20:37 <yangoon> udono: yes, just wanted to say that;)
2009-01-07 20:37 <bechamel> udono: yes of course, but we claim that tryton works on windows, so at least we must choose compatible tools
2009-01-07 20:41 <udono> bechamel: but latex is usable on Windows without problems. I used long time Miktex
2009-01-07 20:41 <udono> but anyway, I don't like the wygiwym anylonger
2009-01-07 20:41 <yangoon> udono: they say Miktex is broken
2009-01-07 20:42 <bechamel> udono: i wrote a lot of stuff in latex too, but i find context more straightforward
2009-01-07 20:44 <bechamel> in latex i lost a lot of time searching for the right packages and to wonder on some error because some package weren't imported in the 'right' order. in context it's battery included and globaly more clean
2009-01-07 20:45 <yangoon> bechamel: the difference between if and when in relatorio templates seems only to be, that you can use otherwise for when
2009-01-07 20:45 <yangoon> bechamel: correct?
2009-01-07 20:45 <bechamel> yangoon: i don't understand
2009-01-07 20:46 <yangoon> bechamel: basically the if and when clauses in the directives do the same, I see no difference, just another syntax
2009-01-07 20:46 <yangoon> bechamel: and the possibility to use otherwise in when clauses
2009-01-07 20:54 <bechamel> yangoon: i think the difference is that there is no "else"
2009-01-07 20:55 <yangoon> bechamel: yes, that's what I also wanted to say
2009-01-07 20:56 <bechamel> yangoon: so you can do "choose when when when ../choose" but not "if elif elif /if"
2009-01-07 20:56 <bechamel> yangoon: ;)
2009-01-07 20:57 <yangoon> bechamel: if is a shorter syntax for only one when
2009-01-07 20:57 -!- udono( has left #tryton
2009-01-07 20:58 -!- udono( has joined #tryton
2009-01-07 20:58 <yangoon> bechamel: you could just do if /if if /if if /if to do the same
2009-01-07 20:58 <yangoon> bechamel: if you don't have elif
2009-01-07 20:58 <bechamel> yangoon: yes but the behaviour is slightly different
2009-01-07 21:28 <CIA-8> tryton: Timitos roundup * #728/order_field for party seems not to work: [chatting] what does 'latest party' mean. i cannot identify what way the parties are sorted. they are definitly not sorted by record id, definitly ...
2009-01-07 21:34 -!- mmarshall( has joined #tryton
2009-01-07 22:13 -!- Ged_(n=ged@ has joined #tryton
2009-01-07 22:37 <vengfulsquirrel> Once a Sale is confirmed and an Invoice is created with state=Draft what is the next step ?
2009-01-07 22:39 <Timitos> vengfulsquirrel: packing in stock module
2009-01-07 22:40 <vengfulsquirrel> Okay so once the packing is completed then can payment be accepted for the invoice ?
2009-01-07 22:42 -!- Guest23808( has joined #tryton
2009-01-07 22:42 <Timitos> vengfulsquirrel: you need to open the invoice
2009-01-07 22:43 <vengfulsquirrel> No period defined for this date! -- What does that mean ?
2009-01-07 22:45 <Timitos> vengfulsquirrel: you need to create a fiscal year
2009-01-07 22:51 <vengfulsquirrel> Timitos: Okay thanks for the help, I don't know much about accounting.
2009-01-07 22:51 <Timitos> vengfulsquirrel: np
2009-01-07 23:34 <vengfulsquirrel> What does it mean to "Assign" a packing ?
2009-01-07 23:39 <bechamel> vengfulsquirrel: it's a reservetion of products, this means that product are still on the shelves but no other packing can assing them (except if forced)
2009-01-07 23:47 <CIA-8> tryton: Mathias Behrle <> default * 1451:e64d08b23075 trytond/trytond/ir/de_DE.csv: Update translation for de_DE
2009-01-07 23:50 -!- Gedd(n=ged@ has joined #tryton
2009-01-07 23:53 <vengfulsquirrel> bechamel: So when I click Assign on a Customer Packing Waiting Assignation should something visually happen?
2009-01-07 23:56 <CIA-8> tryton: Mathias Behrle <> default * 254:40b123f6b70f website/locale/de_DE/LC_MESSAGES/tryton.po: Update translation for de_DE

Generated by 2.17.3 by Marius Gedminas - find it at!