Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2025 Tampilan

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):
  File "/odoo/enterprise/account_reports/controllers/main.py", line 29, in get_report
    generated_file_data = report.dispatch_report_action(options, file_generator)
  File "/odoo/enterprise/account_reports/models/account_report.py", line 1687, in dispatch_report_action
    return getattr(self, action)(*args)
  File "/odoo/enterprise/account_reports/models/account_report.py", line 3977, in export_to_xlsx
    lines = self._filter_out_folded_children(print_mode_self._get_lines(print_options))
  File "/odoo/enterprise/account_reports/models/account_report.py", line 1805, in _get_lines
    lines = self._fully_unfold_lines_if_needed(lines, options)
  File "/odoo/enterprise/account_reports/models/account_report.py", line 1873, in _fully_unfold_lines_if_needed
    to_insert = self._expand_unfoldable_line(line_dict['expand_function'], line_dict['id'], groupby, options, progress, 0,
  File "/odoo/enterprise/account_reports/models/account_report.py", line 3687, in _expand_unfoldable_line
    expansion_result = expand_function(line_dict_id, groupby, options, progress, offset, unfold_all_batch_data=unfold_all_batch_data)
  File "/odoo/enterprise/account_reports/models/account_partner_ledger.py", line 299, in _report_expand_unfoldable_line_partner_ledger
    init_balance_by_col_group = unfold_all_batch_data['initial_balances'][record_id]
KeyError: None


Avatar
Buang
Jawaban Terbai

Hi,

Upon checking for the same, it seems working fine without any issue in Odoo Runbot, branch 16.0. Could you see if you can reproduce the same issue in runbot ?


Also make sure that you are using the latest source code of odoo 16 CE and EE. In case if you are able to reproduce the issue in runbot, you can report it here: https://github.com/odoo/odoo/issues or in https://www.odoo.com/help with detailed steps to reproduce it.


* How To Update Odoo Instance With Latest Code


Thanks

Avatar
Buang
Penulis

Thanks for the reply, yes on Odoo Runbot its working correctly. I have installed Odoo v.16 on AWS server can you help me the steps to follow to update Odoo latest source code from git.

Post Terkait Replies Tampilan Aktivitas
2
Mei 24
2345
0
Mei 24
2090
0
Feb 23
2117
0
Feb 22
2239
8
Feb 21
25940