IRC logs of #tryton for Monday, 2008-12-22

chat.freenode.net #tryton log beginning Mon Dec 22 00:00:01 CET 2008
2008-12-22 02:52 -!- igor(n=igor@190.12.153.202) has joined #tryton
2008-12-22 05:19 -!- yangoon(n=mathiasb@p549F78AA.dip.t-dialin.net) has joined #tryton
2008-12-22 06:21 -!- udono(n=udono@dynamic-unidsl-85-197-24-142.westend.de) has joined #tryton
2008-12-22 08:09 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-22 08:25 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-12-22 09:26 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton
2008-12-22 09:35 -!- oversize(n=manuel@port-92-198-7-97.static.qsc.de) has joined #tryton
2008-12-22 09:39 -!- Cristi_an__(n=Cristi@91.191.130.196) has joined #tryton
2008-12-22 10:19 -!- bechamel(n=user@85.201.86.139) has joined #tryton
2008-12-22 10:39 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2008-12-22 10:39 -!- bechamel`(n=user@85.201.86.139) has joined #tryton
2008-12-22 11:42 -!- cedric_b(n=cedric@ANantes-158-1-21-86.w86-195.abo.wanadoo.fr) has joined #tryton
2008-12-22 14:10 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton
2008-12-22 14:11 -!- ikks(n=igor@201.244.188.98) has joined #tryton
2008-12-22 14:22 -!- enlightx(n=enlightx@host251-64-dynamic.40-79-r.retail.telecomitalia.it) has joined #tryton
2008-12-22 14:28 <Cristi_an> cedk, the current tryton server can communicate with the open erp web application ?
2008-12-22 14:28 <Cristi_an> or the protocol is different
2008-12-22 14:28 <Cristi_an> ?
2008-12-22 14:29 <cedk> Cristi_an: no it can not
2008-12-22 14:33 -!- mmichele(i=5706715d@gateway/web/ajax/mibbit.com/x-603b4cdaaec8488f) has joined #tryton
2008-12-22 14:39 <udono> I'am having several problems with some modules depending on party and company...
2008-12-22 14:40 <udono> In one module I try to add a widget on company > accounting > taxes but this should not appear on party
2008-12-22 14:41 <udono> But when I try, my x-path can not find the structure I search on company, because accounting > taxes is an inherited part of party module.
2008-12-22 14:41 <udono> Is there an easy way I can solve this?
2008-12-22 14:42 <cedk> udono: what is your xpath?
2008-12-22 14:43 <udono> cedk: http://paste.pocoo.org/show/96384
2008-12-22 14:46 <udono> cedk: model company.company id="company_view_form" itself inherit ref="party.party_view_form" and I think there is the problem...
2008-12-22 14:49 <cedk> udono: I try it and it works here
2008-12-22 14:51 -!- mmichele(i=5706715d@gateway/web/ajax/mibbit.com/x-603b4cdaaec8488f) has left #tryton
2008-12-22 14:54 <udono> cedk: hmm... thanks. I try again, maybe I am digging in the wrong place... the error was: SAXParseException: <unknown>:24:0: no element found
2008-12-22 14:55 <cedk> udono: maybe other view remove this tag
2008-12-22 15:09 <udono> cedk: hmm, I can not find the error. Do you try it from company module or from another module?
2008-12-22 15:09 <udono> I try it from another module account_tax_de_ustva
2008-12-22 15:55 <cedk> udono: I create in the client one view record
2008-12-22 15:55 <udono> cedk: ok, thanks
2008-12-22 16:00 <CIA-53> tryton: Bertrand Chenal <bch@b2ck.com> default * 0:8214196fd443 stock/ (10 files): Initial commit
2008-12-22 16:09 <CIA-53> tryton: Bertrand Chenal <bch@b2ck.com> default * 1383:8aee2370c145 trytond/trytond/tools/convert.py: Add handling of active attribute on manuitem tag
2008-12-22 16:09 <CIA-53> tryton: Bertrand Chenal <bch@b2ck.com> default * 1384:30c53428b4ca trytond/trytond/tools/convert.py: Removed wrong comment
2008-12-22 16:12 <CIA-53> tryton: Bertrand Chenal <bch@b2ck.com> default * 1385:abac288d05f7 trytond/doc/modules.rst: Added doc for active on menuitem
2008-12-22 16:24 -!- Timito1(n=Timitos@88.217.184.172) has joined #tryton
2008-12-22 16:27 -!- Timito2(n=Timitos@88.217.184.172) has joined #tryton
2008-12-22 16:53 <udono> cedk: I found the error... me stupid forget the closing </data></tryton>...
2008-12-22 17:07 <cedk> udono: we don't validate the xml file as it will cost too much, but there is a rnc file if you use a editor that handle it
2008-12-22 17:16 <udono> cedk: I use gvim. Can it handle it?
2008-12-22 17:18 <cedk> udono: I don't know
2008-12-22 17:18 <cedk> udono: maybe with a xml plugin
2008-12-22 17:20 <cedk> Cristi_an: hi, you was asking some times ago about the devs of OpenERP
2008-12-22 17:21 <Cristi_an> cedk, yes
2008-12-22 17:21 <cedk> here is just two commits from the same user:
2008-12-22 17:21 <cedk> http://bazaar.launchpad.net/%7Eopenerp/openobject-server/trunk/revision/1262
2008-12-22 17:21 <cedk> http://bazaar.launchpad.net/%7Eopenerp/openobject-addons/trunk/revision/2047
2008-12-22 17:22 <cedk> he has changed his name :-)
2008-12-22 17:22 <Cristi_an> hehehe :)
2008-12-22 17:22 <Cristi_an> Harry
2008-12-22 17:23 <Cristi_an> Harry is more exepnsive then Harashd i guess :)
2008-12-22 17:24 <Cristi_an> expensive
2008-12-22 17:24 <Cristi_an> Harry deliver better code ...:)
2008-12-22 17:25 <bechamel> cedk: is he the only one or did you saw other "name refactoring" ?
2008-12-22 17:29 <cedk> bechamel: I don't know, I don't spend my time on that
2008-12-22 17:29 <cedk> bechamel: but here, I just find it by chance
2008-12-22 17:40 <cedk> is there anybody who have tested the module account_statement?
2008-12-22 17:42 <Timito2> cedk: yes. I tested the module
2008-12-22 17:42 <cedk> Timito2: you had no issue?
2008-12-22 17:42 <cedk> Timito2: do you think we can release it?
2008-12-22 17:43 <Timito2> cedk: no i had no issue. the changes are great. for me we can release it, but i had no time for heavy testing, sorry.
2008-12-22 17:44 <cedk> Timito2: the behavior looks good for you?
2008-12-22 17:45 <cedk> Timito2: when we split the line if the amount is too big
2008-12-22 17:45 <Timito2> cedk: split the line? i do not understand
2008-12-22 17:46 <cedk> Timito2: by example, you had two invoices for a customer for 400 and 600€
2008-12-22 17:46 <cedk> your customer paid 1000€
2008-12-22 17:46 <cedk> so you enter in the statement 1000€
2008-12-22 17:47 <cedk> when you select one of the invoices, by example the 400, you will have the line split into two lines
2008-12-22 17:47 <cedk> one of 400 with the invoice linked and an other one with 600€
2008-12-22 17:48 <Timito2> cedk: even better than i expected! :-) i will try this now. sounds really great
2008-12-22 17:48 <cedk> Timito2: That is how I solve the issue of customer paid two in one or paid too much
2008-12-22 17:48 <cedk> Timito2: but if you remove the link to the invoice, it doesn't colapse the two lines :-(
2008-12-22 17:48 <cedk> it is too complicated to make this behavior
2008-12-22 17:49 <Timito2> cedk: i think this is the right solution for this case. and i do not need the colapse behavior. if i made a mistake a could delete both lines and enter both lines again.
2008-12-22 17:49 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 182:61389b6eaafe purchase/purchase.xml: Fix colspan for invisible fields
2008-12-22 17:49 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 183:18f86ab8cdbb purchase/ (purchase.py purchase.xml): Add supplier_reference on purchase
2008-12-22 17:50 <cedk> Timito2: yes, and when there is an invoice linked to a line, you can no more change it (amount, party, etc...)
2008-12-22 17:52 <Timito2> cedk: sounds good too.
2008-12-22 17:52 <Timito2> cedk: but i can delete this line if it is not yet posted?
2008-12-22 17:52 <cedk> Timito2: yes
2008-12-22 17:52 <cedk> Timito2: and if you remove the invoice link, you can edite it again
2008-12-22 17:57 <Timito2> cedk: now i have one issue.
2008-12-22 17:59 <Timito2> cedk: when i start a statement with such a payment of two invoices there are created two lines with the rest amount but not one line. when i try it again the in works
2008-12-22 18:00 <Timito2> cedk: i will open an issue
2008-12-22 18:12 <CIA-53> tryton: Timitos roundup * #693/problem with splitting account statement lines: [new] when i enter as first line of an account statement a payment which pays 2 or more invoices and i relate this payment to an invoice there is ...
2008-12-22 18:16 <CIA-53> tryton: Timitos roundup * #694/res = self.cursor.execute(sql, params): [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 282, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...
2008-12-22 18:17 <CIA-53> tryton: Timitos roundup * #694/res = self.cursor.execute(sql, params): [chatting] i was entering account statement lines. and i created a new invoice from this view and opened the invoice. then i wanted to leave the n ...
2008-12-22 18:32 <Cristi_an> i do not have acces to code right now....but pickle is used in tryton ?
2008-12-22 18:33 <cedk> Cristi_an: yes
2008-12-22 18:34 <Cristi_an> this is serialization right
2008-12-22 18:34 <Cristi_an> ?
2008-12-22 18:54 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 410:c4b8c33e3a17 stock/move.py: Add cost_price on move and fill it with the current cost_price at the move done
2008-12-22 19:08 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 199:c48ccebb6282 account_invoice/invoice.py: Add ondelete_target CASCADE for payment_lines on invoice for issue694
2008-12-22 19:11 <CIA-53> tryton: ced roundup * #694/res = self.cursor.execute(sql, params): [resolved] Fix with changeset c48ccebb6282
2008-12-22 19:14 -!- snowch(n=snowch@82.152.13.57) has joined #tryton
2008-12-22 19:15 <snowch> hi irc!
2008-12-22 19:15 <snowch> what is the function of the class LocalService in netsvc?
2008-12-22 19:31 <Cristi_an> hi snowch
2008-12-22 19:32 <snowch> hi cristi_an
2008-12-22 19:32 <snowch> another day of inspecting the code?
2008-12-22 19:37 <Cristi_an> yep :)
2008-12-22 19:38 <Cristi_an> in || with learning python
2008-12-22 19:38 <CIA-53> tryton: C?dric Krier <ced@b2ck.com> default * 1133:0b059abc12f3 tryton/tryton/gui/window/view_form/model/ (field.py group.py record.py): Prevent signal when calling add_fields in set_on_change of O2M for issue693
2008-12-22 19:39 <CIA-53> tryton: ced roundup * #693/problem with splitting account statement lines: [testing] Fix with changeset 0b059abc12f3 in dev branch I will wait some times before backport it in 1.0 branch.
2008-12-22 19:40 <snowch> Cristi_an: same here - starting to create some uml models to help build up my understanding...
2008-12-22 19:40 <Cristi_an> those are very very usefull
2008-12-22 19:40 <Cristi_an> if you are so kind to share that i will be gratefull to u
2008-12-22 19:41 <snowch> np: will share - I've only been doing about 30 minutes or so and it is already helping a great deal
2008-12-22 19:42 <Cristi_an> snowch, thx
2008-12-22 19:42 <snowch> np. it's wife's birthday - gotta go. back to the marathon tomorrow...
2008-12-22 19:43 <Cristi_an> happy birthday....go go go ...:)
2008-12-22 20:10 <CIA-53> tryton: Timitos roundup * #693/problem with splitting account statement lines: the only problem is that i cannot test account_statement with dev branch because of issue 675 so i will wait
2008-12-22 20:50 -!- carlos(n=carlos@77.224.191.31) has joined #tryton
2008-12-22 21:07 <Cristi_an> cedk, i need you help this time
2008-12-22 21:08 <Cristi_an> i really did not wanted to disturb you with python stuff but there is a question i did not get answer on python channel
2008-12-22 21:08 <Cristi_an> http://docs.python.org/3.0/tutorial/classes.html#odds-and-ends ? (is this feature used)
2008-12-22 21:09 <Cristi_an> in tryton
2008-12-22 21:12 <Cristi_an> i got it ....i received an answer on ptyhon channel...thx anyway
2008-12-22 21:27 <X0d_of_N0d> udono: you there?
2008-12-22 21:52 -!- oversize(n=manuel@94.219.54.179) has joined #tryton
2008-12-22 23:02 <X0d_of_N0d> cedk: you around?
2008-12-22 23:23 <X0d_of_N0d> ACTION looks around
2008-12-22 23:44 -!- vengfulsquirrel(n=vengfuls@wireless-216-170-122-150.digitalputty.com) has joined #tryton

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