OCA / l10n-canada

Odoo modules for Canada
https://community.odoo.com/project/42
GNU Affero General Public License v3.0
8 stars 31 forks source link

l10n_ca_account_check_writing installation on windows server #78

Closed ccobbel closed 8 years ago

ccobbel commented 8 years ago

Hi,

Does "l10n_ca_account_check_writing" module is compatible with a windows server? We installed "num2words" but "l10n_ca_account_check_writing" can be installed because it can not find "num2words". It works fine on linux. Is there a special step to make it work on windows server? Thanks a lot for your answer. Corinne

ghost commented 8 years ago

@ccobbel my suggestion would be to run Odoo on a linux vm (debian/ubuntu). Everyone works on linux with Odoo. Community modules tested on Windows are rare.

ccobbel commented 8 years ago

I agree, unfortunately my customer choose a windows server so I don't have any choice. I was just wondering if you knew how to make it work on windows?

ghost commented 8 years ago

@ccobbel yes you have a choice, you still can install a linux vm to run Odoo

max3903 commented 8 years ago

@ccobbel Did you install Odoo Python requirements (libxml, etc) the same way as num2words ?

ccobbel commented 8 years ago

Hi Max,

We installed num2words, in addition of the full package python 2.7, is there other dependency than num2words to install?

max3903 commented 8 years ago

@ccobbel There is no other dependency. The issue seems to be related to where you installed num2words as Odoo cannot find it.

ccobbel commented 8 years ago

I was told it was moved under the python 2.7 directory and installed with the setup.py

max3903 commented 8 years ago

@ccobbel Apparently, it is not sufficient for Odoo to find and use it. If you execute python in the command window and type import num2words, do you get an error message ?

ghost commented 8 years ago

@ccobbel do you use python virtual_env ?

ccobbel commented 8 years ago

Max,

There is a NotimplementedError in /init.py line 45, it looks like a language issue (if lang not in CONVERTER_CLASSES:raise NotImplementedError(). I don't now the server language, Odoo is configurated with fr_CA and en_US,I have swiched language in Odoo before updating the list of module but it doesn't change anything. Is that a known error?

max3903 commented 8 years ago

@ccobbel fr_CA is not implemented. fr is: https://github.com/savoirfairelinux/num2words/tree/master/num2words

ccobbel commented 8 years ago

ok we will try to implement it. Thank you very much to both of you

max3903 commented 8 years ago

@ccobbel Can we close this issue?

ccobbel commented 8 years ago

Yes you can close this issue though we have not able to make it work yet.

Le 2016-01-20 à 11:03, max3903 notifications@github.com a écrit :

@ccobbel Can we close this issue?

— Reply to this email directly or view it on GitHub.