I am adding a payment method in a clean database. Billing, Accounting, CRM, Ecommerce and Account_Payment_Mode modules installed
By saving the payment method with the following data:
Name: Electronic
Code: electronic
Type: inbound
I have this error:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 1583, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 134, in retrying result = func() File "/usr/lib/python3/dist-packages/odoo/http.py", line 1610, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) File "/usr/lib/python3/dist-packages/odoo/http.py", line 1807, in dispatch result = self.request.registry['ir.http']._dispatch(endpoint) File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 235, in _dispatch response = super()._dispatch(endpoint) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch result = endpoint(**request.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 696, in route_wrapper result = endpoint(self, *args, **params_ok) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 42, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/dataset.py", line 33, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 459, in call_kw result = _call_kw_model_create(method, model, args, kwargs) File "/usr/lib/python3/dist-packages/odoo/api.py", line 439, in _call_kw_model_create result = method(recs, *args, **kwargs) File "", line 2, in create File "/usr/lib/python3/dist-packages/odoo/api.py", line 409, in _model_create_multi return create(self, [arg]) File "/usr/lib/python3/dist-packages/odoo/addons/account/models/account_payment_method.py", line 28, in create if information.get('mode') == 'multi': AttributeError: 'NoneType' object has no attribute 'get' The above server error caused the following client error: null
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
2230
瀏覽次數
Hi,
This is a bug inside the odoo core and it has been already reported to Odoo and expected to be fixed soon.
Thanks
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
5月 24
|
1771 | ||
|
1
1月 24
|
896 | ||
|
1
2月 23
|
1806 | ||
|
0
2月 23
|
1690 | ||
|
1
1月 23
|
3055 |
Oh! Thank you very much for the answer! You have saved me many hours of research! Regards!