OpenERP: 100% pythonic way for business - EuroPython

40
agile business group sagl - http://www.agilebg.com - [email protected] OpenERP: 100% pythonic way for business management Florence, June 23rd 2011 Davide Corio [email protected]

Transcript of OpenERP: 100% pythonic way for business - EuroPython

Page 1: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

OpenERP: 100% pythonic way for business management

Florence, June 23rd 2011

Davide [email protected]

Page 2: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Origin of ERP

Origin of "ERP"

In 1990 Gartner Group first employed the acronym ERP as an extension of material requirements planning (MRP), later manufacturing resource planning and computer-integrated manufacturing. Without supplanting these terms, ERP came to represent a larger whole, reflecting the evolution of application integration beyond manufacturing. Not all ERP packages were developed from a manufacturing core. Vendors variously began with accounting, maintenance and human resources. By the mid–1990s ERP systems addressed all core functions of an enterprise. Beyond corporations, governments and non–profit organizations also began to employ ERP systems.

Expansion

"ERP II" was coined in the early 2000s. It describes web–based software that allows both employees and partners (such as suppliers and customers) real–time access to the systems. "Enterprise application suite" is an alternate name for such systems

Source: Wikipedia

Page 3: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

ERP Today

<<Hello, i'd like tu buy an ERP>>

Page 4: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

ERP Today

So...

ERP == Software solution?

Yes, untill you buy one Then software isn't enough anymore

Page 5: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

Actually, ERP is: software + knowledge + people + folk customs + customizations

“turn-key” is just a dream

Page 6: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

Page 7: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

Accounting / Sales / HR / ...

Page 8: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

Accounting Invoicing→

Page 9: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

Invoicing Invoice Object→

Page 10: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

Invoice Object →Invoice Approval WorkfloworInvoices List ViewOr...

Page 11: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

The role/permissions of Richard inside the company or just

“Richard”

Page 12: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

Class: Car(the product we sell)

Page 13: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Turn-key vs Framework

OpenERP POS Client

Page 14: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Architecture

RDBMS: PostgreSQL OpenERP Server

PsycoPG2

OpenERP Web Client

XML-RPC / JSON

OpenERP GTK Client Internet Browser

XML-RPCNET-RPC(SECURE)

HTTPHTTPS

RDBMS: PostgreSQL

Balancing

Page 15: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Architecture – GTK Client

Page 16: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Architecture – Web Client

Page 17: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Addons

OpenERP Server OpenERP Web Client

XML-RPC / JSON

OpenERP Addons OpenERP Web Client Addons

Page 18: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Addons

product_car

__init__.py

__openerp__.py

car.py

car_view.xml

Page 19: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

__openerp__.py

Page 20: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

car.py

Page 21: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

car.py

Page 22: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

car_view.xml

Page 23: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

New module installation

Page 24: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

car_view.xml

Page 25: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Relations

Many2one Field

Relation: car.brand

Page 26: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

apps.openerp.com

Page 27: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

apps.openerp.com

Page 28: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Extra addons

Page 29: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Extra addons

Page 30: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Extra addons

Page 31: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Extra addons

Page 32: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Extra addons

Page 33: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Community contributions

Page 34: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Community contributions

Page 35: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

3rd party software integration

Page 36: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

LFS Connector

Page 37: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

LFS Connector

Page 38: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

LFS Connector

Page 39: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

LFS Connector

Page 40: OpenERP: 100% pythonic way for business - EuroPython

agile business group sagl - http://www.agilebg.com - [email protected]

Links and credits

Agile Business Group: http://www.agilebg.com

OpenERP: http://www.openerp.com

OpenERP documentation: http://doc.openerp.com

OpenERP Rent: http://launchpad.net/openerp-rent (thanks to Thibaut Dirlik)

LFS:http://www.getlfs.com

OOOP: https://github.com/lasarux/ooop

LFS Connector and examples: soon on http://launchpad.net

@davidecorio on twitter!

Thanks to everyone