Hello everybody,
I'm trying to manually create a new Payment Method using Odoo v15, but no matter what I try I'm always getting the following RPC_ERROR - Odoo Server Error when creating the Payment Metod:
Traceback (most recent call last):
File "/home/jordi/work15/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatchresult = request.dispatch()
File "/home/jordi/work15/odoo/odoo/http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "/home/jordi/work15/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/jordi/work15/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/home/jordi/work15/odoo/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "/home/jordi/work15/odoo/odoo/http.py", line 916, in __call__
return self.method(*args, **kw)
File "/home/jordi/work15/odoo/odoo/http.py", line 535, in response_wrap
response = f(*args, **kw)
File "/home/jordi/work15/odoo/addons/web/controllers/main.py", line 1342, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/jordi/work15/odoo/addons/web/controllers/main.py", line 1334, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/jordi/work15/odoo/odoo/api.py", line 462, in call_kw
result = _call_kw_model_create(method, model, args, kwargs)
File "/home/jordi/work15/odoo/odoo/api.py", line 442, in _call_kw_model_create
result = method(recs, *args, **kwargs)
File "", line 2, in create
File "/home/jordi/work15/odoo/odoo/api.py", line 412, in _model_create_multi
return create(self, [arg])
File "/home/jordi/work15/odoo/addons/account/models/account_payment_method.py", line 28, in create
if information.get('mode') == 'multi':
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jordi/work15/odoo/odoo/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/jordi/work15/odoo/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
AttributeError: 'NoneType' object has no attribute 'get'
Does anybody here know why am I getting this error and how to manually create a new Payment Method so that I can select it in my invoices?
Thank you!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1179
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
May 24
|
692 | ||
|
1
Jan 24
|
314 | ||
|
1
May 23
|
1465 | ||
|
1
Feb 23
|
1198 | ||
|
1
Jan 23
|
2173 |