Skip to content

601939654/odoo_binanry_name_fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

odoo_binanry_name_fix

odoo binary字段,文件名错误问题处理

一般都需要定义一个文件名字段,如下:

multimedia = fields.Binary(string='多媒体', required=True)

multimedia_name = fields.Char(string="多媒体名称")

另外再xml中要定义出这个字段,将文件名字段隐藏即可,如下:

About

odoo binary字段,文件名错误问题处理

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published