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

I have a functional field like,

'invoice_id': fields.function( _get_invoice_id, method=True, string='Linked Invoice', type='many2one', relation='account.invoice', readonly=False, store=True),

Now i wanted to write a value in it uisng the write method.

Portretas
Atmesti

can you explain the problem in detail, that is herr what value you wish to write in your functional field?

Best Answer

When you set "store=True", OpenERP will already write the calculated value to the database.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
kov. 19
10998
1
kov. 15
6175
2
gruod. 20
4726
1
liep. 19
4500
2
bal. 19
6482