from表单添加明细行时,选择记录时如何设置不可在此创建新记录
-
@samchou 试了不行,这个是from里面的表体添加。想要的效果是在输入不存在的用户、商品、作业类型等信息的时候,不显示“创建”或“创建并编辑”,目的是想要让添加的时候在对应的功能里添加,不在单据里面有这个快捷添加功能

-
@samchou 试了不行,这个是from里面的表体添加。想要的效果是在输入不存在的用户、商品、作业类型等信息的时候,不显示“创建”或“创建并编辑”,目的是想要让添加的时候在对应的功能里添加,不在单据里面有这个快捷添加功能

@wuzhou 在 from表单添加明细行时,选择记录时如何设置不可在此创建新记录 中说:
@samchou 试了不行,这个是from里面的表体添加。想要的效果是在输入不存在的用户、商品、作业类型等信息的时候,不显示“创建”或“创建并编辑”,目的是想要让添加的时候在对应的功能里添加,不在单据里面有这个快捷添加功能

可以用
no_quick_createno_create_editoptions<field name="preferred_role_id" options="{'no_create_edit': True, 'no_quick_create': True}" ...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login