Skip to Content
Menu
This question has been flagged
2 Replies
7250 Rodiniai

I need to upgrade a module from 9 to 10, and use the openerp / osv / fields.py module to use the field (funtion).

I have checked in the odoo 10 and I see that the fields.py is not being, how can I do it?

Portretas
Atmesti
Best Answer

This is an obligatory read when converting from the old-api style to the new-api style introduced in v8 and the only option in v10

https://www.odoo.com/documentation/10.0/reference/orm.html

Portretas
Atmesti
Best Answer

Hi. Not sure what you mean, but guess the following would be enough:

from odoo import fields
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
7
rugs. 21
28409
4
kov. 19
9780
1
rugp. 18
3674
1
saus. 18
6696
1
liep. 25
429