Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
44800 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
5510
0
apr 24
1210
2
dic 23
12753
3
lug 22
23137
2
giu 21
18575