تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4271 أدوات العرض

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 17
4909
3
مايو 16
7582
0
مارس 15
3701
5
أغسطس 23
41566
13
أبريل 23
59028