Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1064 Widoki

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?




Awatar
Odrzuć
Autor

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

Autor Najlepsza odpowiedź

I have already updated.

Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sie 25
325
1
lut 25
1532
1
sty 25
1625
1
lis 24
2047
0
paź 24
1685