如何在Odoo中配置Dropship.我刚刚从Sales DropShip下载了该模块.但我不知道如何配置该模块.是否有任何dropshipping方法.任何帮助,将不胜感激.
我使用python 2.7来读取json文件.我的代码是
import json
from json import JSONDecoder
import os
path=os.path.dirname(os.path.abspath(__file__))+'/json'
print path
for root, dirs, files in os.walk(os.path.dirname(path+'/json')):
for f in files:
if f.lower().endswith((".json")):
fp=open(root + '/'+f)
data = fp.read()
print data.decode('utf-8')
Run Code Online (Sandbox Code Playgroud)
但是我得到了以下错误.
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 72: invalid
continuation byte
Run Code Online (Sandbox Code Playgroud)