Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.0] xml ids duplicated #26

Open
moylop260 opened this issue Oct 27, 2015 · 7 comments
Open

[7.0] xml ids duplicated #26

moylop260 opened this issue Oct 27, 2015 · 7 comments
Assignees

Comments

@moylop260
Copy link
Contributor

  • Steps to reproduce:
    • Install pylint-odoo
    • Executing pylint --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" -r n --load-plugins=pylint_odoo -d all -e duplicate-xml-record-id ../odoo-venezuela/
      Show
************* Module odoo-venezuela.l10n_ve_fiscal_requirements
l10n_ve_fiscal_requirements/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_fiscal_requirements.f_req_partner_10
l10n_ve_fiscal_requirements/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_fiscal_requirements.account_invoice_line_2
************* Module odoo-venezuela.l10n_ve_withholding_islr
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_canon_arrendamiento_bienes_en_el_pais
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_hprof_jinetes_entrenadores_preparadores
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_fondos_de_comercio_en_el_pais
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_sueldos_y_salarios
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_074
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_077
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_071
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_073
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_072
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pago_contratistas
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_hprof_no_mercantiles
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_078
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_021
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_70
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_servicios_tecnologicos
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pago_arrendadores_en_el_pais
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_cualquie_cosa_menos_sueldos
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_062
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_063
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pagos_propietarios_animales_carrera_premios
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_061
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_066
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_067
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_064
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rate_025
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_068
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_069
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pagos_administradores_en_el_pais
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_017
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_016
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_015
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_014
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_011
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_010
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_019
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_018
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_seguros_prestacion
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_004
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_006
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_007
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_001
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_002
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_003
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_065
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_008
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pagos_de_servicios_publicitarios
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_hprof_sin_relacion_otras_instituciones
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_084
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_085
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_086
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_080
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_hprof_mancomunados_no_mercantiles
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_082
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_083
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_032
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_034
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_036
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_038
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pagos_seguros_a_clinicas
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_075
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_076
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pagos_transportes_y_fletes
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_asistencia_tecnica
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_int_prestamos_exterior
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rate_013
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rate_012
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_primas_seguros_reaseguros
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_026
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_027
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_intereses_por_personas_juridicas_o_comunidades
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_022
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_023
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_020
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pub_emisoras
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.act_draft
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_079
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_tarjetas_de_credito_cualquier_concepto
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rh_concept_interes_capital_invertido_en_renta
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_059
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_058
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_053
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_052
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_051
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_050
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_057
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_055
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_054
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_juegos_y_apuestas
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_loterias_e_hipodromos
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_tarjetas_de_credito_gasolina
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_048
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_049
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_regalias
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_no_apply_withholding
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_040
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_041
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_042
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_043
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_044
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_045
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_046
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_047
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_comisiones_venta_inmuebles
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_pago_seguros_reparacion_damage
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.act_done
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_rates_081
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.islr_wh_concept_exhibicion_de_peliculas
************* Module odoo-venezuela.l10n_ve_withholding_iva
l10n_ve_withholding_iva/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_iva.act_draft

Executing rgrep "islr_wh_concept_exhibicion_de_peliculas" . --include=*.xml | grep record
show

./l10n_ve_withholding_islr/data/islr_concept_data.xml:65:        <record id="islr_wh_concept_exhibicion_de_peliculas" model="islr.wh.concept">
./l10n_ve_withholding_islr/data/l10n_ve_islr_withholding_data.xml:75:        <record id="islr_wh_concept_exhibicion_de_peliculas" model="islr.wh.concept">
./l10n_ve_withholding_islr/demo/l10n_ve_islr_withholding_demo.xml:110:        <record id="islr_wh_concept_exhibicion_de_peliculas" model="islr.wh.concept">
@moylop260
Copy link
Contributor Author

@hbto
Tu retroalimentación es bienvenida aquí.
Qué opinas, ¿deberíamos omitir estos checks en odoo-venezuela?

@hbto
Copy link
Contributor

hbto commented Oct 27, 2015

@moylop260

Omitir duplicación de id para demo,

compactar los ids que ese encuentra en l10n_ve_islr_withholding_data.xml
con aquéllos que se encuentran en islr_concept_data.xml

Saludos.

@moylop260
Copy link
Contributor Author

@hbto
¿Me puedes hablar en vientoñón (pythonístico) para entenderte mejor?

@hbto
Copy link
Contributor

hbto commented Oct 27, 2015

sql:
UPDATE FROM (SELECT TableA.id FROM (islr_concept_data.xml AS TableA
INNER JOIN l10n_ve_islr_withholding_data.xml AS TableB ON TableA.id = TableB.id)
AS VIEW NewTable SET NewTable.name=TableB.name, NewTable.withholdable=TableB.withholdable

Espero pueda ser de ayuda.

@suniagajose
Copy link
Contributor

Hay xml_ids duplicados en l10n_ve_islr_withholding_data.xml y tienen distintos valores

./l10n_ve_withholding_islr/data/l10n_ve_islr_withholding_data.xml:377

        <record id="islr_rates_059" model="islr.rates">
            <field eval="'059'" name="code"/>
            <field eval="0" name="nature"/>
            <field eval="1" name="residence"/>  
            <field eval="0.33" name="minimum"/>                
            <field eval="100.00" name="base"/>                               
            <field eval="5.00" name="wh_perc"/>                                        
            <field eval="0.00" name="subtract"/>    
            <field name="concept_id" ref="islr_wh_concept_pago_arrendadores_en_el_pais"/>
        </record>

./l10n_ve_withholding_islr/data/l10n_ve_islr_withholding_data.xml:858

<record id="islr_rates_059" model="islr.rates">
            <field eval="'059'" name="code"/>
            <field eval="0" name="nature"/>
            <field eval="1" name="residence"/>
            <field eval="83.3333" name="minimum"/>
            <field eval="100.0" name="base"/>
            <field eval="5.0" name="wh_perc"/>
            <field eval="0" name="subtract"/>
            <field name="concept_id" ref="islr_wh_concept_pagos_administradores_en_el_pais"/>
        </record>

Que se hace en este caso?

@hbto
Copy link
Contributor

hbto commented Nov 4, 2015

Agrega un string _duplicated en id:

id="old_name+_duplicated"

luego se debe hacer una revisión funcional de la data.

Saludos

Quien suscribe,

Hbto

On Wed, Nov 4, 2015 at 2:53 PM, suniagajose [email protected]
wrote:

Hay xml_ids duplicados en l10n_ve_islr_withholding_data.xml y tienen
distintos valores

./l10n_ve_withholding_islr/data/l10n_ve_islr_withholding_data.xml:377

    <record id="islr_rates_059" model="islr.rates">
        <field eval="'059'" name="code"/>
        <field eval="0" name="nature"/>
        <field eval="1" name="residence"/>
        <field eval="0.33" name="minimum"/>
        <field eval="100.00" name="base"/>
        <field eval="5.00" name="wh_perc"/>
        <field eval="0.00" name="subtract"/>
        <field name="concept_id" ref="islr_wh_concept_pago_arrendadores_en_el_pais"/>
    </record>

./l10n_ve_withholding_islr/data/l10n_ve_islr_withholding_data.xml:858

Que se hace en este caso?


Reply to this email directly or view it on GitHub
#26 (comment)
.

@hbto
Copy link
Contributor

hbto commented Nov 4, 2015

Crea un nuevo issue para indicar que la data de islr concepts y rate debe
ser revisada para su
consistencia funcional.

Saludos.

Quien suscribe,

Hbto

On Wed, Nov 4, 2015 at 3:09 PM, Humberto Arocha [email protected] wrote:

Agrega un string _duplicated en id:

id="old_name+_duplicated"

luego se debe hacer una revisión funcional de la data.

Saludos

Quien suscribe,

Hbto

On Wed, Nov 4, 2015 at 2:53 PM, suniagajose [email protected]
wrote:

Hay xml_ids duplicados en l10n_ve_islr_withholding_data.xml y tienen
distintos valores

./l10n_ve_withholding_islr/data/l10n_ve_islr_withholding_data.xml:377

    <record id="islr_rates_059" model="islr.rates">
        <field eval="'059'" name="code"/>
        <field eval="0" name="nature"/>
        <field eval="1" name="residence"/>
        <field eval="0.33" name="minimum"/>
        <field eval="100.00" name="base"/>
        <field eval="5.00" name="wh_perc"/>
        <field eval="0.00" name="subtract"/>
        <field name="concept_id" ref="islr_wh_concept_pago_arrendadores_en_el_pais"/>
    </record>

./l10n_ve_withholding_islr/data/l10n_ve_islr_withholding_data.xml:858

Que se hace en este caso?


Reply to this email directly or view it on GitHub
#26 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants