odoo 17 file.save() 修改
E:\www\odoo17\odoo\tools\_monkeypatches.py
注释 # FileStorage.save = lambda self, dst, buffer_size=1<<20: copyfileobj(self.stream, dst, buffer_size)
之后可以用 file.save()模式
E:\www\odoo17\odoo\tools\_monkeypatches.py
注释 # FileStorage.save = lambda self, dst, buffer_size=1<<20: copyfileobj(self.stream, dst, buffer_size)
之后可以用 file.save()模式