IRC logs of #tryton for Wednesday, 2011-09-28 #tryton log beginning Wed Sep 28 00:00:02 CEST 2011
2011-09-28 14:00 <meanmicio> cedk : ping
2011-09-28 14:02 <meanmicio> I believe the vat number should not have the country code as a prefix. I did a while ago the coding for OE for checking the VAT number for different countries, but getting the country code from another field
2011-09-28 14:05 <cedk> meanmicio: it is already the case
2011-09-28 14:05 <cedk> meanmicio: there is a vat_country and vat_code fields
2011-09-28 14:05 <cedk> meanmicio: there is a vat_country and vat_number fields
2011-09-28 14:06 <cedk> meanmicio: and there is a vat_code function field that joins both
2011-09-28 14:06 <meanmicio> cedk: beautiful :-) I coded that way long time ago out of frustration in OE... they never merged it though . :-)
2011-09-28 14:07 <cedk> meanmicio: and the vat_number is checked only if you fill vat_country
2011-09-28 14:07 <cedk> meanmicio: so for countries that are not yet supported by vatnumber lib, you can still enter the vat_number (and put the country prefix in it)
2011-09-28 14:09 <meanmicio> cedk : Great ! so is an option but not mandatory. I had to do it because in OE was impossible to batch-load VAT numbers without the prefix.... I also set a boolean to avoid checking for the vat number if the user wanted to
2011-09-28 14:10 <cedk> meanmicio: I think it is better to fix vatnumber if there is false negative
2011-09-28 14:10 <cedk> meanmicio: any way, in OE they used a copy of an old version of vatnumber
2011-09-28 14:11 <cedk> meanmicio: it seems know we got almost no false negative
2011-09-28 14:11 <meanmicio> cedk: let me send you what I did a while ago... you might find it some concepts useful
2011-09-28 14:12 <meanmicio> cedk : but for what you're telling me, most is implemented already ..
2011-09-28 14:12 <cedk> meanmicio: better on the mailing list
2011-09-28 14:12 <meanmicio> cedk : sure
2011-09-28 14:21 <cedk> meanmicio: how do you plan the support of Tryton version in GNUHealth ?
2011-09-28 14:21 <cedk> meanmicio: for now, I guess it is 2.0 series
2011-09-28 14:23 <meanmicio> cedk : just sent it to the tryton-dev mailing list
2011-09-28 14:24 <meanmicio> cedk : We should keep it synced. So, when 2.2 is out, Health should be compatible with it
2011-09-28 14:27 <smarro> cedk: Hi, how can we do to add Argentinian vat number check in vatnumber?
2011-09-28 14:35 <meanmicio> smarro : Sebas, in the code I just send is there ;-)
2011-09-28 14:42 <smarro> meanmicio: ok, but we need to add the code in the vatnumber library
2011-09-28 14:43 <meanmicio> smarro : yes. Good. Way better than having embedded in the main program
2011-09-28 15:01 <cedk> meanmicio: submit a patch to vatnumber
2011-09-28 15:04 <meanmicio> cedk: ok.
2011-09-28 17:05 -!- pjstevns( has left #tryton
2011-09-28 23:53 -!- yangoon( has left #tryton

Generated by 2.17.3 by Marius Gedminas - find it at!