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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
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
Hi. Not sure what you mean, but guess the following would be enough:
from odoo import fields
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
7
de set. 21
|
28285 | ||
|
4
de març 19
|
9705 | ||
|
1
d’ag. 18
|
3589 | ||
Call a function through Url
Solved
|
|
1
de gen. 18
|
6642 | |
|
1
de jul. 25
|
360 |