IRC logs of #tryton for Saturday, 2008-12-20

chat.freenode.net #tryton log beginning Sat Dec 20 00:00:01 CET 2008
-!- yangoon1(n=mathiasb@p549F4E94.dip.t-dialin.net) has joined #tryton00:00
-!- yangoon(n=mathiasb@p549F4AAE.dip.t-dialin.net) has joined #tryton05:19
-!- udono(n=udono@dynamic-unidsl-85-197-24-142.westend.de) has joined #tryton08:53
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton08:53
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton09:17
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton10:51
-!- cedk_(n=ced@ced.homedns.org) has joined #tryton10:57
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 1377:8765154fed01 trytond/trytond/ir/ (model.py model.xml): Add model graph report11:18
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 1378:836a4a57dc19 trytond/TODO: Add todo for order on page tag11:18
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 1379:55c37b638c69 trytond/trytond/ir/model.py: Add one2many for model graph11:27
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 409:687cad6d7f6b stock/TODO: Add todo for check change of UOM of product11:31
cedkhttp://blogs.msdn.com/dmahugh/archive/2008/08/05/guiding-principles-for-office-s-odf-implementation.aspx13:40
cedkit is for Office 2007 SP213:40
-!- cedric_b(n=cedric@cam44-3-82-235-75-221.fbx.proxad.net) has joined #tryton14:45
-!- X0d_of_N0d(i=C-C_C-X@gateway/tor/x-e3b770b526711196) has joined #tryton14:55
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton16:11
-!- carlos(n=carlos@89.7.24.44) has joined #tryton16:37
-!- carlos(n=carlos@89.7.24.44) has joined #tryton17:22
-!- mh1(n=mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton17:34
mh1Hallo.17:34
cedkmh1: hi17:38
mh1I have just successfully installed tryton using virtualenv and easy_install. Now I'm looking for documentation related to the first steps (in order to configure an example company).17:41
cedkmh1: we have not yet this kind of documentation17:41
cedkbut I think it will not be to difficult for you to understand the software17:42
cedkand if you have questions, ask here or on the mailing list17:42
cedkmh1: did you already create a database and install some modules?17:43
mh1hm. The usage is quite self explaing but I was not able to create an invoice. I need to enter...17:43
mh1cedk: for testing I installed all modules from the 1.0.1 branch.17:44
cedkmh1: what is your issue with invoice?17:45
udonomh1: hi, did you have created a fiscal year?17:45
mh1taxes, companies and lot's of other things I don't what their meaning is.17:45
mh1hi, udono. :) Well, no.17:45
udonomh1: for invoices you need some accounting stuff. Like a chart of accounts and a defined fiscal-year you find this under financial management > configuration17:48
mh1Why is there a subsection "suppliers" under "parties"?17:49
udonomh1: Its because you installed purchased?!17:51
cedkmh1: it is just a subset of parties that the system know they are suppliers17:51
udonos/purchased/purchase module17:51
mh1Why is there a "customers" subset?17:53
mh1s/is/isn't/17:53
cedkmh1: because anybody can be a customer17:54
mh1I have installed the purchase module.17:54
udonomh1: and you have installed the sales module (from this comes the customer on party)17:56
mh1Suppliers is the only subset of party.17:56
udonomh1: ok, yes, Iam wrong :-)17:57
mh1ok.17:58
mh1Yet another topic: is it possible/difficult to import/generate invoices from an external source?17:59
mh1Is there an interface/API or something like that?17:59
CIA-53tryton: matb roundup * #691/InvocationException when printing graph: [new] Chose model 'Party', select print to graph, level 1: Installed is pydot-1.0.2-py2.5.egg Traceback (most recent call last): File "/tryton ...18:00
udonomh1: sorry, Iam away for today. But take a look to client Menu form > Import/Export data. Iam back  tomorrow..18:22
mh1udono: thanks.18:23
-!- juanfer(n=juanfer@190.157.143.212) has joined #tryton18:23
cedkmh1: otherwise, you can write a script that communicate with Tryton server trought XML-RPC or Tryton protocol or you can use Tryton as a library18:25
cedkhttp://groups.google.com/group/tryton/browse_thread/thread/72785c50c23a293f18:26
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 1380:dc61743e6b88 trytond/trytond/ir/model.py: Fix model graph for pydot 1.0.2 for issue69119:12
CIA-53tryton: ced roundup * #691/InvocationException when printing graph: [resolved] Fix with changeset dc61743e6b8819:13
CIA-53tryton: matb roundup * #692/Print option 'Email as attachment': field email for report invoice not evaluated: [new] When printing an invoice to mail, neither field email of Administration/UI/Actions/Reports is evaluated nor email['subject'] = action['name' ...19:19
-!- mmarshall(n=mmarshal@adsl-76-255-70-173.dsl.rcsntx.sbcglobal.net) has joined #tryton19:51
-!- ikks(n=igor@190.12.153.202) has joined #tryton20:15
-!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton20:46
ikkscarlos, sounds like spanish?21:14
carlosikks: I'm from Spain, yes21:16
ikkscarlos: ok, from Colombia, If you are interested in review the translation, just let me know21:17
carlosikks: My priority is functionality, but count with me if I see something that could be improved ;-)21:18
ikksnice. Don't hesitate to ask on the mailing list, really responsive and collaborative :)21:18
carlosyeah, that's what I really like from Tryton vs. OpenERP...21:19
mh1Is it possible to use latex templates with tryton?21:21
ikksmh1 it sounds really opposite to the things one would expect of an ERP21:21
mh1ikks: Why?21:22
ikksmh1, it's not so common to have LaTeX experts on an enterprise.21:23
mh1/mh1 cannot think of any easier way of keeping templates for different kinds of documents in sync. Manually doing this on a bunch of office documents is not what I would call an professional approach.21:27
mh1Nevertheless Relatorio *does* support LaTeX.21:32
-!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton21:43
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 1132:7890c73b42df tryton/tryton/gui/window/view_form/view/ (form.py list.py): Always add email subject for issue69221:52
CIA-53tryton: ced roundup * #692/Print option 'Email as attachment': field email for report invoice not evaluated: [resolved] Fix with changeset 7890c73b42df21:52
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 1381:cdf13f72c507 trytond/trytond/ir/action.py: Add email field for wizards that are used with reports21:53
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 1382:ec0a48ce5cf0 trytond/trytond/ir/ (action.py action.xml): Add email on wizard view and move email field from wrong model22:10
carlosmh1: If relatorio supports Latex, I'm sure Tryton supports it too or is quite easy to add it22:20
cedkmh1, carlos: we don't provide support for latex but it must be easy to do it22:22
cedkjust override the execute function of Report22:22
cedkbut you must handle yourself the translation22:23
carloscedk: btw, I guess is ok to take some code from OpenERP/TinyERP as the base for a Tryton module, right? (as far as I know, GPLv2 and later is compatible with GPLv3)22:27
carloscedk: I'm thinking about the Spanish accounting module22:27
cedkcarlos: yes and normally they also change to GPL322:27
carlosOh, I didn't know OpenERP is also moving to GPL322:28
-!- snowch(n=snowch@82.152.13.57) has joined #tryton22:39
snowchhello irc!22:39
cedksnowch: hi22:40
snowchhi cedic, does the tryton (openerp) follow good python programming practices?  from what I've read, you have already done a fair amount of cleaning of the code?22:42
cedksnowch: yes we try22:42
CIA-53tryton: C?dric Krier <ced@b2ck.com> default * 224:471065ea640f account_invoice/invoice.odt: Separate tests for document title to allow better formatting and translation for issue65822:43
snowchone of the things I am struggling with is the tight coupling between the various layers.  for example, db_pool is used throughout many classes, yet normally db_pool should only be used by upper layer (i.e. orm layer)?22:44
CIA-53tryton: ced roundup * #658/Make translation of title of invoice report independent from invoice.type: [resolved] Fix with changeset 471065ea640f Please try next time to provide a bundle with only the changeset for the issue.22:44
cedksnowch: I don't see what you are talking22:45
snowchI can see now how it is difficult to switch to another orm layer22:45
cedkthere is no db_pool ?22:48
snowchcedk: for example, server talks directly to pooler.  in java I would hide pooler behind a service layer.22:48
snowchcedk: sorry I meant pooler!22:49
cedksnowch: why? what is the benefit?22:49
cedkand what do you call "service layer"?22:50
snowchcedk: keep all the business service code packaged together, likewise, keep all the lower level orm code together22:50
cedksnowch: that is what we have as business is in modules22:51
mh1What does the setting "multi_server" ind trytond.conf mean?22:59
snowchcedk: in java i would hide all direct calls to database behind a 'service' layer.  for example in server.py, there is code for SELECT'ing LANG, UPDATE'ing res_user, etc22:59
cedkmh1: it allows to run many servers on the same database, it will activate cache cleaning23:00
cedksnowch: why ?23:01
cedkI agree that we must try to minimize the use of sql query, but some times it is more efficient23:02
snowchcedk: keep all code with similar functionality together.  it may make the code less efficient, but more readable and maintainable.  for example replacing the orm layer is currently difficult because there are so many dependencies on it throughout all the code.23:04
cedksnowch: and by the way in this code we can not use the ORM23:04
cedksnowch: in fact it is not an ORM23:04
cedkand I think there is no name for what it is23:05
snowchcedk: maybe it's my java background (and lack of python knowledge), but i find the code difficult to read.  there is not a clear separation of responsibilities.  for example, the server.py is: configuring logging, talking to the database, setting up web services, setting up code for handling netsvc and xmlrpc, setting up webdav, etc..23:13
mh1What would to suggest a newbie to do/read etc. in order to get an impression for the usage of tryton? (already successfully installed) There so many dialog ands options "to guess"...23:14
cedksnowch: I find it is the right place as it is the server23:14
cedksnowch: it can have some refactorize to put some part of code in an other file, but I don't find it usefull if it is to create file with two lines of code23:15
cedkmh1: what do you want to see? functionnality or coding?23:16
snowchcedk: it would make the code easier to read, maintain and unit test.23:18
snowchcedk: but this is why I am asking if this is the python way and i need to change my mindset to understand the code?23:20
mh1I trying out tryton for my company. As I'm a software developer I'm not afraid of python code though. But at first I would like to know if tryton fits our requirements.23:20
cedksnowch: it is planned to refactorize the web_service stuff for the next release23:21
cedkmh1: what is your requirements?23:21
mh1We need to manage customers, services and invoices. We need an interface to (batch) import invoices generated by external accouting tools and furthermore the export of the journal/accouting data for further (external) processing.23:27
snowchcedk: ok, thanks for your help again!23:27
cedkmh1: what kind of services?23:28
cedkmh1: for invoice, I think there is no problem23:28
cedkmh1: for customer, it depends what do you need to manage23:28
cedkmh1: for export/import there is the csv tool from the client but there is also some other possibility that will need some programming (but it will be not difficult)23:29
cedksnowch: we will start the refactoring in 1-2 months23:29
mh1services provided by our company (it's supported)23:30
cedkmh1: no needs of project management ?23:30
mh1We mainly use trac and/or otrs up to now. Does tryton support project management?23:31
cedkmh1: there is a begining of module23:31
mh1At all Tryton seems to fit so far. Now I started playing around to get an impression of the usage but it's hard without any documentation.23:32
cedkmh1: the main difficulty to provide documentation, is that as Tryton is modular23:35
mh1cedk: and the modules hook into each other. I suppose.23:37
cedkmh1: yes, they can change the form, the workflow, etc...23:37
cedkmh1: but for your tests, you can just start create sale order23:38
cedkmh1: confirm it, and you will have the invoice created automaticaly23:38
cedkmh1: you will see also on the party that the receivable field will be updated also23:40
cedkmh1: by the way, you must first create product of type services23:44
mh1I tried to create a customer invoice. But I had to add serveral companies, accounts, taxes and such things. I still don't know what they a used to.23:44
cedkmh1: company is your company in the system23:45
cedkmh1: accounts is for the accounting stuff, I think it is normal to have it since you want to create invoice23:45
mh1Tryton supports multiple companies in a single db?23:46
cedkmh1: yes23:46
mh1ok, that's why I need to assign a company to each account?23:46
mh1(financial account not user account)23:47
cedkmh1: yes but normally you use a account template to create it23:47
cedkmh1: yes, in Tryton you don't need to create account for your customers23:47
mh1I installed the default template with those general payable receivable accounts. But those accounts did not appear when when I later added an invoice.23:48
cedkmh1: did you select default payable/receivable account in the wizard?23:49
mh1I would expect a "customer account" to be implicitly added when a customer is added. However, there was no account when I selected that customer in the invoice form. And then tryton crashed.23:50
mh1I would expect to assign a p/r account to each service/product/stock item.23:50
cedkmh1: yes there is field on product for that23:50
-!- snowch(n=snowch@82.152.13.57) has left #tryton23:51
mh1I expect I forgot some steps while doing the basic setup.23:51
mh1Back to "documentation":23:51
cedkmh1: and you can have default value set on it, but for that you must configure it23:51
mh1Tryton ships with a some extension modules. "core" is mainly useless. Maybe a starting point for documentation would be from a basic set of installed modules required nearly all companies: accounting, customers, products, invoices.23:54
cedkmh1: yes, but it needs times23:56
mh1I wonder if looking at Open/TinyERP documentation is useful. One or two years ago I look at TERP but the docs weren't helpful at all. Moreover Tryton has envolved. :)23:57
cedkmh1: some stuff are still the same23:58

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!