Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2562 Представления

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!

Аватар
Отменить
Лучший ответ

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!

Аватар
Отменить
Автор

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

Related Posts Ответы Просмотры Активность
1
авг. 24
4888
1
июн. 16
4590
0
мая 24
1325
0
сент. 23
2696
3
авг. 22
19628