Skip to Content
Menu
This question has been flagged
1 Atsakyti
44771 Rodiniai

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
5489
0
bal. 24
1196
2
gruod. 23
12722
3
liep. 22
23093
2
birž. 21
18538