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

I got this code from stock.py file and line number 163

'complete_name': fields.function(_complete_name, type='char', size=256, string="Location Name",
                    store={'stock.location': (_get_sublocations, ['name', 'location_id'], 10)}),

please give me a explanation about below store attribute in above field.

can we use fields.function( with type='many2one' ? if can please give me a reference sample code or sample model class in openerp 7

形象
丢弃
相关帖文 回复 查看 活动
0
3月 15
5450
0
4月 24
1179
2
12月 23
12679
3
7月 22
23024
2
6月 21
18468