IRC logs of #tryton for Friday, 2015-02-06

chat.freenode.net #tryton log beginning Fri Feb 6 00:00:01 CET 2015
2015-02-06 01:16 -!- digitalsatori(~Thunderbi@116.234.192.147) has joined #tryton
2015-02-06 02:24 -!- digitalsatori(~Thunderbi@116.234.192.147) has joined #tryton
2015-02-06 06:02 -!- yangoon(~mathiasb@p549F1DF9.dip0.t-ipconnect.de) has joined #tryton
2015-02-06 06:40 -!- frispete_(~frispete@p54A91526.dip0.t-ipconnect.de) has joined #tryton
2015-02-06 07:22 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2015-02-06 07:30 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2015-02-06 07:42 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-02-06 08:02 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2015-02-06 08:52 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 09:07 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2015-02-06 09:10 -!- jcros1(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 09:23 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2015-02-06 09:25 -!- digitalsatori(~Thunderbi@116.234.192.147) has joined #tryton
2015-02-06 09:26 -!- fwiesing(~Wiesinger@194-208-177-133.tele.net) has joined #tryton
2015-02-06 09:32 -!- fwiesing(~Wiesinger@194-208-177-133.tele.net) has joined #tryton
2015-02-06 09:50 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2015-02-06 10:22 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton
2015-02-06 10:23 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2015-02-06 10:42 -!- fwiesing(~Wiesinger@194-208-177-133.tele.net) has left #tryton
2015-02-06 10:49 -!- bechamel(~Adium@ptr-178-50-83-62.dyn.mobistar.be) has joined #tryton
2015-02-06 10:50 -!- hiaselhans(~Thunderbi@chello212186043057.408.14.vie.surfer.at) has joined #tryton
2015-02-06 10:52 -!- meanmicio(~meanmicio@150.Red-79-158-173.staticIP.rima-tde.net) has joined #tryton
2015-02-06 10:52 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2015-02-06 11:10 -!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton
2015-02-06 11:22 -!- duesenfranz(~jona@chello213047255061.tirol.surfer.at) has joined #tryton
2015-02-06 11:34 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2015-02-06 11:44 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-02-06 11:45 <funnybunny> damnit, not again!
2015-02-06 11:46 <funnybunny> i forgot the admin password for my local db :(
2015-02-06 11:46 <funnybunny> is there some sort of a script that i can (ab)use to reset it?
2015-02-06 11:50 <mar> um, proteus?
2015-02-06 11:54 <funnybunny> yes, that might work.. no idea how though :D
2015-02-06 12:10 <pokoli> funnybunny: something like http://pastebin.com/fmaJ3gr5
2015-02-06 12:14 -!- prksh(~prksh@103.245.118.154) has joined #tryton
2015-02-06 12:14 <funnybunny> oh, it's res.user not user.user
2015-02-06 12:14 <funnybunny> hah!
2015-02-06 12:22 <funnybunny> pokoli: i can't seem to get the database_name thing to work
2015-02-06 12:22 <funnybunny> plus i can't find any documentation for proteus about that (except the sqlite thing which i don't understand either)
2015-02-06 12:22 <funnybunny> is this a URI string or something?
2015-02-06 12:23 <pokoli> funnybunny: i just write it fast without checking, so that why i said "something like" :)
2015-02-06 12:23 <funnybunny> yeah, it gave me some clues, thanks.. but then.. oh well
2015-02-06 12:24 <pokoli> funnybunny: yes dtabase is the URI
2015-02-06 12:24 <pokoli> funnybunny: same as you used on trytond.confg
2015-02-06 12:24 <pokoli> funnybunny: I assume you are in 3.4 version :)
2015-02-06 12:24 <funnybunny> i am.. it says it misses DB_NAME though if i use the uri string from the config
2015-02-06 12:25 <funnybunny> postgresql:///user:pass@localhost:5432
2015-02-06 12:25 <funnybunny> and can't connect if i do postgresql:///user:pass@localhost:5432/tryton
2015-02-06 12:39 <pokoli> funnybunny: add os.environ['DB_NAME'] = yourdatabase before config.set_trytond
2015-02-06 12:40 <funnybunny> hrm.. turns out that my postgresql server died sometime last year :o
2015-02-06 12:44 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton
2015-02-06 12:49 <sharoonthomas> cedk: about your comments about product-attribute-strict, do you understand the issue ?
2015-02-06 13:02 <cedk> sharoonthomas: yes but it is not an issue for Dict
2015-02-06 13:02 <sharoonthomas> cedk: the selection field in specific is the only issue we have
2015-02-06 13:03 <sharoonthomas> but is there another way to get around it ?
2015-02-06 13:07 <cedk> sharoonthomas: it is just a matter to prevent changing selection definition
2015-02-06 13:07 <sharoonthomas> cedk: that means validation that newly saved selection options do not make current attribute selections on products invalid
2015-02-06 13:08 <sharoonthomas> cedk: that is what i meant by option 1, but implementing that in a scalable way is the question
2015-02-06 13:08 <cedk> sharoonthomas: or simply never remove selection
2015-02-06 13:09 <sharoonthomas> cedk: yep, that would work. rename == remove. also how do you handle translatable selections ?
2015-02-06 13:09 -!- prksh_(~prksh@198.61.199.179) has joined #tryton
2015-02-06 13:12 <cedk> sharoonthomas: one must option will be to inactivate an entry when still keep it on existing
2015-02-06 13:15 <sharoonthomas> cedk: then the selection text can have more formatting
2015-02-06 13:19 <cedk> sharoonthomas: yes or a second list of inactive
2015-02-06 13:20 <pokoli> cedk: while developing analytic_purchase scenario I found some issues in the code, may I fix it in a separate patch (and issue)
2015-02-06 13:20 <pokoli> ??
2015-02-06 13:20 -!- funnybunny(funnybunny@gateway/shell/blinkenshell.org/x-jolpxxkcsilchtog) has joined #tryton
2015-02-06 13:21 <cedk> pokoli: yes
2015-02-06 13:22 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton
2015-02-06 13:26 <pokoli> funnybunny: you managed to change the password?
2015-02-06 13:27 <funnybunny> apparently there was no need.
2015-02-06 13:27 <funnybunny> turns out postgresql was not running and tryton simply said "password or user wrong"
2015-02-06 13:27 <funnybunny> which was ... oh well :)
2015-02-06 13:28 <pokoli> funnybunny: but on the server logs there should be a message saying it can not connect to database
2015-02-06 13:34 -!- mariomop(~quassel@host234.181-1-204.telecom.net.ar) has joined #tryton
2015-02-06 13:39 -!- sisalp(~sisalpuse@gratoox.sisalp.net) has joined #tryton
2015-02-06 13:42 <cedk> sisalp: hello, troller ;-)
2015-02-06 13:43 <sisalp> cedk: ok, but I am ashame of it
2015-02-06 13:45 <sisalp> cedk: the only possible move for Odoo is to ... gpl ;-)
2015-02-06 13:46 <sisalp> cedk : It validates the choice for Tryton
2015-02-06 13:49 <cedk> sisalp: as usual VC doesn't work well with freesoftware
2015-02-06 13:51 <sisalp> not sure investors are concerned in the case, else they would have stopped it earlier.
2015-02-06 13:52 -!- sharoonthomas(~sharoonth@103.245.118.154) has joined #tryton
2015-02-06 13:52 <cedk> sisalp: as far as I see they are not profitable
2015-02-06 13:54 <sisalp> cedk: lgpl will unleash competition. I wouldn't bet a penny on their plan.
2015-02-06 13:57 <sisalp> cedk: closing software was nasty, but more realistic.
2015-02-06 13:58 <sisalp> not sure this is the place to talk about this, sorry for the noise.
2015-02-06 14:04 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-02-06 14:10 <udono> sisalp: hi, do you have a link?
2015-02-06 14:12 <sisalp> udono: no link, only leaks, everything is discussed off-line
2015-02-06 14:12 <udono> sisalp: what a pitty
2015-02-06 14:15 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 14:22 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 14:35 -!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton
2015-02-06 14:49 <cedk> sisalp, udono: we need wikileaks
2015-02-06 14:49 -!- jcros1(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 14:50 <udono> cedk: yeah
2015-02-06 15:04 <sisalp> odooleaks is available ;-)
2015-02-06 15:05 <cedk> sisalp: it will no more be anonimous then
2015-02-06 15:08 <sisalp> then odooleaks.odoo.com will be difficult to trace #friday
2015-02-06 15:13 <cedk> sisalp: via tor
2015-02-06 15:14 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 15:15 <sisalp> via odoo is enough, the robot doesn't check identities. #okIleave
2015-02-06 15:21 -!- jcros1(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 15:30 -!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton
2015-02-06 15:59 -!- mar(~marius@v100.nfq.lt) has joined #tryton
2015-02-06 16:03 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has joined #tryton
2015-02-06 16:16 -!- david_(~david@78-33-159-224.static.enta.net) has joined #tryton
2015-02-06 16:27 -!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton
2015-02-06 16:28 <david_> I have read through the french VAT defintions, but not getting very far. Is there a good description of the uses of and relationships between the tax code templates, the tax templates, the tax rule templates and the tax rule line templates. I have read the HowToCreateAChartOfAccounts wiki entry but that really does not help.
2015-02-06 16:41 <nicoe> sisalp: so the opendays have turned into the odoodays at least they are coherent ;)
2015-02-06 16:41 <nicoe> david_: There is not descrition AFAIK
2015-02-06 16:41 <nicoe> david_: no*
2015-02-06 16:42 <nicoe> david_: A tax rule template contains a list of tax rule line template
2015-02-06 16:42 <nicoe> david_: tax codes are used when creating a tax report
2015-02-06 16:43 <nicoe> david_: every object terminated by " template" means that it can be instantiated to create a "real" tax / tax code / tax rule
2015-02-06 16:44 <nicoe> david_: the "real" objects are then used by Tryton when computing the taxes / prices / etc
2015-02-06 16:45 -!- sharoonthomas(~sharoonth@122.177.36.206) has joined #tryton
2015-02-06 16:48 <david_> nicoe: OK, I understand about the template bit, so what you are saying is that the basic item is an account.tax object. The codes then seem to be referenced in the fields such as invoice_base_code any by what you say are then used in reports, but what are the rules - they (at least in the french case) seem to be almost empty.
2015-02-06 16:49 <david_> s/any/and/
2015-02-06 16:50 <david_> nicoe: and looking at the french case I seem to have to define separate accounts for each tax rate, but the sales and purchased for each rate go into thesame account - is that right?
2015-02-06 16:53 <nicoe> david_: buxy can probably help you, he's the maintainer for the french account chart
2015-02-06 16:53 <david_> nicoe: then again in the french case there are three versions of each rate, so there is one for TVA @ 19_6 which is the parent of a TVA @ 19_6_1 and of TVA @ 19_6_2, and the _1 has way more fields than the _2 and I can not see why there are two?
2015-02-06 16:54 <nicoe> david_: it's probably related to some french legislation (different reporting needs maybe something like that)
2015-02-06 16:55 <david_> nicoe: ok, can you tell me what the rules are for?
2015-02-06 16:55 <nicoe> david_: the tax rules?
2015-02-06 16:55 <nicoe> david_: they are there to specify that under some conditions a tax became another tax
2015-02-06 16:56 <nicoe> david_: For example when you sell from BE to UK there is no VAT
2015-02-06 16:56 <nicoe> So the new tax must be "0% intra-communautaire" or something like that
2015-02-06 16:57 <nicoe> david_: You can then specify on your party form for the customers from the UK that this rule should be used when invoicing them
2015-02-06 16:58 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2015-02-06 16:58 <buxy> david_: join on #tryton-fr and we can discuss about it in French
2015-02-06 16:59 <david_> nicoe: OK, so for a first pass I could leave those out and just concentrate on the codes and taxes.
2015-02-06 16:59 <david_> nicoe: trouble is that my french is limited to whatI learned at school 45 years ago, i.e. extreemly limited.
2015-02-06 17:00 <david_> buxy: sorry the last line addresses to nicoe: is really addressed to you, my french I suspect is not up to any real discussion being very limited.
2015-02-06 17:01 <david_> buxy: I am trying to build a UK VAT module for tryton, and I was using the french one as a model, and having difficulties understanding what is needed.
2015-02-06 17:03 <buxy> david_: ah ok
2015-02-06 17:04 <buxy> david_: so the basic logic is to have "normal taxes" associated products, those are taxes applied on invoices for customers that do not have any "tax rule" applied to them.
2015-02-06 17:04 <buxy> in general that's the case for national customers
2015-02-06 17:04 -!- Telesight(~anthony@4daedff9.ftth.telfortglasvezel.nl) has joined #tryton
2015-02-06 17:04 <buxy> then you have tax rules that map those "normal taxes" into "special taxes" to cover all the other special cases
2015-02-06 17:05 <david_> buxy: good, that will cover my initial requirement, but rules will obviously have to be added in the end.
2015-02-06 17:05 <buxy> when you export outside of EU, you have no tax anymore, so you have a tax rule (named "Ventes hors communaut├ęs" in the french case) that drops all taxes (because there's no target tax).
2015-02-06 17:06 <david_> buxy: that makes sense.
2015-02-06 17:06 <buxy> When you sell within the EU, it's very complicated and the current rules of the french chart of accounts are not correct. But the idea is the same, you map the normal tax into a set of special taxes.
2015-02-06 17:07 <david_> buxy: why in the account.tax section are there three ending 19_6: 19_6, 19_6_1 and 19_6_2?
2015-02-06 17:07 <david_> buxy: this is around line 1411 of tax_fr.xml
2015-02-06 17:08 <buxy> david_: that's to cover the "reverse charge" mechanism of the European VAT
2015-02-06 17:08 <buxy> "reversal of VAT liability" => you both declare the tax as due and deductible on your own VAT declaration
2015-02-06 17:09 <buxy> so you actually apply the tax twice (in opposite orders) and they annihilate themselves
2015-02-06 17:10 <buxy> ACTION screams at the level of complexity of VAT in EU
2015-02-06 17:12 <david_> buxy: I hear your screams. Why do you have so many different rates defined. I through EU VAT only had standard (>15%), 2 reduced (<=5%, in the UK case reduced at 5% and zero at 0%), and Exempt. Then obviously the actual rate can vary from time to time and that is done in tryton using the startdate field
2015-02-06 17:12 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2015-02-06 17:14 -!- bvillasanti(~bvillasan@181.16.28.146) has joined #tryton
2015-02-06 17:17 <nicoe> david_: maybe it is because France changed their rate recently
2015-02-06 17:18 <david_> nicoe: yes, in something like Quickbooks you had to do something like that, but thenin tryton there is this wonderful start_date and end_date facility so you can have multiple tax code lines which are used on a date basis.
2015-02-06 17:23 <buxy> david_: we have 3 basic rates in France, but many exceptions
2015-02-06 17:23 <david_> buxy: OK, I will give it a go based on what I have learned today, and report back. Got to run now, back later. Thanks for your help.
2015-02-06 17:24 <buxy> sometimes for specific kind of activity (printed press is very low), sometimes for specific places (Corse, islands, ...)
2015-02-06 17:28 -!- digitalsatori(~Thunderbi@116.234.179.119) has joined #tryton
2015-02-06 18:00 -!- sisalp(~sisalpuse@gratoox.sisalp.net) has joined #tryton
2015-02-06 18:02 -!- jcros(~Thunderbi@251.171.125.78.rev.sfr.net) has joined #tryton
2015-02-06 18:15 -!- TheCowboy`(~TheCowboy@wsip-98-191-208-98.dc.dc.cox.net) has joined #tryton
2015-02-06 18:38 -!- lukio(~lukio@110-189-235-201.fibertel.com.ar) has left #tryton
2015-02-06 19:08 -!- uranus(~uranus@ip72-192-133-197.sd.sd.cox.net) has joined #tryton
2015-02-06 19:55 -!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has left #tryton
2015-02-06 20:09 -!- juanfe(~juanfe@190.85.115.49) has joined #tryton
2015-02-06 21:02 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2015-02-06 21:18 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2015-02-06 21:37 -!- nicoe(~nicoe@2a02:a03f:308c:7700:ee55:f9ff:fe7b:f7ac) has joined #tryton
2015-02-06 22:49 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2015-02-06 23:09 -!- newzen(~newzen@190.36.80.12) has joined #tryton
2015-02-06 23:31 -!- apostatize(~visavis@gateway/vpn/privateinternetaccess/apostatize) has joined #tryton
2015-02-06 23:31 -!- prksh(~prksh@180.188.248.251) has joined #tryton
2015-02-06 23:55 -!- frispete(~frispete@p54A91526.dip0.t-ipconnect.de) has joined #tryton

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