IRC logs of #tryton for Tuesday, 2015-05-12

chat.freenode.net #tryton log beginning Tue May 12 00:00:01 CEST 2015
-!- smarro(~sebastian@190.105.93.196) has joined #tryton00:12
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton00:39
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton00:51
-!- mariomop(~quassel@181.95.34.127) has joined #tryton01:06
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton01:45
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton01:52
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton01:58
-!- gremly(~gremly@190.85.36.58) has joined #tryton02:03
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton02:09
-!- smarro(~sebastian@190.105.93.196) has joined #tryton02:28
-!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton03:31
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton05:33
-!- frispete_(~frispete@p54A91C49.dip0.t-ipconnect.de) has joined #tryton06:40
-!- yangoon1(~mathiasb@p549F136B.dip0.t-ipconnect.de) has joined #tryton07:01
-!- rpit(~ralf@2a02:908:e679:5340:b148:cb8b:eccc:9963) has joined #tryton07:40
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton07:46
-!- rpit(~ralf@2a02:908:e679:5340:2564:19f2:e189:4d08) has joined #tryton08:25
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton08:29
-!- jvblasco(~seba@62.43.196.37) has joined #tryton09:15
-!- udono(~udono@ip-37-201-196-116.hsi13.unitymediagroup.de) has joined #tryton09:17
-!- Timitos(~kpreisler@2001:a60:1518:2c01:ae7b:a1ff:feaf:55f0) has joined #tryton09:29
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton10:22
-!- gyKa(~gyKa@434104.s.dedikuoti.lt) has joined #tryton10:23
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton10:34
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton10:43
-!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton10:44
gyKaHi, I have problem generating a report. My form has few date fields, and when I generate a report, Tryton throws an exception that str has no attribute year (in datetime_strftime.py file, in datetime_strftime() function). As I understood, I'm failing in report/report.py file, in format_lang() method. A param 'value' of this method comes already as a string, but function datetime_strftime() expects datetime. A data I'm passing to report is in datetime. W10:45
gyKahere can be a problem?10:45
cedkgyKa: looks like you are passing a string to format_lang instead of a date10:48
-!- xrg_(~panos@213.16.180.111.dsl.dyn.forthnet.gr) has joined #tryton11:01
Jitesh_Nairhey is trytonspain tryton-product-kit supported in trytond 3.611:01
pokoliJitesh_Nair: not currently (but it will be)11:05
pokoliJitesh_Nair: patch is welcome :)11:06
Jitesh_Nairpokoli, that was inspirational ... but u know presently iam not good enough for that :)11:09
pokoliJitesh_Nair: so you can wait until something else migrates it11:10
cedkpokoli: is it still relevant with the sale_promotion module11:14
pokolicedk: don't understand11:28
cedkpokoli: for me, the main goal of kit is to sale a set of product at a different price than individualy11:30
cedkpokoli: by the way, you know you can add yourself to copyright header when doing large contribution11:44
pokolicedk: we have use cases, where the kit is used to indicate that both products are sold together, but stock is managed independently11:49
cedkpokoli: that sounds like a production11:49
pokolicedk: sometimes, but not produced on the warehouse, only mounted on customer location, and normally also include service11:52
pokolicedk: for example TV Satelite, which includes a decoder, an antenna, and one hour of mounting it in customer house11:53
cedkpokoli: then it looks more like just a wizard to fill sale order11:55
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton11:55
-!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton12:07
-!- Telesight(~anthony@4dafef36.ftth.telfortglasvezel.nl) has joined #tryton12:25
-!- mariomop(~quassel@181.110.68.42) has joined #tryton13:06
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton13:13
-!- Jitesh_Nair(~jitesh@116.68.96.237) has joined #tryton13:21
-!- Jitesh_Nair(~jitesh@unaffiliated/jitesh-nair/x-6738125) has joined #tryton13:25
-!- hiaselhans(~Thunderbi@212.186.50.97) has joined #tryton13:47
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton14:19
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton14:21
-!- VaticanCameos(~pritishc@103.245.118.154) has joined #tryton14:31
Jitesh_Nairif i change the tax.rate then the tax for the previously invoices should not change right? because when i change the tax.rate the invoices have the tax updated but the total amount after adding the tax is the same old one14:49
Jitesh_Nairlets say my tax.rate was 10%14:50
Jitesh_Nairi invoiced a product at 10014:50
Jitesh_Nairso my total was 11014:50
Jitesh_Nairlater my tax.rate was changed to 514:50
Jitesh_Nairwhen i check the previous invoice.lines.taxes the rate is updates to 514:51
Jitesh_Nairbut the total is 11014:51
Jitesh_Nairi dont want the tax to change like the total amount of the previous paid invoice14:51
cedkJitesh_Nair: invoice.lines.taxes are just a reference14:56
Jitesh_Nairso is there any way to get the tax value of the previously paid invoice? even after we change the tax.rate?15:11
cedkJitesh_Nair: don't understand as you said the invoice is not changed15:11
Jitesh_Naircedk, the invoice is paid...we have nothing to do with the old invoice15:12
Jitesh_Naircedk, then we change the taxrate15:12
Jitesh_Nairand just for a reference purpose we check the previously paid invoice15:12
Jitesh_Nairthere the tax rate is changed15:13
Jitesh_Nairbut the total value is not changed...15:13
cedkJitesh_Nair: no it doesn't  as the amount did not change15:13
Jitesh_Naircedk, yes the amount dint change15:13
Jitesh_Nairbut the tax represented shows the update tax rate15:13
cedkJitesh_Nair: no it did not change15:14
Jitesh_Nairis there any possibility to get the tax which was originally associated with the invoice15:14
cedkJitesh_Nair: I guess you have first to be familiar with https://en.wikipedia.org/wiki/Relational_model15:14
cedkJitesh_Nair: don't change you tax if you don't want it to change15:15
Jitesh_Naircedk, what if the new government has a new tax?15:15
Jitesh_Nairjust in case15:16
Jitesh_Nair?15:16
cedkJitesh_Nair: we generally use the date period with a children taxes15:18
-!- smarro(~sebastian@190.105.93.196) has joined #tryton15:19
Jitesh_Nairouch!! how do we say that in understandable format? because i find it little difficult to understand!!!15:21
-!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton15:31
pokolicedk: ping15:41
cedkpokoli: pong15:47
pokolicedk: in tryton client, when calling field_get for a wizard, active_ids is set on the context15:50
pokolicedk: so on proteus it should be also set15:51
pokolicedk: I'm having a wizard which overrides fields_get and view definition, depends on active_ids, and its not working on proteus15:51
-!- yangoon(~mathiasb@p549F136B.dip0.t-ipconnect.de) has joined #tryton15:52
cedkpokoli: I think it is not an intentional behaviour15:56
cedkpokoli: I even can not find where it is set15:58
pokolicedk: ok, so i'm working on a patch, but my problem is http://hg.tryton.org/proteus/file/98a1a04b3d12/proteus/__init__.py#l45415:59
pokolicedk: there is some kind of cache of models?15:59
cedkpokoli: I mean the behaviour of the client not of proteus16:00
pokolicedk: don't know but on client works well :)16:02
cedkpokoli: can you spot where it is done?16:05
pokolicedk: not sure but  http://hg.tryton.org/tryton/file/f5741c9e3f8f/tryton/action/main.py#l10516:08
pokolicedk: and for wizard is here http://hg.tryton.org/tryton/file/f5741c9e3f8f/tryton/gui/window/wizard.py#l7516:10
cedkpokoli: normally only the action_ctx is passed16:10
pokolicedk: but action_ctx doesn't have active_ids set :$16:15
cedkpokoli: yes for me, it is not clear where it comes from and so it is not excpected16:16
cedkpokoli: indeed, as there is cache on such query, it is even a counter performence to have such volatile context16:17
pokolicedk: there is also cache for the client, isn't there?16:22
cedkpokoli: yes I'm speaking about this cache16:22
pokolicedk: so now i don't understand how this code is working on the client16:26
pokolicedk: our code is here https://bitbucket.org/nantic/trytond-sale_pos_template_quantities/src/d6fa9a7717e7b426df4243b9c269ad01522baca1/sale.py?at=default#cl-36716:28
pokolicedk: if i understand correct only the supper fields_get it's cached, and we recompute it for every call, so that explains why opening this wizard is so slow16:28
-!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton16:43
cedkpokoli: I neither find where this is done but I did not yet run the code16:45
pokolicedk: this is called by a button, and data in http://hg.tryton.org/tryton/file/f5741c9e3f8f/tryton/action/main.py#l84 contains active_id so it's set to the context16:46
cedkpokoli: but it doesn't explain why we find it in the screen call to get fields16:47
cedkpokoli: because only action_ctx is passed16:48
cedkpokoli: and more over it is not to run a wizard but to open a tab16:48
-!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton16:51
-!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton16:54
-!- VaticanCameos(~pritishc@223.30.217.218) has joined #tryton16:59
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton17:00
-!- yangoon(~mathiasb@p549F136B.dip0.t-ipconnect.de) has joined #tryton17:02
-!- VaticanCameos(~pritishc@223.30.217.218) has joined #tryton17:37
-!- digitalsatori(~Thunderbi@114.92.196.106) has joined #tryton17:56
-!- sharoonthomas(~sharoonth@122.177.102.225) has joined #tryton18:09
-!- smarro(~sebastian@190.105.79.159) has joined #tryton18:10
-!- bvillasanti(~bvillasan@181.16.21.34) has joined #tryton18:38
-!- ytz(uid59181@gateway/web/irccloud.com/x-zsmxdzyczpznxxqt) has joined #tryton18:51
-!- ytz(uid59181@gateway/web/irccloud.com/x-zsmxdzyczpznxxqt) has left #tryton18:53
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton18:55
-!- mariomop(~quassel@181.110.68.42) has joined #tryton19:04
-!- smarro(~sebastian@190.105.93.196) has joined #tryton20:15
-!- sunny_dealmeida(~quassel@203.115.77.138) has joined #tryton20:27
-!- juanfe(~juanfe@190.85.115.49) has joined #tryton21:47
-!- jcnorman(~jcnorman@24-197-138-90.dhcp.spbg.sc.charter.com) has joined #tryton22:00
-!- cedk(~ced@82-212-130-50.teledisnet.be) has joined #tryton22:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:03
-!- courrier(~yoan@208.113.192.77.rev.sfr.net) has joined #tryton22:11
courrierHey guys, just wanted to report that http://downloads.tryton.org/3.6/neso-setup-last.exe is missing22:12
courrierIs there anyone with some experience with importation from Sage Coala (for the accounting module of tryton)? This program is unable to import to csv, only xml (or txt), I don't know what to do with that...23:09
pokolicourrier: you may develop a porteus script that read source files and import it into tryton23:35
pokolicourrier: what do you want to import?23:35
cedkcourrier: neso is not yet ready23:53
cedkcourrier: https://bugs.tryton.org/issue427023:53
cedkcourrier: if you want, you can find an example of such script at http://hg.b2ck.com/openerp2tryton/23:58
cedkit migrate openerp/odoo database to Tryton23:58

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