跳至内容
菜单
此问题已终结
1 回复
4850 查看

Hi, I having a one2many field in that field i add 4 items using Add an Item then Save&New, before saving the record in Parent table, i want some field values. how to get this.

形象
丢弃
最佳答案

You can override create function. The record created will be in the 'vals' param of create, then you can modify it and then call super.
Hope it helps you.

形象
丢弃
相关帖文 回复 查看 活动
1
1月 25
1864
2
9月 22
9610
2
4月 22
4659
0
7月 21
7297
1
3月 21
5036