chat.freenode.net #tryton log beginning Fri May 15 00:00:02 CEST 2009 | ||
2009-05-15 00:17 -!- _TiN_(n=TiN@190.189.9.80) has joined #tryton | ||
2009-05-15 04:19 -!- ikks(n=igor@190.120.140.224) has joined #tryton | ||
2009-05-15 05:19 -!- yangoon(n=mathiasb@p549F7726.dip.t-dialin.net) has joined #tryton | ||
2009-05-15 05:41 -!- woakas(n=woakas@200.106.197.191) has joined #tryton | ||
2009-05-15 07:32 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton | ||
2009-05-15 07:56 -!- Gedd(n=ged@77.109.114.151.adsl.dyn.edpnet.net) has joined #tryton | ||
2009-05-15 08:09 -!- LordVan(n=lordvan@gentoo/developer/LordVan) has joined #tryton | ||
2009-05-15 08:10 -!- lordvan_(n=lordvan@gentoo/developer/LordVan) has joined #tryton | ||
2009-05-15 08:11 -!- racke(n=racke@a-89-182-77-101.net-htp.de) has joined #tryton | ||
2009-05-15 08:17 -!- racke1(n=racke@a-89-182-77-101.net-htp.de) has joined #tryton | ||
2009-05-15 08:32 -!- racke(n=racke@a89-182-82-1.net-htp.de) has joined #tryton | ||
2009-05-15 08:45 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton | ||
2009-05-15 08:55 -!- rack1(n=racke@a89-183-24-148.net-htp.de) has joined #tryton | ||
2009-05-15 08:59 -!- paepke(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton | ||
2009-05-15 09:21 -!- enlightx(n=enlightx@static-217-133-36-76.clienti.tiscali.it) has joined #tryton | ||
2009-05-15 10:02 -!- cedk_(n=ced@213.49.144.172) has joined #tryton | ||
2009-05-15 10:44 -!- rack1(n=racke@a89-183-24-148.net-htp.de) has left #tryton | ||
2009-05-15 10:50 -!- bechamel(n=user@host-85-201-74-27.brutele.be) has joined #tryton | ||
2009-05-15 11:00 <CIA-48> C?dric Krier <ced@b2ck.com> default * 1807:d26f0bb4f7dd trytond/trytond/tests/ (test_tryton.py tests.py): Add unittest for Integer fields | ||
2009-05-15 11:00 <CIA-48> http://hg.tryton.org/trytond/rev/d26f0bb4f7dd | ||
2009-05-15 11:17 -!- carlos(n=carlos@89.7.24.44) has joined #tryton | ||
2009-05-15 12:04 <carlos> cedk: ping | ||
2009-05-15 12:08 -!- bechamel`(n=user@host-85-201-74-27.brutele.be) has joined #tryton | ||
2009-05-15 12:20 -!- paepke(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton | ||
2009-05-15 12:20 -!- carlos(n=carlos@89.7.24.44) has joined #tryton | ||
2009-05-15 12:46 -!- paepke_(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton | ||
2009-05-15 13:08 -!- tapwag(n=mwagner@p4FE72AE6.dip.t-dialin.net) has joined #tryton | ||
2009-05-15 13:09 <tapwag> Hello. I am thinking about switching to CentOS and was wondering if CentOS' Python 2.4.3 is sufficient for Tryton | ||
2009-05-15 13:12 <sharkcz> tapwag: both Python and PostgreSQL should be OK in CentOS 5, packages for tryton (no modules yet) exist in the Fedora EPEL repository | ||
2009-05-15 13:14 <tapwag> sharkcz: Ah okay excellent. Thanks | ||
2009-05-15 13:15 <cedk> carlos: pong | ||
2009-05-15 13:15 <carlos> cedk: hi | ||
2009-05-15 13:15 <carlos> cedk: do you have some time to talk about tax rules on parties? | ||
2009-05-15 13:15 <carlos> cedk: I'm not sure whether you remember our conversation from last week | ||
2009-05-15 13:15 <cedk> carlos: yes | ||
2009-05-15 13:16 <carlos> ok, I just want to confirm that I'm going to do it in the right way | ||
2009-05-15 13:16 <carlos> cedk: I have two special cases | ||
2009-05-15 13:17 -!- paepke(n=paepke@p4FEB388E.dip0.t-ipconnect.de) has joined #tryton | ||
2009-05-15 13:17 <carlos> 1. Some parties need a second tax applied depending on the vat rate the product has | ||
2009-05-15 13:18 <carlos> so we add an extra one, more than substitute the one assigned to the product | ||
2009-05-15 13:18 <carlos> 2. 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 generation | ||
2009-05-15 13:21 <carlos> For 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 tax | ||
2009-05-15 13:23 <cedk> carlos: I think it is simplier to add origin tax on tax rule lines | ||
2009-05-15 13:24 <carlos> For 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. | ||
2009-05-15 13:24 <carlos> What I'm not sure how to do is how to choose the corresponing tax | ||
2009-05-15 13:24 <carlos> origin tax? | ||
2009-05-15 13:24 <carlos> let me check the code... | ||
2009-05-15 13:24 <cedk> carlos: it is not in the code | ||
2009-05-15 13:26 <carlos> cedk: so you mean that, If I add 16% VAT for a product B, add a tax rule line for the same 16% VAT tax? | ||
2009-05-15 13:26 <cedk> carlos: I don't understand | ||
2009-05-15 13:26 <carlos> cedk: I'm just trying to understand your suggestion | ||
2009-05-15 13:27 <cedk> carlos: I want to say adding a origin tax to the tax lines conditions | ||
2009-05-15 13:28 <carlos> hmm, 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? | ||
2009-05-15 13:29 <carlos> or just take a look on rates and do the substitution based on the rate value | ||
2009-05-15 13:29 <cedk> carlos: yes, but I think it must be done in a generic way for tax rule system | ||
2009-05-15 13:30 <carlos> cedk: how would you see the option of adding the 'link' concept?, a kind of subgroup inside a tax group | ||
2009-05-15 13:30 <carlos> ? | ||
2009-05-15 13:32 <cedk> carlos: simply the adding the origin tax | ||
2009-05-15 13:33 <carlos> so a tax rule line has, the group, origin and new tax? | ||
2009-05-15 13:33 <carlos> having origin tax as optional, and if it doesn't exist, the system works like it does right now | ||
2009-05-15 13:33 <carlos> am I understanding you correctly? | ||
2009-05-15 13:34 <cedk> carlos: yes | ||
2009-05-15 13:35 <carlos> ok, 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 ? | ||
2009-05-15 13:36 <carlos> or the system should not allow a mix mode for the same group? | ||
2009-05-15 13:36 <carlos> a mix model works for me, because simplifies the Spanish tax definition, however, not allowing it is also valid for me | ||
2009-05-15 13:37 <cedk> carlos: mix is ok, the lines are sorted and the system stop at the first matching | ||
2009-05-15 13:38 <carlos> that'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) | ||
2009-05-15 13:39 <carlos> group = 'services', origin='16% VAT', substitution='16% VAT company group' | ||
2009-05-15 13:39 <carlos> group = 'services', origin='', substitution='7% income tax' | ||
2009-05-15 13:40 <carlos> with current algorithm only one will be used, right? | ||
2009-05-15 13:41 <cedk> carlos: yes but we don't care | ||
2009-05-15 13:42 <carlos> sure, but I need to be sure so I define it correctly. I only need that if origin != NULL, it takes preference over origin == NULL always | ||
2009-05-15 13:43 <carlos> cedk: I think I have enough information, thanks for your input | ||
2009-05-15 13:46 -!- paepke_(n=paepke@p4FEB260B.dip0.t-ipconnect.de) has joined #tryton | ||
2009-05-15 13:46 <cedk> carlos: the apply function of tax.rule can already handle this, it is just a matter of adding field and fill it when calling apply | ||
2009-05-15 13:46 -!- paepke(n=paepke@p4FEB260B.dip0.t-ipconnect.de) has joined #tryton | ||
2009-05-15 13:47 <carlos> ok | ||
2009-05-15 13:52 <carlos> cedk: thanks for your input | ||
2009-05-15 14:01 <udono1> hi all, anyone experienced in installing open-office-headless version 3.x on debian lenny? | ||
2009-05-15 14:03 <panthera> udono1: backports work fine; what's the problem you're facing? | ||
2009-05-15 14:04 <udono1> panthera: in backports I have no -headless package | ||
2009-05-15 14:05 <udono1> panthera: and backports tells me strange problems... | ||
2009-05-15 14:06 <udono1> panthera: http://paste.pocoo.org/show/117384/ | ||
2009-05-15 14:06 <panthera> it appears it doesn't build -headless.., will see why | ||
2009-05-15 14:07 <udono1> panthera: talking about Version 3.x ... | ||
2009-05-15 14:07 <panthera> well, the issue you're having in that paste is | ||
2009-05-15 14:07 <panthera> because you're tryting to install 2.4 over 3.0 | ||
2009-05-15 14:07 <panthera> that's normal. | ||
2009-05-15 14:07 <udono1> panthera: hmmm... | ||
2009-05-15 14:08 <udono1> panthera: yes, I see, it seems its because of the missing 3.0 headless package... | ||
2009-05-15 14:09 <panthera> oh, i just saw.. openoffice.org-core is now openoffice.org-headless | ||
2009-05-15 14:09 <panthera> so just install openoffice.org-core and you're fine. | ||
2009-05-15 14:11 <udono1> panthera: yeah, that's it. thanks a lot for support! | ||
2009-05-15 14:12 <panthera> you're welcome | ||
2009-05-15 14:13 <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') | ||
2009-05-15 14:17 -!- _TiN_(n=TiN@190.189.9.80) has joined #tryton | ||
2009-05-15 15:11 -!- gremly(n=gremly@190.156.158.123) has joined #tryton | ||
2009-05-15 15:45 -!- cedk_(n=ced@213.49.144.172) has joined #tryton | ||
2009-05-15 16:30 -!- gremly(n=gremly@190.156.158.123) has joined #tryton | ||
2009-05-15 16:58 -!- udono(n=udono@dynamic-unidsl-85-197-17-98.westend.de) has joined #tryton | ||
2009-05-15 17:28 -!- woakas_(n=woakas@190.144.69.234) has joined #tryton | ||
2009-05-15 17:33 -!- woakas_(n=woakas@200.106.197.191) has joined #tryton | ||
2009-05-15 17:34 -!- juanfer(n=juanfer@p4FD02314.dip0.t-ipconnect.de) has joined #tryton | ||
2009-05-15 18:33 -!- vengfulsquirrel(n=ian@c-67-160-236-234.hsd1.ca.comcast.net) has joined #tryton | ||
2009-05-15 19:31 -!- gremly(n=gremly@190.156.158.123) has joined #tryton | ||
2009-05-15 19:39 -!- Gedd(n=ged@77.109.114.151.adsl.dyn.edpnet.net) has joined #tryton | ||
2009-05-15 21:27 -!- woakas_(n=woakas@200.106.197.191) has joined #tryton | ||
2009-05-15 22:10 -!- Gedd(n=ged@77.109.114.151.adsl.dyn.edpnet.net) has joined #tryton | ||
2009-05-15 22:32 -!- carlos(n=carlos@89.7.24.44) has joined #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!