Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2271 Vistas

Hi all!


With the developer mode we can extend views or create new fields but, what is the location of the files that are generated by doing so?

I mean, I can guess that a XML file is generated with the code I wrote when I extend a view, or that a new PY file is generated when i create a new field (by, i assume, extending the original model).


Thank you all!

Avatar
Descartar
Mejor respuesta

Hi,

The view related changes will be getting saved inside the database table ir.ui.view

Activate the developer mode in the database and navigate to Settings -> Technical -> User Interface -> Views, here you will see all the views in the database.



Thanks


Edited by another user, Bug!

Avatar
Descartar
Autor

Thank you for your answer!

So, no XML file is generated, the changes are saved in the DB instead, right?

And what about the PY files with the new fields created through the developer mode? Is there any generated PY file at all?

Thanks!

new fields will get saved in the fields tabel, ie, ir.model.fields

Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 24
2522
1
jun 16
3977
0
may 24
824
0
sept 23
2140
3
ago 22
18742