[6.1] Duplicar Factura de proveedores falla.

Bug #1068950 reported by Nhomar - Vauxoo on 2012-10-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openerp Venezuela
High
Tulio Ruiz (Vauxoo)
6.1
Undecided
Unassigned

Bug Description

Crea una factura de compra que sea retenible.
Duplicala.

Client Traceback (most recent call last):
  File "/home/nhomar/instancias/6.1/web/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/nhomar/instancias/6.1/web/addons/web/controllers/main.py", line 1044, in call
    return self.call_common(req, model, method, args, domain_id, context_id)
  File "/home/nhomar/instancias/6.1/web/addons/web/controllers/main.py", line 996, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/home/nhomar/instancias/6.1/web/addons/web/controllers/main.py", line 1010, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/home/nhomar/instancias/6.1/web/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/home/nhomar/instancias/6.1/web/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/nhomar/instancias/6.1/web/addons/web/common/http.py", line 608, in send
    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

Server Traceback (most recent call last):
  File "/home/nhomar/instancias/6.1/web/addons/web/common/http.py", line 593, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/nhomar/instancias/6.1/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/nhomar/instancias/6.1/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/nhomar/instancias/6.1/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/nhomar/instancias/6.1/openerp-venezuela-localization/l10n_ve_withholding_islr/islr_wh_doc.py", line 469, in copy
    return super(account_invoice, self).copy(cr, uid, id, default, context)
  File "/home/nhomar/instancias/6.1/openerp-venezuela-localization/l10n_ve_withholding_islr/invoice.py", line 112, in copy
    return super(account_invoice, self).copy(cr, uid, id, default, context)
  File "/home/nhomar/instancias/6.1/openerp-venezuela-localization/l10n_ve_withholding_iva/model/invoice.py", line 107, in copy
    return super(account_invoice, self).copy(cr, uid, id, default, context)
  File "/home/nhomar/instancias/6.1/openerp-venezuela-localization/l10n_ve_fiscal_requirements/invoice.py", line 91, in copy
    return super(account_invoice, self).copy(cr, uid, id, default, context)
  File "/home/nhomar/instancias/6.1/addons-stable-redownloaded/account/account_invoice.py", line 639, in copy
    return super(account_invoice, self).copy(cr, uid, id, default, context)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/orm.py", line 4769, in copy
    data = self.copy_data(cr, uid, id, default, context)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/orm.py", line 4649, in copy_data
    data = self.read(cr, uid, [id,], context=context_wo_lang)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/orm.py", line 3416, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/orm.py", line 3539, in _read_flat
    res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
  File "/home/nhomar/instancias/6.1/server/openerp/osv/fields.py", line 1129, in get
    result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
TypeError: _get_tax_line() takes exactly 2 arguments (7 given)

Hay que generar el test Yaml.

Saludos.

Nhomar - Vauxoo (nhomar) wrote :

Por cierto confirmala antes de duplicarla

Changed in openerp-venezuela-localization:
importance: Undecided → High
status: New → Confirmed
Nhomar - Vauxoo (nhomar) wrote :

En borrador también sucede.,

Nhomar - Vauxoo (nhomar) on 2012-10-20
summary: - [6.1] Duplicar Factura de compras con retención falla.
+ [6.1] Duplicar Factura de proveedores falla.
Changed in openerp-venezuela-localization:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers