IRC logs of #tryton for Wednesday, 2016-03-02

chat.freenode.net #tryton log beginning Wed Mar 2 00:00:01 CET 2016
-!- smarro(~sebastian@190.14.157.18) has joined #tryton00:34
-!- mathesis(~ja1000@unaffiliated/mathesis) has joined #tryton00:38
-!- smarro(~sebastian@181.16.7.104) has joined #tryton00:54
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:19
-!- JosDzG(~Thunderbi@189.148.204.54) has joined #tryton01:21
-!- JosDzG(~Thunderbi@189.148.204.54) has joined #tryton02:26
-!- JosDzGx(~Thunderbi@189.188.3.19) has joined #tryton02:36
-!- JosDzGx(~Thunderbi@189.148.176.48) has joined #tryton03:37
-!- JosDzGx(~Thunderbi@189.188.3.19) has joined #tryton03:48
-!- frispete_(~frispete@p54A905C5.dip0.t-ipconnect.de) has joined #tryton07:40
-!- bvillasanti(~bvillasan@138.117.21.56) has joined #tryton07:44
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:02
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:04
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton08:13
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:46
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton09:19
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:34
-!- nicoe(~nicoe@2a02:a03f:30a9:300:ee55:f9ff:fe7b:f7ac) has joined #tryton10:45
-!- csotelo(~csotelo@190.232.105.29) has joined #tryton10:54
-!- kstenger(~karla@r167-56-253-218.dialup.adsl.anteldata.net.uy) has joined #tryton10:59
-!- mariomop(~quassel@181.90.153.29) has joined #tryton12:04
-!- smarro(~sebastian@181.16.7.104) has joined #tryton12:46
-!- smarro(~sebastian@190.14.157.18) has joined #tryton13:28
-!- smarro(~sebastian@181.16.7.104) has joined #tryton13:50
-!- nina(~nina@177.19.245.134) has joined #tryton14:02
-!- nina_(~nina@177.19.245.134) has joined #tryton14:02
nina_I'd like remove the shortcut to the RCRI from the Patient, can anyone help me? I didn't see nothing about it in a documentation.14:07
pokolinina_: what's a shortcut for you? A relate action?14:10
nina_pokoli: yes14:10
nina_pokoli: I need that the IRCR will be invisible in the relate action.14:13
pokolinina_: invisible for all users?14:14
nina_Yes.14:15
pokolinina_: You can assign som group to the keyword, so only users on this group will see the relate14:15
-!- bvillasanti(~bvillasan@138.117.21.56) has joined #tryton14:30
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton14:41
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton14:42
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton14:43
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton14:51
-!- bvillasanti1(~bvillasan@138.117.21.56) has joined #tryton14:54
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton15:58
lukiohola, estoy integrando tryton contra otro sistema. buscando un poco, encontré algunos threads en la lista de tryton que hablan sobre como "mostrar" información sin tener que ser guardada en la base de datos.15:59
lukioUno de los threads al respecto, es este: https://groups.google.com/forum/#!topic/tryton-dev/vculGzhkulQ15:59
cedklukio: in English please16:00
lukiook, sorry! I thought I was at tryton-es channel.16:01
-!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton16:01
lukioWell, cedk what I'm doing is integrate tryton system to another one. My data is at the other system and I don't really want to store that data at tryton database.16:02
lukioI look at the internet, and read some threads that talk about that. One of them is the link that I paste early.16:02
lukioBut, the problem is that one of the services is giving me a lot of data, and I would like to use the tryton client pager for that.16:03
lukiobut I don't know were to start to look at.16:03
cedklukio: what kind of external data?16:09
lukiocedk: it give me a list of dictionarys. the problem is that could be huge list. I can send to the sevice a LIMIT.16:11
cedklukio: you could use a materialized view defined using an foreign-data wrapper16:13
-!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton16:16
meanmicionina_ : look at the example I just put in the #gnu-health channel. I think that would work for your case.16:47
meanmicionina_: use the model ir.action-res.group16:49
nina_meanmicio: ok. I'll try16:50
-!- csotelo(~csotelo@190.232.105.29) has joined #tryton17:04
-!- sharkcz`(~sharkcz@server.danny.cz) has joined #tryton17:15
pokoliI'm wondering if there is any reason to use quantity * unit_price to compute tax bases instead of amount directly?17:43
cedkpokoli: what are you talking about?17:54
pokolicedk: http://hg.tryton.org/modules/account/file/ea0a84c5c1de/tax.py#l1054 Tax.compute accepts quantity and unit_price parameters17:57
pokolicedk: which then they are multplicated17:57
pokolicedk: I have diferences with account.invoice.tax base and invoice untaxed_amount with only one tax :$17:58
cedkpokoli: don't understand the problem18:00
pokolicedk: don't worry, i will fill an issue with a test scenario :)18:06
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton18:06
cedkpokoli: I doubt there is a problem18:08
pokolicedk: why?18:08
cedkpokoli: code sounds correct18:09
pokolicedk: for what i have found, untaxed amount is computed using line amount and tax base is computed using quantity * unit_price18:11
pokolicedk: this leads to diferent values on an invoice of 22 lines. I'm trying to reproduce with less lines18:11
cedkpokoli: I don't understand what you mean18:15
pokoliinvoice.taxes[0].base != invoice.tax_amount18:16
pokoliinvoice.taxes[0].base != invoice.untaxed_amount18:16
pokoliThat's what I have, and i thing is a bug18:16
cedkpokoli: not a problem18:16
pokolicedk: why not?18:18
cedkpokoli: because it is how mathematica works18:19
cedkpokoli: and indeed I will not agree to change this behaviour18:20
pokolicedk: but we use untaxed_amount and total amount for invoice payment18:20
pokolicedk: and account.invoice.tax for tax reporting18:20
cedkI want that the untaxed amount on invoice = sum of line amount otherwise customer will complain18:20
pokolicedk: totally agree18:20
cedkpokoli: untaxed_amount is never used18:20
cedkand how base tax is computed is the correct way if you work with document rounding18:21
pokolicedk: the problems is the same using document rounding and per line rounding18:22
pokolicedk: total_amount is not correct, as untaxed_amount is nor correct18:23
pokolicedk: https://tryton-rietveld.appspot.com/2177100218:24
pokolicedk: there is one cent diference18:25
cedkpokoli: there will always difference between document rounded value and reporting18:25
cedkpokoli: How can the total_amount be not correct??18:25
pokolicedk: it's not the same as the sum of the bases and the taxes of account.invoice.tax18:27
pokolicedk: for me the problem is in account.invoice.tax, not in total_amount18:27
cedkpokoli: I don't care because it will never be18:27
cedkpokoli: the base must be the base not random number18:28
pokolicedk: of course it won't be a random number. But the account.invoice.tax base is not rounded in the same way than in total_amount computation and move_line computation which leads to diferences18:31
pokolicedk: which confuses the user also18:31
cedkpokoli: the base is computed such way that it makes no difference if you split your lines or not18:32
cedkpokoli: and this is important to get this behaviour18:32
pokolicedk: have to go right know, but I will think about it and come back tomorrow :) Thanks for your replies18:33
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton18:49
kstengerDo you need to add depends when you use the view_attributes method to update the states of a field in a view? I have a non working example and I suspect it is because the depends are not beeing updated, but I cannot figure out the way to do it.18:52
cedkkstenger: if you have to use only fields that are in the view in your view_attributes18:54
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton18:59
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton19:06
kstengerthank you cedk, that solved it19:09
aroncero Hi, Does somebody knows if attach a file with special characters in the name fails in Windows? in linux works fine but a User says that he can't in windows19:18
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton19:18
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton19:23
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton19:28
-!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has joined #tryton19:30
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton19:33
-!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton19:38
-!- smarro(~sebastian@181.16.7.104) has joined #tryton19:55
-!- JosDzGx(~Thunderbi@189.148.202.12) has joined #tryton20:02
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:07
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:09
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton20:14
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:16
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:25
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:29
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:34
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:49
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:54
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton20:56
-!- smarro(~sebastian@181.16.7.104) has joined #tryton20:58
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:05
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:08
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:13
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:19
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:23
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:29
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:35
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:41
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:44
-!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton21:49
-!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has left #tryton22:18
-!- kstenger1(~karla@r186-50-56-175.dialup.adsl.anteldata.net.uy) has joined #tryton23:00

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