Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4401 Näkymät

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

Avatar
Hylkää
Paras vastaus

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/

Avatar
Hylkää
Tekijä Paras vastaus

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

 

Avatar
Hylkää
Tekijä

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 17
5073
3
toukok. 16
7793
0
maalisk. 15
3844
5
elok. 23
41873
13
huhtik. 23
59249