Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
44731 Prikazi

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
mar. 15
5468
0
apr. 24
1188
2
dec. 23
12700
3
jul. 22
23058
2
jun. 21
18497