Problemas con l10n_ve_fiscal_requirement

Asked by Eliezer Romero on 2013-04-25

Actualmente tengo problemas para instalar el modulo l10n_ve_fiscal_requirement agradeceria su ayuda...

El openerp.osv esta causando problemas...

El modulo lo descargue de http://v6apps.openerp.com/addon/5571?filter=%7B%22text_search%22%3A+%22l10n_ve_fiscal_requirements%22%2C+%22version%22%3A+1%2C+%22order_by%22%3A+%22last_update+desc%2C+click_counter+desc%22%2C+%22author%22%3A+225%7D&page=0

Traceback (most recent call last):
  File "/home/eliezer/public_html/openerp_sisb/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py", line 129, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py", line 194, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/addons/base/module/wizard/base_module_upgrade.py", line 98, in upgrade_module
    _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/pooler.py", line 60, in restart_pool
    return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/pooler.py", line 39, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/addons/__init__.py", line 883, in load_modules
    processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
  File "/home/eliezer/public_html/openerp_sisb/server/bin/addons/__init__.py", line 716, in load_module_graph
    register_class(package.name)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/addons/__init__.py", line 450, in register_class
    imp.load_module(m, *fm)
  File "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/__init__.py", line 25, in <module>
    import model
  File "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/model/__init__.py", line 25, in <module>
    import account
  File "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/model/account.py", line 26, in <module>
    from openerp.osv import fields, osv
ImportError: No module named openerp.osv

Question information

Language:
Spanish Edit question
Status:
Answered
For:
Openerp Venezuela Edit question
Assignee:
No assignee Edit question
Last query:
2013-04-25
Last reply:
2013-04-25
Nhomar - Vauxoo (nhomar) said : #1

Version de openerp?

Creo que estas intentando instalar la 7 en la 6

Written from my android
On Apr 25, 2013 9:51 AM, "Eliezer Romero" <
<email address hidden>> wrote:

> New question #227459 on Openerp Venezuela:
>
> https://answers.launchpad.net/openerp-venezuela-localization/+question/227459
>
> Actualmente tengo problemas para instalar el modulo
> l10n_ve_fiscal_requirement agradeceria su ayuda...
>
> El openerp.osv esta causando problemas...
>
> El modulo lo descargue de
> http://v6apps.openerp.com/addon/5571?filter=%7B%22text_search%22%3A+%22l10n_ve_fiscal_requirements%22%2C+%22version%22%3A+1%2C+%22order_by%22%3A+%22last_update+desc%2C+click_counter+desc%22%2C+%22author%22%3A+225%7D&page=0
>
> Traceback (most recent call last):
> File "/home/eliezer/public_html/openerp_sisb/server/bin/netsvc.py", line
> 489, in dispatch
> result = ExportService.getService(service_name).dispatch(method, auth,
> params)
> File
> "/home/eliezer/public_html/openerp_sisb/server/bin/service/web_services.py",
> line 599, in dispatch
> res = fn(db, uid, *params)
> File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py",
> line 129, in wrapper
> return f(self, dbname, *args, **kwargs)
> File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py",
> line 194, in execute
> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py",
> line 185, in execute_cr
> return getattr(object, method)(cr, uid, *args, **kw)
> File
> "/home/eliezer/public_html/openerp_sisb/server/bin/addons/base/module/wizard/base_module_upgrade.py",
> line 98, in upgrade_module
> _db, pool = pooler.restart_pool(cr.dbname, update_module=True)
> File "/home/eliezer/public_html/openerp_sisb/server/bin/pooler.py", line
> 60, in restart_pool
> return get_db_and_pool(db_name, force_demo, status,
> update_module=update_module)
> File "/home/eliezer/public_html/openerp_sisb/server/bin/pooler.py", line
> 39, in get_db_and_pool
> addons.load_modules(db, force_demo, status, update_module)
> File
> "/home/eliezer/public_html/openerp_sisb/server/bin/addons/__init__.py",
> line 883, in load_modules
> processed_modules.extend(load_module_graph(cr, graph, status,
> report=report, skip_modules=processed_modules))
> File
> "/home/eliezer/public_html/openerp_sisb/server/bin/addons/__init__.py",
> line 716, in load_module_graph
> register_class(package.name)
> File
> "/home/eliezer/public_html/openerp_sisb/server/bin/addons/__init__.py",
> line 450, in register_class
> imp.load_module(m, *fm)
> File
> "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/__init__.py",
> line 25, in <module>
> import model
> File
> "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/model/__init__.py",
> line 25, in <module>
> import account
> File
> "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/model/account.py",
> line 26, in <module>
> from openerp.osv import fields, osv
> ImportError: No module named openerp.osv
>
>
> --
> You received this question notification because you are an answer
> contact for Openerp Venezuela.
>

Eliezer Romero (eliezerfot123) said : #2

No hermano tengo la versión: 6.0
A que se debe el problema ?

Nhomar - Vauxoo (nhomar) said : #3

Baja la localizacion de la 6

bzr branch lp:openerp-venezuela-localization/6.0

La que bajaste es la version de desarrollo (no la estable para la 6)

Written from my android
On Apr 25, 2013 11:26 AM, "Eliezer Romero" <
<email address hidden>> wrote:

> Question #227459 on Openerp Venezuela changed:
>
> https://answers.launchpad.net/openerp-venezuela-localization/+question/227459
>
> Eliezer Romero posted a new comment:
> No hermano tengo la versión: 6.0
> A que se debe el problema ?
>
> --
> You received this question notification because you are an answer
> contact for Openerp Venezuela.
>

Eliezer Romero (eliezerfot123) said : #4

Hermanooo fino. ya descargue la versión que me pasastes, ahora tengo este error... Fijate

l10n_ve_fiscal_requirements

Traceback (most recent call last):
  File "/home/eliezer/public_html/openerp_sisb/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/service/web_services.py", line 599, in dispatch
    res = fn(db, uid, *params)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py", line 129, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py", line 194, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/eliezer/public_html/openerp_sisb/server/bin/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/installer.py", line 40, in onchange_update_rif
    partner_info = self.pool.get('seniat.url').update_rif(cr, uid, ids, context)
  File "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/seniat_url.py", line 148, in update_rif
    res = self._dom_giver(url1, url2, url3, context['vat'],context)
  File "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/seniat_url.py", line 129, in _dom_giver
    if not self._eval_seniat_data(xml_data,vat,context):
  File "/home/eliezer/public_html/openerp_sisb/module/l10n_ve_fiscal_requirements/seniat_url.py", line 103, in _eval_seniat_data
    if xml_data.find('450')>=0 and not vat.find('450')>=0:
AttributeError: 'bool' object has no attribute 'find'

ahora, si puedes seguir ayudandome te lo agradecería hermano...

Can you help with this problem?

Provide an answer of your own, or ask Eliezer Romero for more information if necessary.

To post a message you must log in.