Re: [tryton-dev] Tax Code Usage

2018-03-15 Thread Cédric Krier
On 2018-03-15 15:13, Richard PALO wrote:
> Le 15/03/2018 à 12:48, Cédric Krier a écrit :
> > Hi,
> > 
> > I'm working on https://bugs.tryton.org/issue6013
> > For the migration, I need to define for each tax line if the amount is
> > tax or base.
> > So I write a script that use the existing couple (tax, code) from the
> > tax definition to decide if it is a tax or a base.
> > This works on the assumption that no tax code is used for both.
> > 
> > Has anybody an counter example?
> > 
> > Thanks,
> > 
> 
> I notice in the French plan, that this seems to be the case.
> 
> Go to the nested tax code list and note, for example,
> tax code 0030 is twice (base and tax)
> "Livraisons d'électricité, de gaz, de chaleur ou de froid imposables en 
> France (base)""0030"  "BAOU"
> "Livraisons d'électricité, de gaz, de chaleur ou de froid imposables en 
> France"   "0030"  "BAOU"

It is not a problem for the migration as they are two different tax code
record.
But with issue6013, we will be able to merge them.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20180315164341.GS788%40kei.


Re: [tryton-dev] Tax Code Usage

2018-03-15 Thread Richard PALO

Le 15/03/2018 à 12:48, Cédric Krier a écrit :

Hi,

I'm working on https://bugs.tryton.org/issue6013
For the migration, I need to define for each tax line if the amount is
tax or base.
So I write a script that use the existing couple (tax, code) from the
tax definition to decide if it is a tax or a base.
This works on the assumption that no tax code is used for both.

Has anybody an counter example?

Thanks,



I notice in the French plan, that this seems to be the case.

Go to the nested tax code list and note, for example,
tax code 0030 is twice (base and tax)
"Livraisons d'électricité, de gaz, de chaleur ou de froid imposables en France (base)"
"0030""BAOU"
"Livraisons d'électricité, de gaz, de chaleur ou de froid imposables en France"   
"0030""BAOU"

--
Richard PALO

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/2ed75f08-437a-8635-0520-ac5e5fde2243%40netbsd.org.


[tryton-dev] Tax Code Usage

2018-03-15 Thread Cédric Krier
Hi,

I'm working on https://bugs.tryton.org/issue6013
For the migration, I need to define for each tax line if the amount is
tax or base.
So I write a script that use the existing couple (tax, code) from the
tax definition to decide if it is a tax or a base.
This works on the assumption that no tax code is used for both.

Has anybody an counter example?

Thanks,
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20180315114848.GO788%40kei.