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

I would like to know how to install a specific set of modules from a list such as a CSV file. I have been able to export a list of installed/not installed modules by going to:

Installed Modules >> Select All >> More >> Export

however I would like to know how to import this into a fresh database so that I can speed up installation of a specific set of modules when new databases are created. Is there any way to do this in OpenERP 7?

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

Create a module that 'depends' on the modules you want to install.

You just need a folder containing an empty init.py file and an openerp.py file with the following metadata defined as a Python dictionary:

{
    'name', "Setup",
    'description': "Install multiple modules quickly",
    'category': 'Custom',
    'depends': ['base','sale','purchase','stock','account_accountant','crm','mrp'],
}
الصورة الرمزية
إهمال
أفضل إجابة

Depending on your needs, you can consider this way:

create database with installed modules you need and use this database as template, i.e. dublicate it each time you need create new database. It's usefull if you want save couple minutes when creating new database. The problem is that use have to update such database each time when you update version of your odoo server.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
نوفمبر 24
1756
1
نوفمبر 24
2329
0
سبتمبر 24
1328
1
أكتوبر 23
2968
3
ديسمبر 23
20856