Author: |
M. A. Ruberto & Xiang Li |
License: |
no license |
Branch: |
master |
Repository: |
LeeVing/vmi |
Dependencies: |
account,
account_accountant,
auth_ldap,
base,
decimal_precision,
mail,
product,
purchase,
stock,
and
web |
Languages: |
ActionScript (382, 0.3%),
CSS (4121, 3.4%),
HTML (39461, 33.0%),
JavaScript (67669, 56.6%),
Markdown (49, 0.0%),
PHP (3958, 3.3%),
Python (2746, 2.3%),
and
XML (1116, 0.9%) |
Other branches: |
xiang |
Other repositories: |
lx881219/vmi,
and
septadev/vmi |
<h1>VMI</h1>
<p>Vendor Managed Inventory - an OpenERP(Odoo) 7.0 Add-on</p>
<p>This module</p>
<h2>Installation</h2>
<p>VMI runs on the OpenERP 7.0 platform.</p>
<h3>Install OpenERP</h3>
<ol>
<li>Create a new Virtual Environment</li>
<li>Using that virtualenv</li>
<li>Install dependence:
<ul>
<li>pip install -r requirements.txt</li>
<li>pip install http://download.gna.org/pychart/PyChart-1.39.tar.gz (need to install seperately)</li>
<li>pip install http://www.owlfish.com/software/simpleTAL/downloads/SimpleTAL-4.3.tar.gz</li>
</ul></li>
<li>Install OpenERP</li>
</ol>
<hr>
<h3>Install VMI. (Please make sure to copy vmi folder to openerp/addon/)</h3>
<ol>
<li>Create a new database and login.</li>
<li>Enable Technical Features for administrator.</li>
<li>Log out then log back in. you can see more options </li>
<li>Update Module List</li>
<li>Go to Installed Modules, uncheck “Installed” and search “vmi” on filter bar.</li>
<li>Install "VMI" module and the follow up with the set up</li>
</ol>
<hr>
<h2>Set up the database</h2>
<p>An easy way to set up the database is to use the import<em>data.py script. This script is designed only for setup the database and doesn’t provide much flexibility to update the table or change the field name. Before using it, make sure you have all the csv files ready and placed in the same folder.
CSV file
Each CSV file represents a model or table in database. If there are parent-child fields in the file, you can use ‘Level’ field to adjust the insert the sequence. An example is: example.res.partner.csv
Using Script
1. Run python script import</em>data.py
2. For a new database, you need to clean the demo data before any data importation
3. For an empty database you can use import all option.</p>
<hr>
<h2>Configuration file</h2>
<p>Configuration file is in root folder of every instance</p>
<h3>Here are some key fields:</h3>
<pre><code>list_db: disable the ability to return the list of databases
db_user: specify the database user name
db_password: specify the database password
xmlrpc_port: specify the TCP port for the XML-RPC protocol
logfile: file where the server log will be stored
addons_path: specify additional addons paths (separated by commas)
client_db: Database that client can access.
client_user: Admin username for this database.
client_password: Admin password for this database.
ap_file: file to interact with ap system
ap_ftp: ip address for ftp server
ap_ftp_path: path to ftp server
ap_ftp_username: username for ftp server
ap_ftp_password: password for ftp server
</code></pre>