콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
5987 화면

Hi,

I read, that it is possible, to use odoo with a couple of databases.

Is there a script or something, which installs in all databases per default the accounting and sales module?


아바타
취소
베스트 답변

 

Very good suggestion @Ray:

@Fabian you can do it following way:

In the __openerp__.py file, need to add 'auto_install': True as shown in the below example(it is from web_calendar module).

{
'name': 'Web Calendar',
'category': 'Hidden',
'description':"""
OpenERP Web Calendar view.
==========================
""",
'author': 'OpenERP SA, Valentino Lab (Kalysto)',
'version': '2.0',
'depends': ['web'],
'data' : [
'views/web_calendar.xml',
],
'qweb': [
'static/src/xml/*.xml',
],
'auto_install': True
}
아바타
취소
베스트 답변

Create a module that depends on the modules you want installed, you can even set your module to autoinstall so every new database you create will automatically have all the dependent modules installed.

아바타
취소
작성자

Oh that sounds great can you tell me how to set my module to autoinstall?

Feasible solution is auto_install in __openerp__.py file. @fabian you can see @Hardikgiri's Answer.

관련 게시물 답글 화면 활동
1
3월 16
22254
3
5월 24
15126
0
3월 17
3202
1
6월 16
3437
2
6월 16
3649