Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1071 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
серп. 25
325
1
лют. 25
1534
1
січ. 25
1625
1
лист. 24
2049
0
жовт. 24
1685