View unanswered posts | View active topics
|
Page 1 of 1
|
[ 7 posts ] |
|
| Author |
Message |
|
MORC
|
Post subject: UnicodeEncodeError: 'ascii' codec can't encode character u'\ Posted: Mon Sep 28, 2009 6:29 pm |
|
Joined: Wed Sep 23, 2009 4:33 pm Posts: 41
|
|
Dear all,
i have create the server action to send email when invoice is confirmed, after i synchronise this server action with workflow associed ,
now when i confirm the invoice i have this error "UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 101: ordinal not in range(128)"
can you help me to solve this error
|
|
| Top |
|
 |
|
Pavel910
|
Post subject: Posted: Mon Sep 28, 2009 6:52 pm |
|
Joined: Mon Jul 27, 2009 12:45 pm Posts: 148
|
|
This usually means you're using a special character that is not in coding table. Most likely it's a language-specific character which has no value in an ASCII table. Using regular English alphabet usually solves the issue.
I had this issue pretty often when I was using language-specific characters of Croatian language. Python doesn't like them.
Cheers
|
|
| Top |
|
 |
|
Lowel
|
Post subject: Posted: Mon Sep 28, 2009 6:57 pm |
|
Joined: Thu Sep 17, 2009 4:51 pm Posts: 42
|
|
The character 0xe9 is "é" in ISO-8859-1 but your file seems to be encoded in UTF-8
_________________ Stanislas Mennesson,
Student at Epita
Intern @ Espace Loggia
|
|
| Top |
|
 |
|
MORC
|
Post subject: Posted: Tue Sep 29, 2009 3:29 pm |
|
Joined: Wed Sep 23, 2009 4:33 pm Posts: 41
|
|
thank you for your help,
i will just ask you about the srver action , I create the server action (send email to the partner) and i have synchorise this server action with the workflow associed it's work fine (no error in the run ) but i haven't the result (there isn't any email sended for partner)
thank you in advance,
|
|
| Top |
|
 |
|
got4close
|
Post subject: Posted: Tue Sep 29, 2009 3:36 pm |
|
Joined: Tue Aug 04, 2009 5:52 pm Posts: 172
|
|
To send email, you should use poserEmail module which is very easy to use.
_________________ Cordialement, Regards,
Gauthier BEAURIN
|
|
| Top |
|
 |
|
MORC
|
Post subject: Posted: Sun Oct 04, 2009 12:22 pm |
|
Joined: Wed Sep 23, 2009 4:33 pm Posts: 41
|
|
Dear all,
i like install poweremail but i have the error with mako.template , actually i use openerp 5.0.3 from windows.
can you help me to resolve this problem
|
|
| Top |
|
 |
|
MORC
|
Post subject: attachment in the " server action" Posted: Thu Oct 08, 2009 1:37 pm |
|
Joined: Wed Sep 23, 2009 4:33 pm Posts: 41
|
|
Dear Mantavya Gajjar,
i send you this mail to help me to resolve my problem,
i like send my email with server action.
they are the steps:
1-install the smtp client (it's ok working).
2- i create server action for object:invoice with the selection of many fields (it's ok working)
3- i synchronise this sever action with th workflow account.invoive.basic.
my problem how to find the field of the file attachment to insert it in the server action????
i find the all of the files attachment in administration---low level objects---attachments but i can insert the field in the server action
thank you for your help
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 7 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|