コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2174 ビュー

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
2154
1
6月 16
3751
0
5月 24
667
0
9月 23
1988
3
8月 22
18531