Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1639 Zobrazení

Hello,


I have an issue with syncing bank accounts. No matter which sync provider or bank I choose, I get to the screen where my bank accounts are listed and the I'm asked to sync.


When I press sync it loads for a short while, then I'm always presented with the following error. Does anybody have a clue?


RPC_ERROR
Odoo\ Server\ Error
Traceback\ \(most\ recent\ call\ last\):
 \ File\ "/home/odoo/src/odoo/odoo/models\\.py",\\ line\\ 5165,\\ in\\ ensure_one
 \\  \\ _id,\\ =\\ self\\._ids
ValueError:\\ too\\ many\\ values\\ to\\ unpack\\ \\(expected\\ 1\\)

During\\ handling\\ of\\ the\\ above\\ exception,\\ another\\ exception\\ occurred:

Traceback\\ \\(most\\ recent\\ call\\ last\\):
 \\ File\\ "/home/odoo/src/odoo/odoo/http\\.py",\\ line\\ 1591,\\ in\\ _serve_db
 \\  \\ return\\ service_model\\.retrying\\(self\\._serve_ir_http,\\ self\\.env\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/service/model\\.py",\\ line\\ 133,\\ in\\ retrying
 \\  \\ result\\ =\\ func\\(\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/http\\.py",\\ line\\ 1618,\\ in\\ _serve_ir_http
 \\  \\ response\\ =\\ self\\.dispatcher\\.dispatch\\(rule\\.endpoint,\\ args\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/http\\.py",\\ line\\ 1822,\\ in\\ dispatch
 \\  \\ result\\ =\\ self\\.request\\.registry\\['ir\\.http'\\]\\._dispatch\\(endpoint\\)
 \\ File\\ "/home/odoo/src/odoo/addons/website/models/ir_http\\.py",\\ line\\ 237,\\ in\\ _dispatch
 \\  \\ response\\ =\\ super\\(\\)\\._dispatch\\(endpoint\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/addons/base/models/ir_http\\.py",\\ line\\ 154,\\ in\\ _dispatch
 \\  \\ result\\ =\\ endpoint\\(\\*\\*request\\.params\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/http\\.py",\\ line\\ 697,\\ in\\ route_wrapper
 \\  \\ result\\ =\\ endpoint\\(self,\\ \\*args,\\ \\*\\*params_ok\\)
 \\ File\\ "/home/odoo/src/odoo/addons/web/controllers/dataset\\.py",\\ line\\ 46,\\ in\\ call_button
 \\  \\ action\\ =\\ self\\._call_kw\\(model,\\ method,\\ args,\\ kwargs\\)
 \\ File\\ "/home/odoo/src/odoo/addons/web/controllers/dataset\\.py",\\ line\\ 33,\\ in\\ _call_kw
 \\  \\ return\\ call_kw\\(request\\.env\\[model\\],\\ method,\\ args,\\ kwargs\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/api\\.py",\\ line\\ 466,\\ in\\ call_kw
 \\  \\ result\\ =\\ _call_kw_multi\\(method,\\ model,\\ args,\\ kwargs\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/api\\.py",\\ line\\ 453,\\ in\\ _call_kw_multi
 \\  \\ result\\ =\\ method\\(recs,\\ \\*args,\\ \\*\\*kwargs\\)
 \\ File\\ "/home/odoo/src/enterprise/account_online_synchronization/models/account_journal\\.py",\\ line\\ 70,\\ in\\ manual_sync
 \\  \\ return\\ self\\.account_online_link_id\\.with_context\\(dont_show_transactions=True\\)\\._fetch_transactions\\(accounts=account\\)
 \\ File\\ "/home/odoo/src/enterprise/account_online_synchronization/models/account_online\\.py",\\ line\\ 423,\\ in\\ _fetch_transactions
 \\  \\ bank_statement_line_ids\\ \\+=\\ online_account\\._retrieve_transactions\\(\\)
 \\ File\\ "/home/odoo/src/enterprise/account_online_synchronization/models/account_online\\.py",\\ line\\ 120,\\ in\\ _retrieve_transactions
 \\  \\ return\\ self\\.env\\['account\\.bank\\.statement\\.line'\\]\\._online_sync_bank_statement\\(transactions,\\ self\\)
 \\ File\\ "/home/odoo/src/enterprise/account_online_synchronization/models/account_bank_statement\\.py",\\ line\\ 102,\\ in\\ _online_sync_bank_statement
 \\  \\ line_to_reconcile\\ \\+=\\ self\\.with_user\\(SUPERUSER_ID\\)\\.env\\['account\\.bank\\.statement\\.line'\\]\\.with_context\\(skip_statement_line_cron_trigger=True\\)\\.create\\(st_line_vals_list\\)
 \\ File\\ "",\\ line\\ 2,\\ in\\ create
 \\ File\\ "/home/odoo/src/odoo/odoo/api\\.py",\\ line\\ 415,\\ in\\ _model_create_multi
 \\  \\ return\\ create\\(self,\\ arg\\)
 \\ File\\ "/home/odoo/src/odoo/addons/account/models/account_bank_statement_line\\.py",\\ line\\ 373,\\ in\\ create
 \\  \\ st_lines\\.move_id\\.action_post\\(\\)
 \\ File\\ "/home/odoo/src/user/oerp_invoice_hungary/models/account_move\\.py",\\ line\\ 183,\\ in\\ action_post
 \\  \\ if\\ not\\ self\\.oerp_nav_compliant:
 \\ File\\ "/home/odoo/src/odoo/odoo/fields\\.py",\\ line\\ 1153,\\ in\\ __get__
 \\  \\ record\\.ensure_one\\(\\)
 \\ File\\ "/home/odoo/src/odoo/odoo/models\\.py",\\ line\\ 5168,\\ in\\ ensure_one
 \\  \\ raise\\ ValueError\\("Expected\\ singleton:\\ %s"\\ %\\ self\\)
ValueError:\\ Expected\\ singleton:\\ account\\.move\\(982,\\ 983,\\ 984,\\ 985,\\ 986,\\ 987,\\ 988,\\ 989,\\ 990,\\ 991,\\ 992,\\ 993,\\ 994,\\ 995,\\ 996,\\ 997,\\ 998,\\ 999,\\ 1000,\\ 1001,\\ 1002,\\ 1003,\\ 1004,\\ 1005,\\ 1006,\\ 1007,\\ 1008,\\ 1009,\\ 1010,\\ 1011,\\ 1012,\\ 1013,\\ 1014,\\ 1015,\\ 1016,\\ 1017,\\ 1018,\\ 1019,\\ 1020,\\ 1021,\\ 1022,\\ 1023,\\ 1024,\\ 1025,\\ 1026,\\ 1027,\\ 1028,\\ 1029\\)

The\\ above\\ server\\ error\\ caused\\ the\\ following\\ client\\ error:
RPC_ERROR:\\ Odoo\\ Server\\ Error
 \\  \\ at\\ makeErrorFromResponse\\ \\(https://odoo\\.creatiger\\.hu/web/assets/735\\-cb37025/web\\.assets_backend\\.min\\.js:997:163\\)
 \\  \\ at\\ XMLHttpRequest\\.\\ \\(https://odoo.creatiger.hu/web/assets/735-cb37025/web.assets_backend.min.js:1005:13)
Avatar
Zrušit

How to Connect a Bank Account for Synchronization in Odoo – Step-by-Step Guide | Odoo Accounting
In this detailed tutorial, we walk you through the process of connecting a bank account to Odoo for seamless financial synchronization. Learn how to configure your bank account, set up synchronization frequency, and link it to your existing journal in Odoo. This video covers everything from the initial connection with services like Plaid or Yodlee, to filling in the necessary account details, and syncing your transactions for efficient accounting.
https://youtu.be/X0oD1-fnd8U

Autor Nejlepší odpověď

Turns out it was a custom module that caused the issue.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvc 25
546
0
říj 23
1719
1
srp 23
3330
1
čvc 23
3746
1
srp 22
789