コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3589 ビュー

I'm started getting a 500: Internal Server Error when I click next on the page where you enter your address. The url for the controller is /shop/address

And I get only unicode error, but I can fill the form with only unicode characters and it throws the error also.

Does someone knows what is the problem?

 Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
    msg = self.format(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/home/odoo/odoo10/odoo/netsvc.py", line 108, in format
    return DBFormatter.format(self, record)
  File "/home/odoo/odoo10/odoo/netsvc.py", line 102, in format
    return logging.Formatter.format(self, record)
  File "/usr/lib/python2.7/logging/__init__.py", line 467, in format
    s = self._fmt % record.__dict__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 2535: ordinal not in range(128)
アバター
破棄

Please use a meaningful title which refers to the error message and the context next time.

著作者 最善の回答

The problem was because GDPR module. When it wanted do generate a new partner id didn't let it because of a gdpr required field. Had to override the _checkout_form_save in website_sale/controllers/main.py and added the reuqired field to the dict.

アバター
破棄
関連投稿 返信 ビュー 活動
1
6月 18
5671
0
6月 17
5467
2
7月 25
4775
1
5月 25
1041
2
2月 25
9838