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

I've defined some access rules using OpenERP 7.0's web interface, and want to include them in the XMLs of a custom module I'm developing.

I've tried making it from scratch in the XML, but I seem to not get how to specify the groups the rule should affect.

How can I export an existing rule to it's XML counterpart?

الصورة الرمزية
إهمال
أفضل إجابة

Security rules are added to OpenERP modules via a combination of XML and CSV.

Take a look at the security folder in any module to understand that format of these files.

Also, review the question already asked at https://accounts.openerp.com/forum/Help-1/question/12667

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يناير 25
11586
0
مايو 17
393
0
أبريل 16
3818
1
مارس 15
3668
0
مارس 15
4809