IRC logs of #tryton for Friday, 2009-05-15

chat.freenode.net #tryton log beginning Fri May 15 00:00:02 CEST 2009
-!- _TiN_(n=TiN@190.189.9.80) has joined #tryton00:17
-!- ikks(n=igor@190.120.140.224) has joined #tryton04:19
-!- yangoon(n=mathiasb@p549F7726.dip.t-dialin.net) has joined #tryton05:19
-!- woakas(n=woakas@200.106.197.191) has joined #tryton05:41
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton07:32
-!- Gedd(n=ged@77.109.114.151.adsl.dyn.edpnet.net) has joined #tryton07:56
-!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton08:09
-!- lordvan_(n=lordvan@gentoo/developer/LordVan) has joined #tryton08:10
-!- racke(n=racke@a-89-182-77-101.net-htp.de) has joined #tryton08:11
-!- racke1(n=racke@a-89-182-77-101.net-htp.de) has joined #tryton08:17
-!- racke(n=racke@a89-182-82-1.net-htp.de) has joined #tryton08:32
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:45
-!- rack1(n=racke@a89-183-24-148.net-htp.de) has joined #tryton08:55
-!- paepke(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton08:59
-!- enlightx(n=enlightx@static-217-133-36-76.clienti.tiscali.it) has joined #tryton09:21
-!- cedk_(n=ced@213.49.144.172) has joined #tryton10:02
-!- rack1(n=racke@a89-183-24-148.net-htp.de) has left #tryton10:44
-!- bechamel(n=user@host-85-201-74-27.brutele.be) has joined #tryton10:50
CIA-48C?dric Krier <ced@b2ck.com> default * 1807:d26f0bb4f7dd trytond/trytond/tests/ (test_tryton.py tests.py): Add unittest for Integer fields11:00
CIA-48http://hg.tryton.org/trytond/rev/d26f0bb4f7dd11:00
-!- carlos(n=carlos@89.7.24.44) has joined #tryton11:17
carloscedk: ping12:04
-!- bechamel`(n=user@host-85-201-74-27.brutele.be) has joined #tryton12:08
-!- paepke(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton12:20
-!- carlos(n=carlos@89.7.24.44) has joined #tryton12:20
-!- paepke_(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton12:46
-!- tapwag(n=mwagner@p4FE72AE6.dip.t-dialin.net) has joined #tryton13:08
tapwagHello. I am thinking about switching to CentOS and was wondering if CentOS' Python 2.4.3 is sufficient for Tryton13:09
sharkcztapwag: both Python and PostgreSQL should be OK in CentOS 5, packages for tryton (no modules yet) exist in the Fedora EPEL repository13:12
tapwagsharkcz: Ah okay excellent. Thanks13:14
cedkcarlos: pong13:15
carloscedk: hi13:15
carloscedk: do you have some time to talk about tax rules on parties?13:15
carloscedk: I'm not sure whether you remember our conversation from last week13:15
cedkcarlos: yes13:15
carlosok, I just want to confirm that I'm going to do it in the right way13:16
carloscedk: I have two special cases13:16
-!- paepke(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton13:17
carlos1. Some parties need a second tax applied depending on the vat rate the product has13:17
carlosso we add an extra one, more than substitute the one assigned to the product13:18
carlos2. For parties that are members of the same company group, we need to use a different tax of the same rate, but that just stores the base amount and the tax amount in a different tax code for the tax report generation13:18
carlosFor 1. I'm planning to add a flag to Party that will reflect the fact that it needs such extra tax applied (a vat surcharge), also, at Rule.apply() I would check for such flag and depending on the tax I will return that tax and the linked surcharge tax13:21
cedkcarlos: I think it is simplier to add origin tax on tax rule lines13:23
carlosFor 2. I'm planning to do something similar, except that I'm not going to add an extra one, but to substitute it, just like it's done now.13:24
carlos What I'm not sure how to do is how to choose the corresponing tax13:24
carlosorigin tax?13:24
carloslet me check the code...13:24
cedkcarlos: it is not in the code13:24
carloscedk: so you mean that, If I add 16% VAT for a product B, add a tax rule line for the same 16% VAT tax?13:26
cedkcarlos: I don't understand13:26
carloscedk: I'm just trying to understand your suggestion13:26
cedkcarlos: I want to say adding a origin tax to the tax lines conditions13:27
carloshmm, ok, I think I got it now, however, to select the substitution in this case, I will need to add python code that will depend on the tax id in the xml code, am I correct?13:28
carlosor just take a look on rates and do the substitution based on the rate value13:29
cedkcarlos: yes, but I think it must be done in a generic way for tax rule system13:29
carloscedk: how would you see the option of adding the 'link' concept?, a kind of subgroup inside a tax group13:30
carlos?13:30
cedkcarlos: simply the adding the origin tax13:32
carlosso a tax rule line has, the group, origin and new tax?13:33
carloshaving origin tax as optional, and if it doesn't exist, the system works like it does right now13:33
carlosam I understanding you correctly?13:33
cedkcarlos: yes13:34
carlosok, last doubt, if you use origin tax, would you be able to have another rule line without an origin tax in the same tax rule ?13:35
carlosor the system should not allow a mix mode for the same group?13:36
carlosa mix model works for me, because simplifies the Spanish tax definition, however, not allowing it is also valid for me13:36
cedkcarlos: mix is ok, the lines are sorted and the system stop at the first matching13:37
carlosthat's my point, if that algorithm is going to be the same, the mix model will not be useful, given that only the one without origin will be executed (assuming that the sorting puts the null value first)13:38
carlosgroup = 'services', origin='16% VAT', substitution='16% VAT company group'13:39
carlosgroup = 'services', origin='', substitution='7% income tax'13:39
carloswith current algorithm only one will be used, right?13:40
cedkcarlos: yes but we don't care13:41
carlossure, but I need to be sure so I define it correctly. I only need that if origin != NULL, it takes preference over origin == NULL always13:42
carloscedk: I think I have enough information, thanks for your input13:43
-!- paepke_(n=paepke@p4FEB260B.dip0.t-ipconnect.de) has joined #tryton13:46
cedkcarlos: the apply function of tax.rule can already handle this, it is just a matter of adding field and fill it when calling apply13:46
-!- paepke(n=paepke@p4FEB260B.dip0.t-ipconnect.de) has joined #tryton13:46
carlosok13:47
carloscedk: thanks for your input13:52
udono1hi all, anyone experienced in installing open-office-headless version 3.x on debian lenny?14:01
pantheraudono1: backports work fine; what's the problem you're facing?14:03
udono1panthera: in backports I have no -headless package14:04
udono1panthera: and backports tells me strange problems...14:05
udono1panthera: http://paste.pocoo.org/show/117384/14:06
pantherait appears it doesn't build -headless.., will see why14:06
udono1panthera: talking about Version 3.x ...14:07
pantherawell, the issue you're having in that paste is14:07
pantherabecause you're tryting to install 2.4 over 3.014:07
pantherathat's normal.14:07
udono1panthera: hmmm...14:07
udono1panthera: yes, I see, it seems its because of the missing 3.0 headless package...14:08
pantheraoh, i just saw.. openoffice.org-core is now openoffice.org-headless14:09
pantheraso just install openoffice.org-core and you're fine.14:09
udono1panthera: yeah, that's it. thanks a lot for support!14:11
pantherayou're welcome14:12
panthera.oO(and feel free to highlight me next time if you've got any debian related problems, i just saw your question by 'accident')14:13
-!- _TiN_(n=TiN@190.189.9.80) has joined #tryton14:17
-!- gremly(n=gremly@190.156.158.123) has joined #tryton15:11
-!- cedk_(n=ced@213.49.144.172) has joined #tryton15:45
-!- gremly(n=gremly@190.156.158.123) has joined #tryton16:30
-!- udono(n=udono@dynamic-unidsl-85-197-17-98.westend.de) has joined #tryton16:58
-!- woakas_(n=woakas@190.144.69.234) has joined #tryton17:28
-!- woakas_(n=woakas@200.106.197.191) has joined #tryton17:33
-!- juanfer(n=juanfer@p4FD02314.dip0.t-ipconnect.de) has joined #tryton17:34
-!- vengfulsquirrel(n=ian@c-67-160-236-234.hsd1.ca.comcast.net) has joined #tryton18:33
-!- gremly(n=gremly@190.156.158.123) has joined #tryton19:31
-!- Gedd(n=ged@77.109.114.151.adsl.dyn.edpnet.net) has joined #tryton19:39
-!- woakas_(n=woakas@200.106.197.191) has joined #tryton21:27
-!- Gedd(n=ged@77.109.114.151.adsl.dyn.edpnet.net) has joined #tryton22:10
-!- carlos(n=carlos@89.7.24.44) has joined #tryton22:32

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