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
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
How To Calculate Age From Birthday
Resolvido
|
7
set. 21
|
29536 | ||
|
4
mar. 19
|
10423 | |||
|
1
ago. 18
|
4199 | |||
|
Call a function through Url
Resolvido
|
1
jan. 18
|
7859 | ||
|
1
out. 25
|
682 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.