Vauxoo / odoo-venezuela

15 stars 21 forks source link

[FIX] Fix some records with duplicated xml_ids #32

Closed suniagajose closed 9 years ago

suniagajose commented 9 years ago

only one remains:

************* Module l10n_ve_withholding_islr
l10n_ve_withholding_islr/__init__.py:1: [W7902(duplicate-xml-record-id), ] Duplicate xml record id l10n_ve_withholding_islr.act_done.noupdate=0

with:

 rgrep "act_done" . --include=*.xml -n| grep record | grep islr

show:

./l10n_ve_withholding_islr/edi/islr_wh_doc_action_data.xml:44:        <record id="l10n_ve_withholding_islr.act_done" model="workflow.activity">
./l10n_ve_withholding_islr/workflow/islr_wh_workflow.xml:24:        <record id="act_done" model="workflow.activity">

in manifest file, islr_wh_doc_action_data.xml is disabled..

        "workflow/wh_action_server.xml",
        # "edi/islr_wh_doc_action_data.xml",
        "wizard/partner_income_wh_print_view.xml",

and edi dependency is disabled too...

    "depends": [
        "account",
        "l10n_ve_withholding",
        "l10n_ve_fiscal_requirements",
        "product",
        "report_webkit",
        # ,"edi"],
    ],

I should do with this duplicate ? @hbto

hbto commented 9 years ago

Hi @suniagajose Get rid of the duplicated code that you mention here.

Best Regard