Skip to Content
Menu
This question has been flagged

I have Odoo Community V15 in my local host.
I cannot create a Journal Entry. When I am about to select an Account, the below error pops up.


Traceback (most recent call last):
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\http.py", line 687, in dispatch
    result = self._call_function(**self.params)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\service\model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\http.py", line 348, in checked_call
    result = self.endpoint(*a, **kw)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\http.py", line 916, in __call__
    return self.method(*args, **kw)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\http.py", line 535, in response_wrap
    response = f(*args, **kw)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\addons\web\controllers\main.py", line 1347, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\addons\web\controllers\main.py", line 1339, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\api.py", line 462, in call_kw
    result = _call_kw_model_create(method, model, args, kwargs)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\api.py", line 442, in _call_kw_model_create
    result = method(recs, *args, **kwargs)
  File "", line 2, in create
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\api.py", line 412, in _model_create_multi
    return create(self, [arg])
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\addons\account\models\account_move.py", line 2296, in create
    return super(AccountMove, self).create(vals_list)
  File "", line 2, in create
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\api.py", line 413, in _model_create_multi
    return create(self, arg)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\addons\mail\models\mail_thread.py", line 265, in create
    threads = super(MailThread, self).create(vals_list)
  File "", line 2, in create
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\api.py", line 413, in _model_create_multi
    return create(self, arg)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\addons\base\models\ir_fields.py", line 613, in create
    recs = super().create(vals_list)
  File "", line 2, in create
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\api.py", line 413, in _model_create_multi
    return create(self, arg)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\models.py", line 4027, in create
    raise ValueError("Invalid field %r on model %r" % (key, self._name))
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "C:\Program Files\Odoo 15.0.20220819\server\odoo\http.py", line 301, in _handle_exception
    raise exception.with_traceback(None) from new_cause
ValueError: Invalid field 'due_amount' on model 'account.move'


I am looking for non-technical solution.

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 16
4334
0
Dec 24
34
0
Jul 24
266
3
May 24
1416
0
Nov 22
879