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

chat.freenode.net #tryton log beginning Wed Mar 2 00:00:01 CET 2016
2016-03-02 00:34 -!- smarro(~sebastian@190.14.157.18) has joined #tryton
2016-03-02 00:38 -!- mathesis(~ja1000@unaffiliated/mathesis) has joined #tryton
2016-03-02 00:54 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-02 01:19 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-02 01:21 -!- JosDzG(~Thunderbi@189.148.204.54) has joined #tryton
2016-03-02 02:26 -!- JosDzG(~Thunderbi@189.148.204.54) has joined #tryton
2016-03-02 02:36 -!- JosDzGx(~Thunderbi@189.188.3.19) has joined #tryton
2016-03-02 03:37 -!- JosDzGx(~Thunderbi@189.148.176.48) has joined #tryton
2016-03-02 03:48 -!- JosDzGx(~Thunderbi@189.188.3.19) has joined #tryton
2016-03-02 07:40 -!- frispete_(~frispete@p54A905C5.dip0.t-ipconnect.de) has joined #tryton
2016-03-02 07:44 -!- bvillasanti(~bvillasan@138.117.21.56) has joined #tryton
2016-03-02 08:02 -!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton
2016-03-02 08:04 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-03-02 08:13 -!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton
2016-03-02 08:46 -!- mrichez(~smuxi@mail.saluc.com) has joined #tryton
2016-03-02 09:19 -!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton
2016-03-02 09:34 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2016-03-02 10:45 -!- nicoe(~nicoe@2a02:a03f:30a9:300:ee55:f9ff:fe7b:f7ac) has joined #tryton
2016-03-02 10:54 -!- csotelo(~csotelo@190.232.105.29) has joined #tryton
2016-03-02 10:59 -!- kstenger(~karla@r167-56-253-218.dialup.adsl.anteldata.net.uy) has joined #tryton
2016-03-02 12:04 -!- mariomop(~quassel@181.90.153.29) has joined #tryton
2016-03-02 12:46 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-02 13:28 -!- smarro(~sebastian@190.14.157.18) has joined #tryton
2016-03-02 13:50 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-02 14:02 -!- nina(~nina@177.19.245.134) has joined #tryton
2016-03-02 14:02 -!- nina_(~nina@177.19.245.134) has joined #tryton
2016-03-02 14:07 <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.
2016-03-02 14:10 <pokoli> nina_: what's a shortcut for you? A relate action?
2016-03-02 14:10 <nina_> pokoli: yes
2016-03-02 14:13 <nina_> pokoli: I need that the IRCR will be invisible in the relate action.
2016-03-02 14:14 <pokoli> nina_: invisible for all users?
2016-03-02 14:15 <nina_> Yes.
2016-03-02 14:15 <pokoli> nina_: You can assign som group to the keyword, so only users on this group will see the relate
2016-03-02 14:30 -!- bvillasanti(~bvillasan@138.117.21.56) has joined #tryton
2016-03-02 14:41 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-02 14:42 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton
2016-03-02 14:43 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton
2016-03-02 14:51 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2016-03-02 14:54 -!- bvillasanti1(~bvillasan@138.117.21.56) has joined #tryton
2016-03-02 15:58 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2016-03-02 15:59 <lukio> hola, 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.
2016-03-02 15:59 <lukio> Uno de los threads al respecto, es este: https://groups.google.com/forum/#!topic/tryton-dev/vculGzhkulQ
2016-03-02 16:00 <cedk> lukio: in English please
2016-03-02 16:01 <lukio> ok, sorry! I thought I was at tryton-es channel.
2016-03-02 16:01 -!- bvillasanti(~bvillasan@190.105.71.186) has joined #tryton
2016-03-02 16:02 <lukio> Well, 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.
2016-03-02 16:02 <lukio> I look at the internet, and read some threads that talk about that. One of them is the link that I paste early.
2016-03-02 16:03 <lukio> But, 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.
2016-03-02 16:03 <lukio> but I don't know were to start to look at.
2016-03-02 16:09 <cedk> lukio: what kind of external data?
2016-03-02 16:11 <lukio> cedk: it give me a list of dictionarys. the problem is that could be huge list. I can send to the sevice a LIMIT.
2016-03-02 16:13 <cedk> lukio: you could use a materialized view defined using an foreign-data wrapper
2016-03-02 16:16 -!- perilla(~perilla@corp-190-57-169-210-cue.puntonet.ec) has joined #tryton
2016-03-02 16:47 <meanmicio> nina_ : look at the example I just put in the #gnu-health channel. I think that would work for your case.
2016-03-02 16:49 <meanmicio> nina_: use the model ir.action-res.group
2016-03-02 16:50 <nina_> meanmicio: ok. I'll try
2016-03-02 17:04 -!- csotelo(~csotelo@190.232.105.29) has joined #tryton
2016-03-02 17:15 -!- sharkcz`(~sharkcz@server.danny.cz) has joined #tryton
2016-03-02 17:43 <pokoli> I'm wondering if there is any reason to use quantity * unit_price to compute tax bases instead of amount directly?
2016-03-02 17:54 <cedk> pokoli: what are you talking about?
2016-03-02 17:57 <pokoli> cedk: http://hg.tryton.org/modules/account/file/ea0a84c5c1de/tax.py#l1054 Tax.compute accepts quantity and unit_price parameters
2016-03-02 17:57 <pokoli> cedk: which then they are multplicated
2016-03-02 17:58 <pokoli> cedk: I have diferences with account.invoice.tax base and invoice untaxed_amount with only one tax :$
2016-03-02 18:00 <cedk> pokoli: don't understand the problem
2016-03-02 18:06 <pokoli> cedk: don't worry, i will fill an issue with a test scenario :)
2016-03-02 18:06 -!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton
2016-03-02 18:08 <cedk> pokoli: I doubt there is a problem
2016-03-02 18:08 <pokoli> cedk: why?
2016-03-02 18:09 <cedk> pokoli: code sounds correct
2016-03-02 18:11 <pokoli> cedk: for what i have found, untaxed amount is computed using line amount and tax base is computed using quantity * unit_price
2016-03-02 18:11 <pokoli> cedk: this leads to diferent values on an invoice of 22 lines. I'm trying to reproduce with less lines
2016-03-02 18:15 <cedk> pokoli: I don't understand what you mean
2016-03-02 18:16 <pokoli> invoice.taxes[0].base != invoice.tax_amount
2016-03-02 18:16 <pokoli> invoice.taxes[0].base != invoice.untaxed_amount
2016-03-02 18:16 <pokoli> That's what I have, and i thing is a bug
2016-03-02 18:16 <cedk> pokoli: not a problem
2016-03-02 18:18 <pokoli> cedk: why not?
2016-03-02 18:19 <cedk> pokoli: because it is how mathematica works
2016-03-02 18:20 <cedk> pokoli: and indeed I will not agree to change this behaviour
2016-03-02 18:20 <pokoli> cedk: but we use untaxed_amount and total amount for invoice payment
2016-03-02 18:20 <pokoli> cedk: and account.invoice.tax for tax reporting
2016-03-02 18:20 <cedk> I want that the untaxed amount on invoice = sum of line amount otherwise customer will complain
2016-03-02 18:20 <pokoli> cedk: totally agree
2016-03-02 18:20 <cedk> pokoli: untaxed_amount is never used
2016-03-02 18:21 <cedk> and how base tax is computed is the correct way if you work with document rounding
2016-03-02 18:22 <pokoli> cedk: the problems is the same using document rounding and per line rounding
2016-03-02 18:23 <pokoli> cedk: total_amount is not correct, as untaxed_amount is nor correct
2016-03-02 18:24 <pokoli> cedk: https://tryton-rietveld.appspot.com/21771002
2016-03-02 18:25 <pokoli> cedk: there is one cent diference
2016-03-02 18:25 <cedk> pokoli: there will always difference between document rounded value and reporting
2016-03-02 18:25 <cedk> pokoli: How can the total_amount be not correct??
2016-03-02 18:27 <pokoli> cedk: it's not the same as the sum of the bases and the taxes of account.invoice.tax
2016-03-02 18:27 <pokoli> cedk: for me the problem is in account.invoice.tax, not in total_amount
2016-03-02 18:27 <cedk> pokoli: I don't care because it will never be
2016-03-02 18:28 <cedk> pokoli: the base must be the base not random number
2016-03-02 18:31 <pokoli> cedk: 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 diferences
2016-03-02 18:31 <pokoli> cedk: which confuses the user also
2016-03-02 18:32 <cedk> pokoli: the base is computed such way that it makes no difference if you split your lines or not
2016-03-02 18:32 <cedk> pokoli: and this is important to get this behaviour
2016-03-02 18:33 <pokoli> cedk: have to go right know, but I will think about it and come back tomorrow :) Thanks for your replies
2016-03-02 18:49 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 18:52 <kstenger> Do 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.
2016-03-02 18:54 <cedk> kstenger: if you have to use only fields that are in the view in your view_attributes
2016-03-02 18:59 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 19:06 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 19:09 <kstenger> thank you cedk, that solved it
2016-03-02 19:18 <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 windows
2016-03-02 19:18 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 19:23 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 19:28 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 19:30 -!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has joined #tryton
2016-03-02 19:33 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 19:38 -!- JosDzG(~Thunderbi@189.148.185.39) has joined #tryton
2016-03-02 19:55 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-02 20:02 -!- JosDzGx(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:07 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:09 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:14 -!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has left #tryton
2016-03-02 20:16 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:25 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:29 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:34 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:49 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:54 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:56 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 20:58 -!- smarro(~sebastian@181.16.7.104) has joined #tryton
2016-03-02 21:05 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:08 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:13 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:19 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:23 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:29 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:35 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:41 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:44 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 21:49 -!- JosDzG(~Thunderbi@189.148.202.12) has joined #tryton
2016-03-02 22:18 -!- lukio(~lukio@88-38-16-190.fibertel.com.ar) has left #tryton
2016-03-02 23:00 -!- kstenger1(~karla@r186-50-56-175.dialup.adsl.anteldata.net.uy) has joined #tryton

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