跳至内容
菜单
此问题已终结
2 回复
1067 查看

I want to install the Expense module and I am getting an error.

Traceback (most recent call last):
  File "/home/odoo/odoo/odoo/models.py", line 5849, in ensure_one
    _id, = self._ids
    ^^^^
ValueError: too many values to unpack (expected 1)
...
Raise ParseError('while parsing %s:%s, somewhere inside\n%s' % ( odoo.tools.convert.ParseError: while parsing /home/odoo/odoo/addons/hr_expense/data/hr_expense_data.xml:80, somewhere inside

How can I correct this?




形象
丢弃
编写者

I'm pull latest commits (13.07.2024) and still get same error.

编写者 最佳答案

I have already updated.

形象
丢弃
编写者

I'm pull latest commits (13.07.2024) and still get same error.

最佳答案

Hi,
Pull the latest source code of odoo 17 and try installing the expense module, i believe you wont get the same error with latest code.

Thanks

形象
丢弃
相关帖文 回复 查看 活动
0
8月 25
325
1
2月 25
1532
1
1月 25
1625
1
11月 24
2047
0
10月 24
1685