py.warnings: :8: DeprecationWarning: invalid escape sequence '\ '
File "/usr/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "", line 0
SyntaxError: invalid syntax
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
py.warnings: :8: DeprecationWarning: invalid escape sequence '\ '
File "/usr/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "", line 0
SyntaxError: invalid syntax
This issue is likely caused by backslashes in a couple modules' __manifest__.py files of the enterprise version of Odoo. The likely culprits:
account_bank_statement_import_csv
account_bank_statement_import_ofx
account_bank_statement_import_qif
This can be fixed by simply removing the backslashes found in the files.
Hi,
Check in your code whether '\' is used or not.
If you want to include a literal backslash in a string, Replace the single backslash with a double backslash `\\` or use a raw string by prefixing the string with `r`
Thanks
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
how can I know the current view id?
Đã xử lý
|
|
1
thg 9 24
|
1603 | |
|
0
thg 9 24
|
746 | ||
|
0
thg 5 24
|
1619 | ||
Automatic Batch Transfer
Đã xử lý
|
|
1
thg 8 25
|
342 | |
|
1
thg 5 25
|
1226 |