Odoo


Odoo is a complete solution to manage companies regards of Human resource and Financial and so on. These are some resources I have found and list them here to be as a reference to me later.

Installation

Follow this instruction: 1, 2

git clone https://github.com/odoo/odoo.git
sudo cp odoo/install/openerp-server.conf /etc/openerp-server.conf
sudo vi /etc/openerp-server.conf // checkout https://gist.github.com/gam-phon/b1f750b813c77286cb2b

./openerp-server -c /etc/openerp-server.conf &

Install by Docker

Components

List of libraries in frontend

List of libraries in backend

Learn

Documentaions:

erppeek

is a great tool to deal with openerp.

Install:

sudo pip install -U erppeek

Connect:

erppeek --server=http://localhost:8069 -d your_db -u admin -p password
your_db >>> models()
your_db >>> model('res.users').browse(['email = admin@example.com']).read('name email')

Module development

Structure:

MVC:

Views and Events

Reports

standard way: SXW -> RML -> PDF or HTML Pentaho Business Analytics: It is easier than the standard way. Integration with openerp.
To print the current date and hour of printed the report: create message button and type: $(report.date,date,yyyy:mm:dd HH:MM)

Other tools: IReader, jasperserver, Aeroo Reports

Workflow

The workflow system in OpenERP is a very powerful mechanism that can describe the evolution of documents (model) in time.

Ref:

comments powered by Disqus