跳至内容
菜单
此问题已终结
1 回复
2411 查看

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

相关帖文 回复 查看 活动
1
8月 24
3265
1
6月 16
4197
0
5月 24
1004
0
9月 23
2352
3
8月 22
19038