IRC logs of #tryton for Tuesday, 2009-08-25

chat.freenode.net #tryton log beginning Tue Aug 25 00:00:02 CEST 2009
-!- _TiN_(n=TiN@200.69.137.190) has joined #tryton00:03
-!- gremly(n=gremly@190.156.162.4) has joined #tryton00:48
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton01:31
-!- ikks_(n=ikks@190.158.102.224) has joined #tryton03:03
-!- gremly(n=gremly@190.156.162.4) has joined #tryton03:13
-!- yangoon(n=mathiasb@p549F575E.dip.t-dialin.net) has joined #tryton05:20
-!- gremly(n=gremly@190.156.162.4) has joined #tryton05:23
-!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton07:47
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:14
-!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton08:30
vengfulsquirrelHey guys, is there any existing functionality to safely do something like, "move ALL of whatever quantity of product X that is currently available at location A to location B" ?  Maybe something like create an internal shipment with a really large quantity and then assign it and then delete all the draft moves?08:48
-!- carlos(n=carlos@97.157.221.87.dynamic.jazztel.es) has joined #tryton08:52
bechamelvengfulsquirrel: nothing existing, but on the product form there is a button at the bottom that will give you the quantities of the product in each location08:54
bechamelof course it's not enough if you want something completely automated08:55
vengfulsquirrelOh right I didn't mean in the user interface, I mean purely via programming something in a custom module that would use such functionality rather than having to copy parts of the functionality out of assign_try.09:04
-!- yangoon1(n=mathiasb@p549F3DBD.dip.t-dialin.net) has joined #tryton09:07
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton09:10
-!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton09:15
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton09:25
-!- yangoon(n=mathiasb@p549F38FD.dip.t-dialin.net) has joined #tryton09:38
-!- Timitos(n=timitos@88.217.184.172) has joined #tryton09:48
-!- paepke(n=paepke@p4FEB3733.dip0.t-ipconnect.de) has joined #tryton10:29
CIA-2ced@b2ck.com * r724 /wiki/source.wiki: Change branch into serie10:59
-!- paepke(n=paepke@p4FEB3733.dip0.t-ipconnect.de) has joined #tryton11:11
Timitoshi. is it possible to move a menu item within a custom module?11:12
bechamelTimitos: yes just redeclare the xml record with only the parent field in ti11:15
Timitosbechamel: great. thx11:15
bechameland prefix the id with the module name like  id="other_module.record_id"11:15
-!- yangoon(n=mathiasb@p549F4AF8.dip.t-dialin.net) has joined #tryton11:28
carloscedk: hi, around?11:35
carloshmm, forget it, I found the problem11:36
Timitosbechamel: i tried it like this: http://pastie.org/593905 but i have a problem. i get the error: The field "Create User" on "Translation" is required. Any ideas?11:37
bechamelTimitos: I'm gonna test11:41
Timitosbechamel: thx11:41
bechamelTimitos: this works: http://pastie.org/59391911:49
Timitosbechamel: many thx12:16
-!- carlos_(n=carlos@171.156.221.87.dynamic.jazztel.es) has joined #tryton12:24
-!- carlos__(n=carlos@171.156.221.87.dynamic.jazztel.es) has joined #tryton12:24
-!- yangoon(n=mathiasb@p549F4AF8.dip.t-dialin.net) has joined #tryton12:35
-!- yangoon(n=mathiasb@p549F4AF8.dip.t-dialin.net) has joined #tryton12:36
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton12:49
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton12:58
-!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton13:04
cedkFor the first goal (http://code.google.com/p/tryton/wiki/Release_1_4_0), I propose to add a new Model: ModelSingleton13:21
cedkIt will allow to have only one record in database, and function like read, write, create will act according to this13:22
cedkSo if we try to create a second record, it will update to first one13:23
cedkand so on13:23
cedkand default value for new one will be the value of the unique record if there is one13:24
cedkwhat do you think about?13:24
yangoon cedk will it be transparent to the user, that adding a second record will just update the first one?13:32
cedkyangoon: yes13:32
cedkyangoon: the user will only see a form with data13:33
yangooncedk: in which way? If he tries to add a new record he will just edit the first one?13:33
cedkyangoon: yes13:33
yangoonsounds good to me13:34
-!- _TiN_(n=TiN@201-213-85-3.net.prima.net.ar) has joined #tryton14:03
CIA-2C?dric Krier <ced@b2ck.com> default * 1955:7f094a98bed6 trytond/ (6 files in 5 dirs): Rename osv into model on workflow14:06
CIA-2http://hg.tryton.org/trytond/rev/7f094a98bed614:06
CIA-2C?dric Krier <ced@b2ck.com> default * 366:cf758072ebeb account_invoice/invoice.xml: Rename osv into model on workflow14:06
CIA-2http://hg.tryton.org/modules/account_invoice/rev/cf758072ebeb14:06
CIA-2C?dric Krier <ced@b2ck.com> default * 140:fb4ab71c0930 account_statement/statement.xml: Rename osv into model on workflow14:06
CIA-2http://hg.tryton.org/modules/account_statement/rev/fb4ab71c093014:06
CIA-2C?dric Krier <ced@b2ck.com> default * 334:dc7d28466f9e purchase/purchase.xml: Rename osv into model on workflow14:06
CIA-2http://hg.tryton.org/modules/purchase/rev/dc7d28466f9e14:06
CIA-2C?dric Krier <ced@b2ck.com> default * 206:85ce046ea6dd sale/sale.xml: Rename osv into model on workflow14:06
CIA-2http://hg.tryton.org/modules/sale/rev/85ce046ea6dd14:06
CIA-2C?dric Krier <ced@b2ck.com> default * 588:b2ce35d46839 stock/ (inventory.xml packing.xml): Rename osv into model on workflow14:06
CIA-2http://hg.tryton.org/modules/stock/rev/b2ce35d4683914:06
CIA-2C?dric Krier <ced@b2ck.com> default * 56:cc7187048510 stock_forecast/forecast.xml: Rename osv into model on workflow14:06
CIA-2http://hg.tryton.org/modules/stock_forecast/rev/cc718704851014:06
-!- woakas(n=woakas@190.144.69.234) has joined #tryton15:25
CIA-2C?dric Krier <ced@b2ck.com> default * 1956:e6fde81cb2f6 trytond/trytond/ (pool.py protocols/dispatcher.py): Add stop Pool and use it when dropping database15:37
CIA-2http://hg.tryton.org/trytond/rev/e6fde81cb2f615:37
-!- _TiN_(n=TiN@host17.190-139-34.telecom.net.ar) has joined #tryton15:42
-!- juanfer(n=juanfer@190.144.69.234) has joined #tryton15:50
-!- cristi_an(n=cristi@89.120.211.206) has joined #tryton15:54
cedkA patch to move login test in res.user: http://codereview.appspot.com/11008016:18
carloscedk: I don't understand what do you win with that change16:32
carlosI'm still learning a lot of Tryton internals, so I guess I'm missing something16:32
cedkcarlos: it will allow to implement easily different auth methods16:35
carloslike LDAP?16:35
carlosI see, ok16:35
cedkcarlos: yes16:35
CIA-2C?dric Krier <ced@b2ck.com> default * 1381:3a1659a08839 tryton/tryton/rpc.py: Don't call logout if not login17:00
CIA-2http://hg.tryton.org/tryton/rev/3a1659a0883917:00
CIA-2C?dric Krier <ced@b2ck.com> default * 1382:da49cf544876 tryton/share/locale/es_ES/LC_MESSAGES/ (tryton.mo tryton.po): merge17:00
CIA-2http://hg.tryton.org/tryton/rev/da49cf54487617:00
CIA-2C?dric Krier <ced@b2ck.com> default * 1957:8d55cb416c89 trytond/trytond/backend/postgresql/database.py: Add a cache to Database.list for PostgreSQL17:03
CIA-2http://hg.tryton.org/trytond/rev/8d55cb416c8917:03
CIA-2Bertrand Chenal <bch@b2ck.com> default * 12:9afb9d73e2fa calendar/webdav.py: Avoid to re-write newly created event17:31
CIA-2http://hg.tryton.org/modules/calendar/rev/9afb9d73e2fa17:31
CIA-2Bertrand Chenal <bch@b2ck.com> default * 13:306277c18ac3 calendar/webdav.py: Guidelines17:31
CIA-2http://hg.tryton.org/modules/calendar/rev/306277c18ac317:31
CIA-2Bertrand Chenal <bch@b2ck.com> default * 14:4f3af8667fb1 calendar/calendar.py: Fix indent17:31
CIA-2http://hg.tryton.org/modules/calendar/rev/4f3af8667fb117:31
CIA-2Bertrand Chenal <bch@b2ck.com> default * 15:9f16b31c8167 calendar/calendar.py:17:31
CIA-2Refactoring of Rdate, Rrule, alarm and attendee17:31
CIA-2in preparation of the future vtodo modelisation.17:31
CIA-2http://hg.tryton.org/modules/calendar/rev/9f16b31c816717:31
CIA-2C?dric Krier <ced@b2ck.com> default * 16:a05bd2247be3 calendar/ (calendar.py webdav.py): Add cache when converting uri into calendar or event17:58
CIA-2http://hg.tryton.org/modules/calendar/rev/a05bd2247be317:58
-!- enlightx(n=enlightx@host-84-220-91-33.cust-adsl.tiscali.it) has joined #tryton18:18
carloscedk: is there any way to use transactions over netrpc ?18:19
carlosso If something goes wrong between several netrpc write calls (like a network outage), anything not confirmed would be rolledback18:21
cedkcarlos: no18:28
cedkcarlos: make only one call18:28
carlosis it possible changing several tables?18:30
carlosI'm using the class inside pysocket.py to do the communication18:31
carlosI guess I would need some customisation to allow multiple write calls, right?18:31
cedkcarlos: write a wizard that do all18:49
carlosI'm doing object sync between satchmo and Tryton18:50
carlosat low level, I would need to investigate wizards to see whether it fits in my use case18:51
carloscedk: thanks for the hint18:51
carloscedk: it looks quite simple. Thank you18:59
cedkcarlos: in wizard commit happens between each state19:06
CIA-2C?dric Krier <ced@b2ck.com> default * 1958:9d363eccf752 trytond/trytond/model/modelstorage.py: Don't call __clean_xxx2many_cache if there was no ids19:15
CIA-2http://hg.tryton.org/trytond/rev/9d363eccf75219:15
CIA-2C?dric Krier <ced@b2ck.com> default * 1959:b05247aff90a trytond/ (CHANGELOG trytond/res/user.py trytond/security.py): Move login test in res.user19:15
CIA-2http://hg.tryton.org/trytond/rev/b05247aff90a19:15
CIA-2C?dric Krier <ced@b2ck.com> default * 1310:a78e8f5ca0c7 tryton/tryton/common/common.py:19:17
CIA-2Test if exception has faultString attribute before using it for issue112919:17
CIA-2(transplanted from 923f121fe3e4ec39673dce96b4c02ab498275c75)19:17
CIA-2http://hg.tryton.org/1.2/tryton/rev/a78e8f5ca0c719:17
CIA-2C?dric Krier <ced@b2ck.com> default * 1126:94e39b0a5306 tryton/tryton/common/common.py:19:17
CIA-2Test if exception has faultString attribute before using it for issue112919:17
CIA-2(transplanted from 923f121fe3e4ec39673dce96b4c02ab498275c75)19:17
CIA-2http://hg.tryton.org/1.0/tryton/rev/94e39b0a530619:17
CIA-2C?dric Krier <ced@b2ck.com> default * 1830:29894c70f7c0 trytond/trytond/protocols/xmlrpc.py:19:19
CIA-2Add timeout to SimpleThreadedXMLRPCServer for Python 2.619:19
CIA-2(transplanted from 0247f0d5ea568d5acd7ee15aa4d81003b5bf1f29)19:19
CIA-2http://hg.tryton.org/1.2/trytond/rev/29894c70f7c019:19
CIA-2C?dric Krier <ced@b2ck.com> default * 1831:18f92bb791a9 trytond/trytond/backend/postgresql/database.py:19:19
CIA-2Close non-tested database for issue113519:19
CIA-2(transplanted from c925e33706fc02361d46711ebcb9bf6f351bd8f1)19:19
CIA-2http://hg.tryton.org/1.2/trytond/rev/18f92bb791a919:19
CIA-2C?dric Krier <ced@b2ck.com> default * 1832:f0fb2f7f3638 trytond/trytond/protocols/webdav.py:19:19
CIA-2Add timeout to BaseThreadedHTTPServer for Python 2.619:19
CIA-2(transplanted from 7079a30337573a7e028959f1e29d0707c62cbbc9)19:19
CIA-2http://hg.tryton.org/1.2/trytond/rev/f0fb2f7f363819:19
CIA-2C?dric Krier <ced@b2ck.com> default * 1391:0e653d312eb3 trytond/trytond/netsvc.py:19:19
CIA-2Add timeout to SimpleThreadedXMLRPCServer for Python 2.619:19
CIA-2(transplanted from 0247f0d5ea568d5acd7ee15aa4d81003b5bf1f29)19:19
CIA-2http://hg.tryton.org/1.0/trytond/rev/0e653d312eb319:19
CIA-2C?dric Krier <ced@b2ck.com> default * 1392:97fd4156dede trytond/trytond/netsvc.py:19:19
CIA-2Add timeout to BaseThreadedHTTPServer for Python 2.619:19
CIA-2(transplanted from 7079a30337573a7e028959f1e29d0707c62cbbc9)19:20
CIA-2http://hg.tryton.org/1.0/trytond/rev/97fd4156dede19:20
-!- vengfulsquirrel(n=ian@69.181.194.95) has joined #tryton19:28
CIA-2Mathias Behrle <mathiasb@behrle.dyndns.org> default * 12:75e75d85595b purchase_invoice_line_standalone/ (__tryton__.py de_DE.csv): Add translation for de_DE19:28
CIA-2http://hg.tryton.org/1.2/modules/purchase_invoice_line_standalone/rev/75e75d85595b19:28
CIA-2Mathias Behrle <mathiasb@behrle.dyndns.org> default * 9:e481c213664f account_invoice_line_standalone/ (__tryton__.py de_DE.csv): Add translation for de_DE20:02
CIA-2http://hg.tryton.org/1.2/modules/account_invoice_line_standalone/rev/e481c213664f20:02
-!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton21:07
CIA-2Mathias Behrle <mathiasb@behrle.dyndns.org> default * 10:fe0c6b883b99 account_invoice_line_standalone/__tryton__.py: Update translation for de_DE21:44
CIA-2http://hg.tryton.org/1.2/modules/account_invoice_line_standalone/rev/fe0c6b883b9921:44
vengfulsquirrelWhat is the best way to uninstall modules?  If the database is fixed manually with sql statements is it possible to recreate/remove the xml from the old modules?23:06
cedkvengfulsquirrel: not for now, we removed this feature from OpenERP because it was not working properly23:33
vengfulsquirrelcedk: So what is the best way to eliminate old xml ?  Somehow remove it manually from within the db ?23:37
cedkvengfulsquirrel: the only way is with SQL statement23:38
CIA-2matb roundup * #1136/Workflow payment does not work:23:41
CIA-2[new] In a database with only account_invoice installed:23:41
CIA-2Doing a payment (with the total sum) on an invoice creates the Payment, but does not dis ...23:41
CIA-2http://bugs.tryton.org/roundup/issue113623:41
-!- carlos(n=carlos@171.156.221.87.dynamic.jazztel.es) has joined #tryton23:57

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