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

I am running Odoo 10 on Windows and have a module that requires num2words 0.5.3.

I successfully added it using pip and have tested "import num2words" using the IDLE (Python GUI), but when I attempt to install the module I still get an error message saying that an external dependency has not been met. No module named num2words.

Is there an extra step that I have to take to get Odoo to recognize num2words in Windows?


Awatar
Odrzuć
Najlepsza odpowiedź

In your module manifest file check that num2word is listed as external dependency . if not add this entry to it

'external_dependencies': {

        'python' : ['num2words'],

    },

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
paź 23
6513
2
sty 23
5961
7
cze 21
25182
11
wrz 19
39168
0
maj 16
4418