This question has been flagged
1825 Views

Hi guys, 

Hi have this issue about the invoices, when I try to open a registry of the invoices, I have this error

Hope can you help me. 


IOError: [Errno 2] No existe el archivo o el directorio: u'/home/gustavo/.local/share/Odoo/filestore/jonh_pruebas-28-08-2018/5d/5dca322532c8a1e191d34e9634898fe368300b3d'
2018-08-28 21:25:36,104 15234 ERROR jonh_pruebas-28-08-2018 odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/home/odoo11/odoo/odoo/http.py", line 647, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo11/odoo/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/home/odoo11/odoo/odoo/http.py", line 689, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo11/odoo/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo11/odoo/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo11/odoo/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/odoo11/odoo/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/home/odoo11/odoo/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo11/odoo/addons/web/controllers/main.py", line 930, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo11/odoo/addons/web/controllers/main.py", line 922, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/home/odoo11/odoo/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/home/odoo11/odoo/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/home/odoo11/odoo/odoo/models.py", line 2535, in read
    values[name] = field.convert_to_read(record[name], record, use_name_get)
  File "/home/odoo11/odoo/odoo/models.py", line 4688, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/home/odoo11/odoo/odoo/fields.py", line 940, in __get__
    self.determine_value(record)
  File "/home/odoo11/odoo/odoo/fields.py", line 1051, in determine_value
    self.compute_value(recs)
  File "/home/odoo11/odoo/odoo/fields.py", line 1007, in compute_value
    self._compute_value(records)
  File "/home/odoo11/odoo/odoo/fields.py", line 998, in _compute_value
    getattr(records, self.compute)()
  File "/home/odoo11/odoo/addons/l10n_mx_edi/models/account_invoice.py", line 641, in _compute_cfdi_values
    inv.l10n_mx_edi_cfdi_amount = tree.get('Total', tree.get('total'))
AttributeError: 'NoneType' object has no attribute 'get'
Avatar
Discard