IRC logs of #tryton for Tuesday, 2009-01-20

chat.freenode.net #tryton log beginning Tue Jan 20 00:00:01 CET 2009
2009-01-20 00:13 <carlos> vengfulsquirrel: bis would be something like 'secondary' (not a perfect definition, but I hope you get the meaning)
2009-01-20 00:14 <carlos> in Spain we use it sometimes for addresses (not the same use as Tryton, but a good example). For instance, when two buildings have the same address number, to differentiate them, one is the number 4 and the other the 4 BIS
2009-01-20 00:16 <cedk> vengfulsquirrel: about the csv import, there is the import_data function on models
2009-01-20 00:16 <cedk> vengfulsquirrel: this is the function used in the Tryton client for the import
2009-01-20 00:25 <vengfulsquirrel> cedk: Okay thanks I'll look into that function, in the client there is a lot going on that isn't apparent from looking at individual OSV model definitions. Anyways what I'm doing right now is unrelated to MRP, but I thought more about the multiple output BOMs and I think that won't be too much harder as long as we make sure every product has only one valid principal BOM at any given time.
2009-01-20 00:26 <CIA-51> tryton: matb roundup * #752/Enable notes for invoice lines: [new] See attached patches to have same layout and notes for invoice lines as for purchase/sale lines
2009-01-20 00:27 <cedk> vengfulsquirrel: I don't think that you must restrict to one principal output
2009-01-20 00:29 <vengfulsquirrel> Not one principal output just each product can only be one principal output on any given bom... otherwise there is no reason to mark principal.
2009-01-20 00:29 <vengfulsquirrel> A BOM can have many principal outputs
2009-01-20 00:30 <vengfulsquirrel> but a product can only have one principal bom
2009-01-20 00:30 <cedk> vengfulsquirrel: I don't think so
2009-01-20 00:30 <cedk> vengfulsquirrel: there is rare case where a product can have many BOMs
2009-01-20 00:30 <vengfulsquirrel> How does the system know how to produce a product?
2009-01-20 00:30 <vengfulsquirrel> A product can have many boms but you aren't going to use multiple boms during production just the principal bom.
2009-01-20 00:31 <cedk> vengfulsquirrel: for me, BOMs must have a sequence to give a default priority
2009-01-20 00:31 <vengfulsquirrel> Why mark principal then?
2009-01-20 00:31 <cedk> vengfulsquirrel: and so when the system will create the production order, it selects the default BOMs and set it on the production order
2009-01-20 00:32 <cedk> vengfulsquirrel: and then the user can change it to an other if he want
2009-01-20 00:32 <cedk> vengfulsquirrel: because some production can create a product but not in the best way, just because it is a trash effect
2009-01-20 00:33 <vengfulsquirrel> ha oh man okay seems like a lot of unnecessary complexity but that can still work
2009-01-20 00:33 <cedk> vengfulsquirrel: think about a metal plate that you can cut it
2009-01-20 00:34 <cedk> vengfulsquirrel: so you must not selected to produce the product
2009-01-20 00:34 <vengfulsquirrel> I understand multiple outputs but I don't understand really multiple principal boms.
2009-01-20 00:34 <cedk> vengfulsquirrel: still, think about metal plate that you cut
2009-01-20 00:35 <cedk> vengfulsquirrel: you will have always two parts
2009-01-20 00:35 <cedk> vengfulsquirrel: this can be two products
2009-01-20 00:35 <vengfulsquirrel> okay
2009-01-20 00:35 <cedk> vengfulsquirrel: I think that multiple outputs have means when you cut :-)
2009-01-20 00:36 <vengfulsquirrel> So you'd have two different boms that produce the exact same cut plate size and you might use either.
2009-01-20 00:37 <cedk> vengfulsquirrel: this is redondant
2009-01-20 00:37 <cedk> vengfulsquirrel: and think about three cuts or four cuts :-)
2009-01-20 00:38 <vengfulsquirrel> Yeah okay at least I have an industry to blame for the complexity, the cutting-of-anything industry.
2009-01-20 00:39 <vengfulsquirrel> You've convinced me that it could be necessary though.
2009-01-20 00:45 <cedk> vengfulsquirrel: good :-)
2009-01-20 00:46 <vengfulsquirrel> I guess I just don't understand why we need principal though, shouldn't the sequence order of all boms listing the product as an output determine the priority of the BOMs ?
2009-01-20 00:48 <cedk> vengfulsquirrel: because sequence can be not enough in some case
2009-01-20 00:48 <cedk> vengfulsquirrel: and you will want to be sure that one BOM will never be used to produce the trashed product
2009-01-20 00:50 <vengfulsquirrel> but the user would have to look past the higher priority boms that make the product not as trash to then select the bom that produces the product as trash... so does non-principal just mean you can't ever use that bom during production for that output
2009-01-20 00:51 <vengfulsquirrel> A sort of filter on what boms should be used to produce that product ? ie. filtering the trash boms ?
2009-01-20 00:52 <cedk> vengfulsquirrel: yes
2009-01-20 00:53 <vengfulsquirrel> Okay I think we are making progress... so does sequence order then ONLY apply to principal boms ?
2009-01-20 00:53 <cedk> vengfulsquirrel: what is principal boms ?
2009-01-20 00:54 <vengfulsquirrel> A principal bom for a given product is a BOM that lists that product as a principal output.
2009-01-20 00:54 <vengfulsquirrel> So for a given product there are a list of principal boms and a list of non-principal boms(boms that produce the product as trash).
2009-01-20 00:55 <CIA-51> tryton: matb roundup * #753/Client: segfault with spell check: [new] When selecting a proposal from the spellchecker the client segfaults immediately. Confirmed for Debian and Ubuntu.
2009-01-20 00:56 <vengfulsquirrel> Or would all of a product's bom no matter if they are principal or not all be sequenced with the same number?
2009-01-20 00:57 <cedk> vengfulsquirrel: for which use ?
2009-01-20 01:01 <vengfulsquirrel> For selecting a bom to use for production of a specific product
2009-01-20 01:02 <cedk> vengfulsquirrel: yes
2009-01-20 01:06 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 431:0ece3508e678 stock/packing.py: Improve test in assign wizards to not call twice assign_try
2009-01-20 01:06 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 432:06d775dc66f8 stock/ (CHANGELOG move.py packing.py product.py):
2009-01-20 01:06 <CIA-51> tryton: Move assign_try and pick_product from product.product to stock.move
2009-01-20 01:06 <CIA-51> tryton: Fix assign_try to work on all child locations
2009-01-20 01:06 <CIA-51> tryton: Use copy in assign_try to be more generic
2009-01-20 01:13 <vengfulsquirrel> cedk: Hmm okay well I'm going to update the wiki later then to reflect what we talked about. Thanks.
2009-01-20 01:14 <cedk> vengfulsquirrel: ok
2009-01-20 01:14 <vengfulsquirrel> bbl
2009-01-20 01:24 <CIA-51> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 256:555228014bf4 account_invoice/ (invoice.py invoice.xml):
2009-01-20 01:24 <CIA-51> tryton: Enable notes for invoices
2009-01-20 01:24 <CIA-51> tryton: - Add notebook on invoice line form
2009-01-20 01:24 <CIA-51> tryton: - Add notes to invoice lines
2009-01-20 01:24 <CIA-51> tryton: - Add spellcheck for text fields
2009-01-20 01:24 <CIA-51> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 38:11f19eae44d8 analytic_invoice/invoice.xml: Update for new invoice line form
2009-01-20 01:24 <CIA-51> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 215:bacc85fc9a66 purchase/purchase.py: Enable notes for invoice lines
2009-01-20 01:24 <CIA-51> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 109:3ad5c2bcbc9d sale/sale.py: Enable notes for invoice lines
2009-01-20 01:26 <CIA-51> tryton: ced roundup * #752/Enable notes for invoice lines: [resolved] Applied
2009-01-20 01:27 <CIA-51> tryton: ced roundup * #752/Enable notes for invoice lines: [chatting] Next time, it will be good to put in the commit message the number of the issue.
2009-01-20 01:36 <CIA-51> tryton: ced roundup * #753/Client: segfault with spell check: [testing] It works well here with gtkspell-python-2.19.1
2009-01-20 01:58 <CIA-51> tryton: ced roundup * #753/Client: segfault with spell check: [resolved] It seems to be a gtkspell bug https://bugs.launchpad.net/ubuntu/+source/gtkspell/+bug/120569
2009-01-20 02:26 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-01-20 03:10 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2009-01-20 04:26 -!- gremly(n=oscar@190.156.170.254) has joined #tryton
2009-01-20 05:19 -!- yangoon(n=mathiasb@p549F4959.dip.t-dialin.net) has joined #tryton
2009-01-20 07:50 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-01-20 07:54 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-01-20 07:59 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-01-20 08:56 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-3d968caba0277967) has joined #tryton
2009-01-20 09:18 <CIA-51> tryton: vengfulsquirrel * r425 /wiki/TrytonMRPIntegration.wiki: Made more changes with respect to multiple output BOMs.
2009-01-20 09:29 <cristi_an> do you know every for that the client display is written on some xml on server side ?
2009-01-20 09:29 <cristi_an> every form
2009-01-20 09:34 -!- nicoe(n=nicoe@ip-80-236-225-36.dsl.scarlet.be) has joined #tryton
2009-01-20 09:39 -!- Gedd(n=ged@ip-80-236-225-36.dsl.scarlet.be) has joined #tryton
2009-01-20 09:46 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2009-01-20 09:50 <CIA-51> tryton: Timitos roundup * #744/AttributeError: TranslateFactory instance has no attribute 'ugettext': [resolved] found the error. it was a local issue
2009-01-20 09:51 <Timitos> cristi_an: i do not understand your question
2009-01-20 09:56 <cristi_an> Timitos: client is full of user interface logic
2009-01-20 09:56 <cristi_an> widgets
2009-01-20 09:56 <cristi_an> etc
2009-01-20 09:56 <cristi_an> i asked if all this come from server side
2009-01-20 09:56 <cristi_an> the layout
2009-01-20 09:56 <cristi_an> etc
2009-01-20 09:56 <cristi_an> the xml's ?
2009-01-20 09:57 <cristi_an> and xml's are stored on client side...?
2009-01-20 09:57 <cristi_an> like cahced
2009-01-20 09:57 <Timitos> cristi_an: not everything. there is a basegui which is coded in python.
2009-01-20 09:58 <Timitos> but you better ask cedk for this.
2009-01-20 10:00 <cristi_an> not really imp in this moment
2009-01-20 10:01 <cristi_an> just as i go ...i want to know a little bit of this ,that
2009-01-20 10:02 -!- saxa(i=1000@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton
2009-01-20 10:17 -!- evernichon(n=evernich@170.87-65-87.adsl-dyn.isp.belgacom.be) has joined #tryton
2009-01-20 11:00 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2009-01-20 11:03 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-01-20 11:30 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-01-20 11:46 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-01-20 12:15 <CIA-51> tryton: Timitos roundup * #754/permission problem when creating product category: [new] i created a user without rights for administration internal. When i try to create a product category with this user i get the following err ...
2009-01-20 12:40 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2009-01-20 12:41 -!- CIA-51(n=CIA@208.69.182.149) has joined #tryton
2009-01-20 13:00 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-01-20 14:03 -!- yangoon(n=mathiasb@p549F4959.dip.t-dialin.net) has joined #tryton
2009-01-20 14:26 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1470:5397642eeedb trytond/trytond/ir/property.py: Use root user to delete, create property in set function for issue754
2009-01-20 14:26 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 121:803b8b0bd9a8 company/company.py: Use root user to write property in set function for issue754
2009-01-20 14:26 <CIA-51> tryton: ced roundup * #754/permission problem when creating product category: [resolved] Fix with changeset 5397642eeedb and 803b8b0bd9a8
2009-01-20 14:29 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1320:1244280efc4d trytond/trytond/security.py:
2009-01-20 14:29 <CIA-51> tryton: Add exponential timeout on failed login attempts.
2009-01-20 14:29 <CIA-51> tryton: Thanks to Bruce's comment about the Twitter issue.
2009-01-20 14:29 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1321:2b9ea4f07887 trytond/trytond/tools/misc.py: Use repr to convert key instead of str in the case of key is an unicode
2009-01-20 14:29 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1322:e444ab4743ed trytond/trytond/osv/orm.py: Fix order for selection fields that use a function instead of list.
2009-01-20 14:29 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1323:ccc6b8cf8361 trytond/trytond/osv/orm.py: Fix in clause on boolean fields and prevent to modify args
2009-01-20 14:30 <CIA-51> tryton: Bertrand Chenal <bch@b2ck.com> default * 146:1f85606aa588 stock_supply/order_point.py: Fix product domain on order point (issue745)
2009-01-20 14:30 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 147:7ce8f6aa7078 stock_supply/order_point.py: Use more standard way for string domain
2009-01-20 14:51 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-20 15:09 -!- cristi_an(i=5bbf82c4@gateway/web/ajax/mibbit.com/x-48cf55c10326491c) has joined #tryton
2009-01-20 15:12 <cedk> cristi_an: could you answer to the issue750?
2009-01-20 15:15 <cristi_an> cedk: i wrote mail
2009-01-20 15:15 <cristi_an> replyed
2009-01-20 15:16 <cedk> cristi_an: it was not received
2009-01-20 15:16 <cedk> cristi_an: could you send it again?
2009-01-20 15:17 <cristi_an> cedk: i did
2009-01-20 15:17 <cristi_an> cedk: you did not get ?
2009-01-20 15:17 <cristi_an> however i can;t reporduce exact steps
2009-01-20 15:18 <cedk> cristi_an: ok, it is grey-listed
2009-01-20 15:22 <CIA-51> tryton: cristi roundup * #751/ValueError: list.index(x): x not in list: [chatting] The problem is that i can;t reporduce. I played with the client doing a lot of stuff. However it happend when i swithc list from view b ...
2009-01-20 15:23 <cristi_an> in the accounting module is possible to add something like a bulk payment
2009-01-20 15:23 <cristi_an> for invoices
2009-01-20 15:23 <cristi_an> there are customers that may have like 50 ,60 invoices
2009-01-20 15:23 <cristi_an> not payed
2009-01-20 15:23 <cristi_an> and then they go to bank and pay a sum
2009-01-20 15:24 <cristi_an> i would like to be able to enter that sum and to "reconcile" (this is the term) the unpayed invoces
2009-01-20 15:24 <cristi_an> until the sum is = 0
2009-01-20 15:24 <cedk> cristi_an: ok, you must use the account_statement module
2009-01-20 15:24 <cedk> cristi_an: to encode the bank statement
2009-01-20 15:24 <cedk> cristi_an: there, you can link a payment to one invoice
2009-01-20 15:25 <cedk> cristi_an: or if you want, you can make the reconciliation in "Financial Management>Entries>Reconcile Lines"
2009-01-20 15:25 <cristi_an> ok but possible to do bulk ?
2009-01-20 15:25 <cristi_an> enter 10000$
2009-01-20 15:26 <cristi_an> and to do this automatically ?
2009-01-20 15:26 <cristi_an> for the unpaied invoices
2009-01-20 15:27 <cristi_an> i just want to select a customer or a supplier
2009-01-20 15:27 <cedk> cristi_an: there is no automatic mecanism for reconciliation for now
2009-01-20 15:27 <cristi_an> i see
2009-01-20 15:27 <cristi_an> but is possible to be done
2009-01-20 15:27 <cedk> cristi_an: but it is possible to create a module for that
2009-01-20 15:27 <cristi_an> i am asking abou thtings that i will possible be able to do
2009-01-20 15:29 <cristi_an> so is possible to extend the accounting module ? i mean to create a new module that extend the accounting module but to have this feature
2009-01-20 15:29 <cedk> cristi_an: yes
2009-01-20 15:29 <cedk> cristi_an: it is possible to do anythings in a module !
2009-01-20 15:30 <cedk> cristi_an: you can change any part of Tryton in a module
2009-01-20 15:32 <cristi_an> cedk: but is possible to remove override from behaviour from a module
2009-01-20 15:33 <cristi_an> by creating another the exteds it
2009-01-20 15:33 <cristi_an> the = that
2009-01-20 15:33 <cedk> cristi_an: don't understand
2009-01-20 15:34 <cristi_an> sorry :)
2009-01-20 15:35 <cristi_an> cedk: let;s say you have a fucntion that calcultes something in a module and i want to create a new module that override the function and adding some new behaviour....
2009-01-20 15:35 <cristi_an> i am sure is possible
2009-01-20 15:35 <cedk> cristi_an: yes
2009-01-20 15:35 <cristi_an> just asked to double ccheck
2009-01-20 15:36 <cristi_an> cedk: accounting module was rewritten from 0
2009-01-20 15:36 <cristi_an> ?
2009-01-20 15:36 <cristi_an> or it has coomon parts with open erp modules
2009-01-20 15:37 <cedk> cristi_an: rewritten from scratch, but I know very well the account module from OpenERP so I keep some good ideas
2009-01-20 15:38 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-01-20 15:39 <cristi_an> cedk: and how much time took you to do that (apx) that module
2009-01-20 15:39 <CIA-51> tryton: ced roundup * #750/ValueError: list.index(x): x not in list: [resolved] duplicated issue751
2009-01-20 15:41 <cristi_an> apx = aproximative
2009-01-20 15:41 <cedk> cristi_an: about 2 months but not fulltime
2009-01-20 15:44 <cristi_an> WOW !!!!
2009-01-20 15:45 <cristi_an> then for me doing such a thing means more then a year :))
2009-01-20 15:45 <cristi_an> pfffff
2009-01-20 15:47 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1165:e031f5775cda tryton/tryton/gui/window/view_form/view/list.py: Improve on_get_path if iter not in models for issue751
2009-01-20 15:48 <CIA-51> tryton: ced roundup * #751/ValueError: list.index(x): x not in list: [resolved] Must be fixed with changeset e031f5775cda
2009-01-20 15:59 <cristi_an> cedk: hwo much it will take you to write a POS module ?
2009-01-20 16:14 -!- cristi_an(i=5978d3ce@gateway/web/ajax/mibbit.com/x-943fe938689eb8c7) has joined #tryton
2009-01-20 16:15 <cristi_an> cedk: and any other :how long it will take for u to createa POS module ?
2009-01-20 16:31 <cedk> cristi_an: it is difficult to say because it depends of the needs
2009-01-20 16:41 <cristi_an> cedk: you know what a POS means,barcodes,printing the bill in real time on a printer,http://translate.google.com/translate?prev=hp&hl=ro&u=http%3A%2F%2Fwww.magister.ro%2Fcorporate%2Fportal%2Falias__magister%2Flang__ro-RO%2FtabID__3985%2FDesktopDefault.aspx&sl=ro&tl=en
2009-01-20 16:41 <cristi_an> creating some dayily reports
2009-01-20 16:42 <cristi_an> then at the end of the day to create an item the is withdrawn from stock
2009-01-20 16:43 <cedk> cristi_an: this is no so simple
2009-01-20 16:45 <Gedd> cedk: bechamel: I've committed the change to relatorio to implement simple column looping
2009-01-20 16:46 <cedk> Gedd: ok, we will test it
2009-01-20 16:46 <nicoe> Gedd: s/commited/pushed I suppose
2009-01-20 16:47 <Gedd> cedk: bechamel: one of the examples (the one with one column loop across several lines) doesn't work yet though
2009-01-20 16:47 <Gedd> nicoe: yep, of course
2009-01-20 16:47 <cristi_an> well but cedk ,common is it not that hard i did it in java in 3 weeks
2009-01-20 16:48 <cristi_an> here you have a framework
2009-01-20 16:48 <cristi_an> already...
2009-01-20 16:49 <Gedd> cedk: if you need it, the obvious workaround to that case is to have the loop instructions on each line
2009-01-20 16:51 <cedk> Gedd: will it be fixed?
2009-01-20 16:51 <Gedd> cedk: as a bonus, you get ~10% faster relatorio
2009-01-20 16:52 <bechamel> one can also put a table in the cell
2009-01-20 16:52 <Gedd> cedk: yes, though the "collection" will need to be iterable several times
2009-01-20 16:52 <Gedd> because I'll do the above workaround automatically
2009-01-20 16:55 <Gedd> ~10% faster if you don't cache the first "relatorio" phase and you don't have column repetition. And a lot slower if you have column repetition, but that can't be helped due to limitations in Genshi (I need to do a second pass on the data).
2009-01-20 16:58 <cedk> cristi_an: look with carlos for POS, he is working on this
2009-01-20 17:00 <cristi_an> k
2009-01-20 17:09 <carlos> cristi_an: We need something for the end of February, so we are thinking on do an initial version using OpenBravo's POS integrated with Tryton and then, move to one designed to work with Tryton
2009-01-20 17:14 <cristi_an> carlos: cedk something is not right a post moduel to take month to create ?
2009-01-20 17:14 <cristi_an> /s/post/POS
2009-01-20 17:14 <cristi_an> months
2009-01-20 17:15 <carlos> well, it depends on the dedication you have to the project
2009-01-20 17:15 <cristi_an> carlos: i see
2009-01-20 17:15 <carlos> it doesn't mean we are working full time until end of February
2009-01-20 17:15 <cristi_an> but,tryton ,using python :) has to be gast development
2009-01-20 17:15 <cristi_an> fast
2009-01-20 17:16 <carlos> sure, but there are other developments, like the Chart of accounts, other projects outside Tryton and learn Tryton development
2009-01-20 17:17 <cristi_an> carlos: chart of accounts is not a list with accounts that has to be introduced in tryton (imported)
2009-01-20 17:17 <cristi_an> carlos: that can be done in half a day
2009-01-20 17:17 <cristi_an> let's say 1 day
2009-01-20 17:17 <carlos> sure, if you have the data in a way you can process it with a program
2009-01-20 17:17 <carlos> which is not the case
2009-01-20 17:17 <carlos> at least for me
2009-01-20 17:18 <cristi_an> even if you enter that manually
2009-01-20 17:18 <cristi_an> it shoudl be ready in 1 day
2009-01-20 17:18 <carlos> dude, how many accounts do you have in your country?
2009-01-20 17:18 <cristi_an> let me show you
2009-01-20 17:18 <cedk> cristi_an: any way, I think creating a *good* POS is not so easy
2009-01-20 17:19 <cristi_an> http://www.kpmg.ro/dbfetch/52616e646f6d4956168b815c8c8bd43e18b87af8ffaafc4ea187f14dfdd8ac2c/romanian_chart_of_accounts.pdf
2009-01-20 17:19 <cristi_an> hundreds
2009-01-20 17:19 <cedk> there is many different needs like offline/online, generate invoice or not, handle product price with or without taxes, synchronous process
2009-01-20 17:20 <cristi_an> cedk: those are indeed some thing neede to be take into account
2009-01-20 17:20 <cedk> Gedd: when do you expect to handle loop on many rows?
2009-01-20 17:21 <cristi_an> but for an expericned man like you if you know the logic ...not more then 1 month
2009-01-20 17:21 <Gedd> cedk: loops on many rows works...
2009-01-20 17:21 <cristi_an> even that is too much i say ...
2009-01-20 17:21 <Gedd> cedk: what doesn't work is only if you merge the cells vertically
2009-01-20 17:21 <cedk> cristi_an: and I prefer take a little more time to think about then coding something that will need to be changed many times (like some others :-))
2009-01-20 17:22 <cristi_an> cedk: here i agree with you 100 %
2009-01-20 17:22 <carlos> cristi_an: the Spanish document is 152 pages and you are forgetting about the balance sheet and the income statement (which are not in the document you gave to me)
2009-01-20 17:22 <cedk> Gedd: yes, that is what I want to say, loop on many *vertical* rows
2009-01-20 17:22 <cristi_an> carlos: then for you is different
2009-01-20 17:22 <Gedd> cedk: and that one will probably be "fixed" (or rather implemented) tomorrow
2009-01-20 17:23 <carlos> cristi_an: also, I'm quite new to the accounting software, so I'm slower than cedk ;-)
2009-01-20 17:23 <cristi_an> cedk: but belive me from my exp there is NEVER a general solution....you need to change all the time
2009-01-20 17:23 <carlos> cristi_an: well, what I told you is also valid for Germany and I think Belgium and other UE countries
2009-01-20 17:23 <cristi_an> carlos: there is a starting point for everything
2009-01-20 17:24 <cristi_an> so keep up the good work...maybe i will reuse it :) :P
2009-01-20 17:24 <carlos> cedk: btw, my tax advisor told me that there is nothing in Spain that prevents me to use the way Tryton has to handle accounting, as long as I'm able to extract the information per 'party'
2009-01-20 17:25 <carlos> Timitos: ^^
2009-01-20 17:25 <carlos> neither any law that prevents us to add 'documentation' for each account
2009-01-20 17:26 <carlos> cristi_an: indeed
2009-01-20 17:26 <carlos> cristi_an: anyway, if you don't have balance sheet or income statement reports, should be quite easy for you to create your chart of accounts
2009-01-20 17:26 <cedk> carlos: great
2009-01-20 17:27 <cedk> carlos: will you make the devs to add note on template? I think it is a good exercise :-)
2009-01-20 17:28 <carlos> As I said, I added it to my todo list, but is not my priority right now, so it will depend on how busy I'm with other projects :-)
2009-01-20 17:29 <cedk> carlos: it is just to know if we wait you or we can start it
2009-01-20 17:29 <cedk> carlos: but so we will wait you
2009-01-20 17:31 <carlos> if you want to go and do it, you can do it. I don't think I will have time to work on it until March or so
2009-01-20 17:31 <carlos> however, I thought you said it was not a priority for you either ;-)
2009-01-20 17:40 -!- tekknokrat(n=gthieleb@87.193.170.219) has joined #tryton
2009-01-20 17:40 -!- tekknokrat(n=gthieleb@87.193.170.219) has left #tryton
2009-01-20 17:48 <cristi_an> carlos: so you use tryton not only want to offere services
2009-01-20 17:49 <cristi_an> carlos: so you have to enter more the the accounts
2009-01-20 18:51 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-01-20 19:32 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton
2009-01-20 19:51 -!- paola(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-01-20 19:53 -!- mmarshall(n=mmarshal@adsl-76-255-76-128.dsl.rcsntx.sbcglobal.net) has joined #tryton
2009-01-20 19:56 -!- enlightx(n=enlightx@host-84-220-86-72.cust-adsl.tiscali.it) has joined #tryton
2009-01-20 20:03 <CIA-51> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 257:64b34f739ef4 account_invoice/de_DE.csv: Update translation for de_DE
2009-01-20 20:04 <CIA-51> tryton: Mathias Behrle <mathiasb@behrle.dyndns.org> default * 433:255e90000333 stock/de_DE.csv: Update translation for de_DE
2009-01-20 20:09 <CIA-51> tryton: matb roundup * #755/Inventories: moving with keyboard: [new] In a new inventory it is not possible to move via keyboard in the selection box for location.
2009-01-20 20:15 -!- X0d_of_N0d(i=user@gateway/tor/x-7f50e0c4f0e31930) has joined #tryton
2009-01-20 20:31 <CIA-51> tryton: matb roundup * #756/Stock: calculation of assignable products: [new] If there are 5 units of some product on stock, but there is a sale for 10 units of this product, the wizard for force assigning shows 10 uni ...
2009-01-20 21:09 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-01-20 21:10 -!- johbo(n=joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2009-01-20 21:10 -!- panthera(n=daniel@unable-to-package.org) has joined #tryton
2009-01-20 21:10 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2009-01-20 21:10 -!- saxa(i=1000@host242-95-static.223-217-b.business.telecomitalia.it) has joined #tryton
2009-01-20 21:10 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-01-20 21:10 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-01-20 21:10 -!- CIA-51(n=CIA@208.69.182.149) has joined #tryton
2009-01-20 21:10 -!- carlos(n=carlos@89.7.24.44) has joined #tryton
2009-01-20 21:10 -!- yangoon(n=mathiasb@p549F4959.dip.t-dialin.net) has joined #tryton
2009-01-20 21:10 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2009-01-20 21:10 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has joined #tryton
2009-01-20 21:10 -!- mmarshall(n=mmarshal@adsl-76-255-76-128.dsl.rcsntx.sbcglobal.net) has joined #tryton
2009-01-20 21:10 -!- enlightx(n=enlightx@host-84-220-86-72.cust-adsl.tiscali.it) has joined #tryton
2009-01-20 21:10 -!- X0d_of_N0d(i=user@gateway/tor/x-7f50e0c4f0e31930) has joined #tryton
2009-01-20 21:10 -!- paola_(n=paola@host-84-223-76-210.cust-adsl.tiscali.it) has joined #tryton
2009-01-20 21:10 -!- ChanServ(ChanServ@services.) has joined #tryton
2009-01-20 21:12 <vengfulsquirrel> X0d_of_N0d: Oh hey I totally forgot you said you were going to show the mrp page to your boss and I was editing it off and on during the weekend.
2009-01-20 21:13 <X0d_of_N0d> hehe
2009-01-20 21:13 <X0d_of_N0d> vengfulsquirrel: oh well
2009-01-20 21:13 <X0d_of_N0d> vengfulsquirrel: I just hope some of what he said was useful to you.
2009-01-20 21:16 <cedk> vengfulsquirrel: could you repeat your answer, it was cut off by a netsplit
2009-01-20 21:18 <vengfulsquirrel> cedk: You mean question? In this thread, http://groups.google.com/group/tryton/browse_thread/thread/72785c50c23a293f , there is an example of calling get_db_and_pool.
2009-01-20 21:18 <vengfulsquirrel> Some caching is done in the example but there seems to already be caching in the actual get_db_and_pool function.
2009-01-20 21:18 <vengfulsquirrel> Why the duplicate caching?
2009-01-20 21:18 <vengfulsquirrel> Can I share the pool and db between threads(ie. only call get_db_and_pool once) ?
2009-01-20 21:18 <vengfulsquirrel> But it seems like I should use one cursor via db.cursor() per thread, is that correct?
2009-01-20 21:19 <cedk> vengfulsquirrel: I don't see the caching?
2009-01-20 21:19 <cedk> vengfulsquirrel: you can shared the pool between threads
2009-01-20 21:20 <cedk> vengfulsquirrel: and it is better to use one cursor by thread if you want to have transaction by thread
2009-01-20 21:22 <vengfulsquirrel> cedk: You can share db between threads as well? I guess all you use it for is generating cursors though.
2009-01-20 21:22 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1471:82508a341b0f trytond/trytond/osv/orm.py: Fix order for translation that are empty
2009-01-20 21:22 <CIA-51> tryton: C?dric Krier <ced@b2ck.com> default * 1472:2ba2237fd1f6 trytond/trytond/osv/orm.py: Fix order_calc for special model ir.model and ir.model.field for issue697
2009-01-20 21:22 <CIA-51> tryton: ced roundup * #697/Sort order of almost all tables under Administration doesn't respect translation: [resolved] Fix with changeset 2ba2237fd1f6
2009-01-20 21:23 <cedk> vengfulsquirrel: don't understand
2009-01-20 21:25 <X0d_of_N0d> does anyone besides bechamel use emacs?
2009-01-20 21:25 <X0d_of_N0d> here
2009-01-20 21:25 <vengfulsquirrel> cedk: I want to create a global TrytonSession class that has a single db and a single pool instance, threads will then use these to interact with tryton.
2009-01-20 21:25 <vengfulsquirrel> I use emacs, but I just started using it like a month ago.
2009-01-20 21:25 <vengfulsquirrel> Or you mean for IRC?
2009-01-20 21:26 <vengfulsquirrel> X0d_of_N0d: Yes there seems to definitely be some usable information in there, I think a separate configurable BOM scheme is more of what is expected and simpler to implement.
2009-01-20 21:26 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2009-01-20 21:26 <CIA-51> tryton: ced roundup * #755/Inventories: moving with keyboard: [chatting] I don't understand
2009-01-20 21:26 <X0d_of_N0d> vengfulsquirrel: i mean for everything..hehe
2009-01-20 21:27 <X0d_of_N0d> I was just going to say that when I try to import trytond into ipython run inside of emacs I ran into a problem...
2009-01-20 21:27 <vengfulsquirrel> Ha right, yeah I just use it for editing right now it hasn't become my host operating system yet.
2009-01-20 21:27 <vengfulsquirrel> Oh I've never used ipython
2009-01-20 21:27 <CIA-51> tryton: ced roundup * #756/Stock: calculation of assignable products: [testing] Are you sure about your example? Normally, it behaves like you say.
2009-01-20 21:28 <X0d_of_N0d> vengfulsquirrel: I really need to start using it for mail, then I'll only have firefox as the only program I use besides emacs
2009-01-20 21:28 <cedk> vengfulsquirrel: you can not have many pool instance by thread
2009-01-20 21:29 <X0d_of_N0d> vengfulsquirrel: ipython is kind of cool
2009-01-20 21:31 -!- cristi_an(n=cristi@89.120.211.206) has joined #tryton
2009-01-20 21:36 <vengfulsquirrel> cedk: http://paste.lisp.org/display/73943
2009-01-20 21:37 <vengfulsquirrel> Something like that, where init_tryton is just called once before threads are spawned then threads share the global Session object.
2009-01-20 21:37 <X0d_of_N0d> ACTION heads out to lunch
2009-01-20 21:39 <cedk> vengfulsquirrel: looks good
2009-01-20 21:40 <cedk> vengfulsquirrel: be careful to use a try/finaly once you have cursor to ensure that you close it
2009-01-20 21:42 <cristi_an> cedk: after radio interview did tryton get more attention in Bruxelles
2009-01-20 21:42 <cristi_an> ?
2009-01-20 21:43 <cedk> cristi_an: not really, it is a small radio, it was more for the fun :-)
2009-01-20 21:43 <vengfulsquirrel> cedk: oh, if i get a cursor and don't close it over and over will they hold connections to the database open?
2009-01-20 21:44 <cedk> vengfulsquirrel: yes until the garbage collector will delete the cursor
2009-01-20 21:45 <vengfulsquirrel> cedk: Okay awesome, thanks for your help.
2009-01-20 21:45 <vengfulsquirrel> bbl

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