Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
创建了一个对象含字段类型“selection”,如下[color=blue]名称: x_gender选择字段:[('男','男'),('女','女')][/color]使用CSV导入数据:[color=blue]db_id,x_gender8,男[/color]错误提示:[color=red]Line 1: Key/value '男' not found in selection field 'x_gender'[/color]
建议:[('male','男'),('female','女')]
一样的错误
把 8,男替换为8,male
试过的
因为你的值使用了"男" "女", 并且模块已经安装好了.所以一直是不地的. 你需要的是 按 [('male', '男'), ('female', '女')] 先在 ir_model_fields 表中, 把数据更正过来,然后 再替换你的导入文件. 再进行导入, 就OK了.不行, 就进Q群, 加我群远程看看吧.
你好!看起来您对这段对话很感兴趣,但您还没有一个账号。
厌倦了每次访问都刷到同样的帖子?您注册账号后,您每次返回时都能精准定位到您上次浏览的位置,并可选择接收新回复通知(通过邮件或推送通知)。您还能收藏书签、为帖子顶,向社区成员表达您的欣赏。
有了你的建议,这篇帖子会更精彩哦 💗