Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4444 Lượt xem

Hello,

I need to develop a module where (i think) i have not need to use python, i just need to use XML for create a menu, and put an in frame inside.

And i have some problems with ir.model.access.csv.

Can u help me please.

Regards 

Maxime Limone

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

If you need to create a module, you will use python. At least the __openerp__.py (to load our xml view) and __init__.py (to load any models) files are required in every module. 

Read this documentation to explain why/how:

https://doc.odoo.com/trunk/server/03_module_dev_01/

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

yes i know, but for the file iir.model.access.csv, i can't comlet this file without "module".py no ?

 

Ảnh đại diện
Huỷ bỏ
Tác giả

Nope. In order to load your own access rights you still need the __openerp__.py file. The csv file is also loaded from there.

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 17
5114
3
thg 5 16
7884
0
thg 3 15
3901
5
thg 8 23
41987
13
thg 4 23
59379