Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5840 Представления

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.

Аватар
Отменить

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

Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
мар. 19
10998
1
мар. 15
6179
2
дек. 20
4727
1
июл. 19
4509
2
апр. 19
6484