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
Ricordati di dichiarare la versione di Odoo a cui riferisce la domanda

ARGOMENTO: BUG Preventivi "Conferma Ordine"

BUG Preventivi "Conferma Ordine" 5 Anni 11 Mesi fa #10897

  • iciampi
  • Avatar di iciampi
  • Offline
  • Fresh Boarder
  • Messaggi: 1
  • Karma: 0
Buongiorno a tutti,

ho un problema con un preventivo. Ho inserito:
1 cliente
1 Indirizzo di Fatturazione
1 Indirizzo di Consegna
1 Pagamento Paypal
1 Prodotto in "Righe ordine"

e quando vado ad effettuare il "Conferma Ordine", ci mette tanto a caricare e mi da questo errore:





OpenERP Server Error

Client Traceback (most recent call last):
File "/home/openerp7/lp/openerp/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/home/openerp7/lp/openerp/openerp/addons/web/controllers/main.py", line 1083, in call_button
action = self._call_kw(req, model, method, args, {})
File "/home/openerp7/lp/openerp/openerp/addons/web/controllers/main.py", line 1071, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/openerp7/lp/openerp/openerp/addons/web/session.py", line 43, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/openerp7/lp/openerp/openerp/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/openerp7/lp/openerp/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/openerp7/lp/openerp/openerp/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/openerp7/lp/openerp/openerp/netsvc.py", line 293, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/openerp7/lp/openerp/openerp/service/web_services.py", line 618, in dispatch
res = fn(db, uid, *params)
File "/home/openerp7/lp/openerp/openerp/osv/osv.py", line 188, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/openerp7/lp/openerp/openerp/osv/osv.py", line 131, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/openerp7/lp/openerp/openerp/osv/osv.py", line 197, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/openerp7/lp/openerp/openerp/osv/osv.py", line 185, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/openerp7/lp/openerp/openerp/addons/portal_sale/portal_sale.py", line 76, in action_button_confirm
return super(sale_order, self).action_button_confirm(cr, uid, ids, context=context)
File "/home/openerp7/lp/openerp/openerp/addons/sale/sale.py", line 579, in action_button_confirm
wf_service.trg_validate(uid, 'sale.order', ids[0], 'order_confirm', cr)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_service.py", line 119, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/openerp7/lp/openerp/openerp/workflow/instance.py", line 43, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 60, in process
ok = _split_test(cr, workitem, activity, ident, signal, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 40, in create
process(cr, res, ident, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 60, in process
ok = _split_test(cr, workitem, activity, ident, signal, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 40, in create
process(cr, res, ident, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 60, in process
ok = _split_test(cr, workitem, activity, ident, signal, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 40, in create
process(cr, res, ident, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 52, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 106, in _execute
returned_action = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_expr.py", line 67, in execute
return _eval_expr(cr, ident, workitem, activity)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_expr.py", line 57, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/openerp7/lp/openerp/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/openerp7/lp/openerp/openerp/osv/orm.py", line 374, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/openerp7/lp/openerp/openerp/addons/sale_stock/sale_stock.py", line 420, in action_ship_create
self._create_pickings_and_procurements(cr, uid, order, order.order_line, None, context=context)
File "/home/openerp7/lp/openerp/openerp/addons/sale_stock/sale_stock.py", line 401, in _create_pickings_and_procurements
wf_service.trg_validate(uid, 'stock.picking', picking_id, 'button_confirm', cr)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_service.py", line 119, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/openerp7/lp/openerp/openerp/workflow/instance.py", line 43, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 60, in process
ok = _split_test(cr, workitem, activity, ident, signal, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 40, in create
process(cr, res, ident, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 52, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 106, in _execute
returned_action = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_expr.py", line 67, in execute
return _eval_expr(cr, ident, workitem, activity)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_expr.py", line 57, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/openerp7/lp/openerp/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/openerp7/lp/openerp/openerp/osv/orm.py", line 374, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 751, in action_confirm
self.pool.get('stock.move').action_confirm(cr, uid, todo, context=context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2078, in create_chained_picking
new_moves += self.create_chained_picking(cr, uid, new_moves, context)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 2076, in create_chained_picking
wf_service.trg_validate(uid, 'stock.picking', pickid, 'button_confirm', cr)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_service.py", line 119, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/home/openerp7/lp/openerp/openerp/workflow/instance.py", line 43, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 60, in process
ok = _split_test(cr, workitem, activity, ident, signal, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 40, in create
process(cr, res, ident, stack=stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 52, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/home/openerp7/lp/openerp/openerp/workflow/workitem.py", line 106, in _execute
returned_action = wkf_expr.execute(cr, ident, workitem, activity)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_expr.py", line 67, in execute
return _eval_expr(cr, ident, workitem, activity)
File "/home/openerp7/lp/openerp/openerp/workflow/wkf_expr.py", line 57, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/home/openerp7/lp/openerp/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/openerp7/lp/openerp/openerp/osv/orm.py", line 374, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/openerp7/lp/openerp/openerp/addons/stock/stock.py", line 743, in action_confirm
self.write(cr, uid, ids, {'state': 'confirmed'})
File "/home/openerp7/lp/openerp/openerp/addons/mail/mail_thread.py", line 268, in write
self.message_track(cr, uid, ids, tracked_fields, initial_values, context=context)
File "/home/openerp7/lp/openerp/openerp/addons/mail/mail_thread.py", line 379, in message_track
self.message_post(cr, uid, record, body=message, context=context)
File "/home/openerp7/lp/openerp/openerp/addons/mail/mail_thread.py", line 944, in message_post
return mail_message.create(cr, uid, values, context=context)
File "/home/openerp7/lp/openerp/openerp/addons/mail/mail_message.py", line 738, in create
newid = super(mail_message, self).create(cr, uid, values, context)
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 4317, in create
vals = self._add_missing_default_values(cr, user, vals, context)
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 2487, in _add_missing_default_values
defaults = self.default_get(cr, uid, missing_defaults, context)
File "/home/openerp7/lp/openerp/openerp/addons/mail/mail_message.py", line 66, in default_get
return super(mail_message, self).default_get(cr, uid, fields, context=context)
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 1581, in default_get
defaults[f] = self._defaults[f](self, cr, uid, context)
File "/home/openerp7/lp/openerp/openerp/addons/mail/mail_message.py", line 188, in <lambda>
'author_id': lambda self, cr, uid, ctx={}: self._get_default_author(cr, uid, ctx),
File "/home/openerp7/lp/openerp/openerp/addons/mail/mail_message.py", line 183, in _get_default_author
return self.pool.get('res.users').read(cr, uid, uid, , context=context)[0]
File "/home/openerp7/lp/openerp/openerp/addons/base/res/res_users.py", line 799, in read
res = super(users_view, self).read(cr, uid, ids, fields, context=context, load=load)
File "/home/openerp7/lp/openerp/openerp/addons/base/res/res_users.py", line 272, in read
result = super(res_users, self).read(cr, uid, ids, fields=fields, context=context, load=load)
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 3604, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 3724, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/openerp7/lp/openerp/openerp/osv/fields.py", line 466, in get
context=context))
File "/home/openerp7/lp/openerp/openerp/addons/base/res/res_partner.py", line 404, in name_get
name = record.name
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 484, in __getattr__
return self[name]
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 399, in __getitem__
field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 3604, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/openerp7/lp/openerp/openerp/osv/orm.py", line 3626, in _read_flat
rule_clause, rule_params, tables = self.pool.get('ir.rule').domain_get(cr, user, self._name, 'read', context=context)
File "/home/openerp7/lp/openerp/openerp/addons/base/ir/ir_rule.py", line 150, in domain_get
dom = self._compute_domain(cr, uid, model_name, mode)
File "/home/openerp7/lp/openerp/openerp/tools/cache.py", line 18, in lookup
r = self.lookup(self2, cr, *args)
File "/home/openerp7/lp/openerp/openerp/tools/cache.py", line 41, in lookup
r = d[key]
File "/home/openerp7/lp/openerp/openerp/tools/func.py", line 35, in wrapper
return func(self, *args, **kwargs)
File "/home/openerp7/lp/openerp/openerp/tools/lru.py", line 38, in __getitem__
self[a[0]] = a[1]
File "/home/openerp7/lp/openerp/openerp/tools/func.py", line 35, in wrapper
return func(self, *args, **kwargs)
File "/home/openerp7/lp/openerp/openerp/tools/lru.py", line 44, in __setitem__
del self[obj]
File "/home/openerp7/lp/openerp/openerp/tools/func.py", line 37, in wrapper
lock.release()
File "/usr/lib/python2.7/threading.py", line 151, in release
self._note("%s.release(): non-final release", self)
RuntimeError: maximum recursion depth exceeded
Ultima modifica: 5 Anni 11 Mesi fa da iciampi.
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.

Re:BUG Preventivi 5 Anni 11 Mesi fa #10900

  • enlightx
  • Avatar di enlightx
  • Online
  • Platinum Boarder
  • Messaggi: 6064
  • Ringraziamenti ricevuti 638
  • Karma: 85
hai modificato le impostazioni delle stock locations?

a prima vista sembra ci sia una ricorsività nelle chained locations
Davide Corio
Odoo Solution Architect
email: Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
web: www.davidecorio.com
L\'Amministratore ha disattivato l\'accesso in scrittura al pubblico.
Tempo creazione pagina: 0.174 secondi

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

Protected by R Antispam