I think we should probably create only one module which contains the two charts of accounts. As the two charts are quite similar, we can create an xslt transformation in order to generate the two charts from a unique template (as it's done on the minimal chart with the languages).
But most of the python code should be removed, they do not have their place in a chart of account module.
I'm just wondering about the ROUND_HALF_UP, is it really an obligation?
And where are used the added fields on tax?
1. recargo_equivalencia: Is used to mark some taxes that should be included on a diferent section in the aeat_340 module [1]. We should probably create a tax_group to be able to differentiate this taxes.
2. report_description: In the invoices where they are except to taxes an additional text must be included indicating which law excludes them [2]
3. efective account kind is not used and can be removed.
4. About ROUND_HALF_UP, i don't think it's an obligation, but it's what post spanish user are used to. I don't see any problem about adding it on another module (or create a another issue to allow to customize it)
So for me, the only really required field is the report description.
On 2017-08-10 10:47, Sergi Almacellas Abellana wrote:
> 1. recargo_equivalencia: Is used to mark some taxes that should be
> included on a diferent section in the aeat_340 module [1]. We should
> probably create a tax_group to be able to differentiate this taxes.
> 4. About ROUND_HALF_UP, i don't think it's an obligation, but it's
> what post spanish user are used to. I don't see any problem about
> adding it on another module (or create a another issue to allow to
> customize it)
I just realized that the transformation is producing duplicated tax groups.
Currently all the ref="" attributes are suffixed with the chart name (and this causes the duplication of tax groups). To avoid it, I'm thinking about not duplicating all the ref that start with "tax_group". But does not seem a clean solution.
Thoughts?
BTW: I think we are ready for testing now. Just take in account that now also requires #6721 (closed)