over 9 years ago
In profile module we have to create a profile, we only have to create a new directory in server/addons and we should call this folder.
profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py file like in below code
- __init__.py file), and a __terp__.py
- {
- "name":"Name of the Profile,
- "version":"Version String",
- "author":"Author Name",
- "category":"Profile",
- "depends":[List of the modules to install with the profile],
- "demo_xml":[],
- "update_xml":[],
- "active":False,
- "installable":True,
- }
__init__.py file), and a __terp__.py { "name":"Name of the Profile, "version":"Version String", "author":"Author Name", "category":"Profile", "depends":[List of the modules to install with the profile], "demo_xml":[], "update_xml":[], "active":False, "installable":True, }
"name":"Manufacturing industry profile",
"version":"1.0",
"author":"Open",
"category":"Profile",
"depends":["mrp", "crm", "sale", "delivery"],
Note- With the help of this code we will make profile module .
0 Comment(s)