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

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

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

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/

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

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

 

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

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

Related Posts Ответы Просмотры Активность
0
апр. 17
4949
3
мая 16
7623
0
мар. 15
3737
5
авг. 23
41649
13
апр. 23
59094