Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
7172 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

from odoo import fields
Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
7
sept. 21
28288
4
mar. 19
9714
1
aug. 18
3593
1
ian. 18
6647
1
iul. 25
363