Questo sito utilizza cookie per le proprie funzionalità e per inviarti pubblicità e servizi in linea con le tue preferenze. Chiudendo questo banner, scorrendo questa pagina o cliccando qualunque suo elemento acconsenti all’uso dei cookie.

Accedendo al link http://www.odoo-italia.org/index.php/home/cookie-policy puoi leggere in dettaglio le modalità di trattamento dei cookie da parte dell'Associazione Odoo Italia.

Benvenuto, Ospite
Nome utente: Password: Ricordami

ARGOMENTO: Errore Conferma Preventivo -> Ordine Acquisto

Errore Conferma Preventivo -> Ordine Acquisto 5 Anni 10 Mesi fa #11381

  • massimo.rc
  • Avatar di massimo.rc
  • Offline
  • Gold Boarder
  • Messaggi: 296
  • Ringraziamenti ricevuti 6
  • Karma: 0
Ciao a tutti,
Ho un problema con un preventivo di acquisto, se provo a cliccare Conferma Ordine mi da questo errore:
OpenERP Server Error
Client Traceback (most recent call last):
  File "/home/openerp/openerp7/openerp/addons/web/http.py", line 203, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/openerp/openerp7/openerp/addons/web/controllers/main.py", line 1140, in exec_workflow
    return req.session.exec_workflow(model, id, signal)
  File "/home/openerp/openerp7/openerp/addons/web/session.py", line 148, in exec_workflow
    r = self.proxy('object').exec_workflow(self._db, self._uid, self._password, model, signal, id)
  File "/home/openerp/openerp7/openerp/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/home/openerp/openerp7/openerp/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/home/openerp/openerp7/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/openerp/openerp7/openerp/netsvc.py", line 293, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/openerp/openerp7/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/openerp7/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/openerp7/openerp/osv/osv.py", line 220, in exec_workflow
    res = self.exec_workflow_cr(cr, uid, obj, signal, *args)
  File "/home/openerp/openerp7/openerp/osv/osv.py", line 213, in exec_workflow_cr
    return object._workflow_signal(cr, uid, [res_id], signal)[res_id]
  File "/home/openerp/openerp7/openerp/osv/orm.py", line 3926, in _workflow_signal
    result[res_id] = wf_service.trg_validate(uid, self._name, res_id, signal, cr)
  File "/home/openerp/openerp7/openerp/workflow/wkf_service.py", line 119, in trg_validate
    res2 = instance.validate(cr, id, ident, signal)
  File "/home/openerp/openerp7/openerp/workflow/instance.py", line 43, in validate
    workitem.process(cr, witem, ident, signal, force_running, stack=stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 60, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 175, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 183, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 40, in create
    process(cr, res, ident, stack=stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 60, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 175, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 198, in _join_test
    create(cr, [activity], inst_id, ident, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 40, in create
    process(cr, res, ident, stack=stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 60, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 175, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 183, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 40, in create
    process(cr, res, ident, stack=stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 52, in process
    result = _execute(cr, workitem, activity, ident, stack)
  File "/home/openerp/openerp7/openerp/workflow/workitem.py", line 127, in _execute
    id_new = wkf_expr.execute(cr, ident, workitem, activity)
  File "/home/openerp/openerp7/openerp/workflow/wkf_expr.py", line 67, in execute
    return _eval_expr(cr, ident, workitem, activity['action'])
  File "/home/openerp/openerp7/openerp/workflow/wkf_expr.py", line 57, in _eval_expr
    ret = eval(line, env, nocopy=True)
  File "/home/openerp/openerp7/openerp/tools/safe_eval.py", line 241, in safe_eval
    return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/home/openerp/openerp7/openerp/osv/orm.py", line 374, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/home/openerp/openerp7/openerp/addons/purchase/purchase.py", line 557, in action_invoice_create
    inv_obj.button_compute(cr, uid, [inv_id], context=context, set_total=True)
  File "/home/openerp/openerp7/openerp/addons/account/account_invoice.py", line 705, in button_compute
    self.button_reset_taxes(cr, uid, ids, context)
  File "/home/openerp/openerp7/openerp/addons/account/account_invoice.py", line 698, in button_reset_taxes
    for taxe in ait_obj.compute(cr, uid, id, context=ctx).values():
  File "/home/openerp/openerp7/openerp/addons/l10n_it_partially_deductible_vat/account.py", line 176, in compute
    tax_difference = self.tax_difference(cr, uid, cur, tax_grouped)
  File "/home/openerp/openerp7/openerp/addons/l10n_it_partially_deductible_vat/account.py", line 157, in tax_difference
    raise osv.except_osv(_('Error'),
NameError: global name '_' is not defined
Da quanto ho capito il problema è nel modulo l10n_it_partially_deductible_vat. Non riesco a capire però l'errore che mi da alla fine, cioè quel global name '_' is not defined. Magari ho sbagliato io a settare qualche campo che serve a quel modulo? O non l'ho proprio settato?
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

[RIS]Errore Conferma Preventivo -> Ordine Acquisto 5 Anni 10 Mesi fa #11409

  • massimo.rc
  • Avatar di massimo.rc
  • Offline
  • Gold Boarder
  • Messaggi: 296
  • Ringraziamenti ricevuti 6
  • Karma: 0
Ok sono riuscito a identificare il problema. Il problema era nell'imposta del prodotto che non aveva impostati i conti imposta fattura e note di accredito e i conti imponibile sempre per fatturazione e note di accredito.
:laugh:
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
Tempo creazione pagina: 0.130 secondi

Odoo Italia Associazione - C.F: 94200470485 - Sede: Viale dei Cadorna, 83 - Firenze - Italy

Protected by R Antispam