Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5845 Переглядів

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
11003
1
бер. 15
6181
2
груд. 20
4727
write method in odoo 12 Вирішено
1
лип. 19
4513
2
квіт. 19
6493