Openerp OUTLINE WARNING
Total Page:16
File Type:pdf, Size:1020Kb
Credits: Guillaume Rivière 2013 – 2018 OUTLINE 1. Overview – Birth and growth OpenERP – Customers, Partners, Vendors 2. Administration – Versions, Architecture Overview, Introduction to – Main modules Administration & Development 3. Development – Module programming – EFREI – – Webservice programming – ESTIA – Guillaume Rivière 4. Documentation Last update: March 2018 1 2 WARNING !!! History of OpenERP • You are going to learn one ERP • Initiated by Fabien Pinckaers – But keep in mind to select an ERP only because it is – in 2002, in Belgium the best adapted to the case of your company – Written in Python Our competitors – Database is PostgreSQL This ERP fits all the use this ERP !!! This is the only needs of my company. – Open Source (but not free software, according to FSF) ERP i know … • Licence: AGPL v3 2002 2004 2005 2006 2008 2009 2011 2012 2013 2014 2015 2016 2017 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 1.0 2.0 3.0 3.4 3.6 4.0 4.6 3 4 OpenERP today Hardware needed • Used for teaching since 2008 • 5 employees: 2 CPU 2GB RAM – The CERTA network teach accounting to BTS • 20 employees: 4 CPU 8GB RAM – CERPEG • 90 employees: 2x 8 CPU 32GB RAM • Arround the world, we find dozens of – Split application and database server Customers, Vendors and Partners • 250+ employees: 2x 12 CPU 128 GB RAM • Still supported Long Term Stable versions (LTS) – Load balancing – Version 7.0 released in December 2012 – Version 8.0 released in September 2014 – Version 9.0 released in October2015 • Enterprise (20€/user/month) & Community (90%) Editions 5 6 Vendors / Consultants Partners • Smile • Gold / Silver / Ready / Training Center • Julius – Pay annual fees • Business & Decision • Aunéor Conseil • Anybox • Camptocamp • ZAD solutions • Audaxis • and many many others… 7 8 Partners’ world map Partners worldwide Western Europe 219 Africa 57 Asia 55 North America 35 South America 36 Australia 5 1 partner 2 → 9 10 → 99 ≥ 100 (http://v6.openerp.com/partner-worldmap March 2013) 9 (http://v6.openerp.com/partner-worldmap March 2013) 10 Partners in Western Europe Partners in France 1 partner 2 → 9 10 → 99 ≥ 100 (http://v6.openerp.com/partner-worldmap March 2013) 11 (March 2013) 12 Customer references OUTLINE 1. Overview – Birth and growth – Customers, Partners, Vendors 2. Administration – Versions, Architecture – Main modules 3. Development – Module programming – Webservice programming 4. Documentation 14 Timeline of versions Elements to run OpenERP Tiny SPRL (May 2002) TinyERP 1.0 : 06/07/2004 (3 companies) OpenERP SA (2005) TinyERP 2.0 : 25/03/2005 • Client TinyERP 3.0 : 02/09/2005 – GTK client: until version 6.x TinyERP 4.0 : 02/12/2006 TinyERP 4.1 : 13/06/2007 (web server) – Web client: since version 4.1 TinyERP 4.2 : 01/10/2007 Renamed (April 2008) – « full web »: since version 7.0 OpenERP 5.0 : 08/02/2009 Tryton 1.0 (Nov. 2008) OpenERP 6.0 : 20/01/2011 Tryton 2.0 (April 2011) • Server OpenERP 6.1 : 23/02/2012 (new web gui) OpenERP 7.0 : 22/12/2012 (full web) – Separated web server: from 4.1 to 6.x Tryton 3.0 (Oct. 2013) Odoo 8.0 : 18/09/2014 (front: e-com, CMS+builder, stocks) – Version 7.0: one-piece server Odoo 9.0 : 01/10/2015 (accounting) Tryton 4.0 (May 2016) Odoo 10.0 : 01/10/2016 (production) • v7.0 : Python >= 2.6 (Python 2.7) LTS 9.0 will be Odoo 11.0 : 01/10/2017 • v6.1 : Python >= 2.6 supported until LTS 12.0 is released 15 • v6.0 : Python >= 2.5 16 Compatibility Technical Architecture • Server operating system • OpenERP v6 (for GTK client) – Linux, Windows, Mac OS Server Thick client OpenERP Server OpenERP GTK Client • Web browser (OpenERP 7) (Odoo 10) Business Business Forms Calendar Report Wizard Objects Objects Trees Action Pool – Mozilla Firefox (≥ 13) Business Windows Objects Business Objects Graph – Microsoft IE (≥ 9.0) - User interface XML-RPC:8069 – Microsoft Edge - Base Module WebServices Network RPC Gateway Core Base Distribution (Internet or Intranet) NET-RPC:8070 Widgets – Safary (N.C.) Object Relational Report engine Mapping – Google Chrome (≥ 22) Forms Trees Search Workflow engine • OpenERP Mobile Client (Smartphones, tablets) 17 PostgreSQL 18 – Application Android, iOS (alternative : myodoo.com) http://doc.openerp.com Technical Architecture Global navigation Login Page • OpenERP v7 v8 v9 (web client) Preferences Create Settings Thin client Server Database Backup Manager Drop Web user: admin Administrator User browser Network Restore client pass: admin OpenERP PostgreSQL 8069 Messaging server DBMS 5432 Web user: openerp … user: demo browser (Internet or Intranet) pass: postgres Sales HTTP pass: demo client JSON Fleet user: HTML, CSS, pass: toor Accounting Javascript Reporting Purchases db_demo database Human Warehouse Resources 19 Manufacturing 20 Administration Connectors • Administrator(s) must define • Enterprise Application Integration (EAI) – The users • Interoperate OpenERP and other programs – The access rights – Webservice (program in Python, Java, PHP, C/C++, …) – The languages – Business objects (module in Python) – The menus • http://openerp-connector.com/ – The basis data of the company Other Application A Other Application B OpenERP Server • Products, work centers, flows, etc. – The modules to install Connector – Business The connections with other software Objects WebServices Connector – and many other things… 21 22 Connectors E-commerce • CMS • Reporting • Prestashop – Joomla! (PHP/MySQL) – JasperReports (Java) • E-commerce – ReportLab (Python) – OSCommerce (PHP/MySQL) • Business Intelligence – Magento (PHP) – Pentaho (Java) – PrestaShop (PHP/MySQL) – SpagoBI (Java) • CMS + eCommerce – eZ Publish (PHP/MySQL, PostgreSQL, SQLserver,Oracle) 23 24 Reporting Reporting • JasperReports • ReportLab – Financial reporting and dynamic graphics – Natively used in OpenERP for reporting diagrams 25 26 Business Intelligence Business Intelligence • Pentaho • SpagoBI 27 28 VOIP ETL • CRM • Extract-Transform-Load – Routing phone calls • Open the customer master record when they are calling App1 App2 • Call-center VoIP with Asterisk server – Automatically call a customer 2) Transform 1) Extract 3) Load DB1 ETL DB2 – Integrate data from multiple databases of Click2dial different applications 29 30 ETL ETL • CRM • Kettle – Targeting the customers VTiger SugarCRM Concursive – Data mining of sales history CRM • Weka (Java) • (PHP) SugarCRM ETL Kettle Talend • vTiger (PHP) • Concursive CRM (Java) OpenERP DB PostgreSQL 31 32 ETL CRM • Talend • SugarCRM – B2B – B2C 33 34 CRM PLM / PDM • vTiger • OpenERP PLM – Fork of – OmniaSolutions SugarCRM 35 36 Manage management systems User Interface • Certifications • User interfaces of ERPs are often quite simple – Quality (ISO 9001) – Environment (ISO 14001) (3) Main – Security (ISO 27001, PCI-DSS) (1) Modules view – IT services (ISO 20001, ITIL) – Health & Safety (OHSAS 18001) • Extra menus and tabs (2) Menu of – In several modules www.pcsol.be the current module www.savoirfairelinux.com 37 38 Screenshot of OpenERP v7.0 Main modules Messaging • Inbox • Messaging • Manufacturing • Meetings calendar • Sales • Marketing • Contacts • Point of Sales • Human Resources • … • Project • Fleet • Association • Events • Accounting • Knowledge • Purchases • Tools • • Warehouse Reporting 39 40 Screenshots of OpenERP v7.0 Sales Purchases • Customers • Quotations • Products • Purchases orders • … • On Draft Invoices • Incoming shipments • … 41 42 Screenshots of OpenERP v7.0 Screenshots of OpenERP v7.0 Warehouse Manufacturing • Procurement Exceptions • Manufacturing orders • Incoming Shipments • Incoming Products • … (List view) (Calendar view) • Bill of materials 43 44 Screenshots of OpenERP v7.0 Screenshots of OpenERP v7.0 Human Resources Point of sales • Timesheets • Tactile interface • Leave Requests • … 45 46 Screenshots of OpenERP v7.0 Point of sales Point of sales • Barcodes • PosBox www.indiegogo.com/projects/opensource-your-shop • Receipts – Raspberry-Pi + Tablet + Printer + Scanner • … 47 48 CMS & E-commerce Reporting • Available since Odoo 8.0 + website builder • Invoice Analysis • Purchase Analysis • Inventory Analysis • … 49 50 Screenshots of OpenERP v7.0 Settings Settings (Administrator) (Administrator) • Install new module • Parameter workflows 51 52 Settings Settings (Administrator) (Administrator) • Example: workflow of an idea • Example: workflow of an idea 53 54 Getting sources Download sources • Launchpad (Sourceforge, GNU Savannah, …) • Bazaar (cvs, svn, git, …) – https://launchpad.net/openobject – bzr branch lp:openobject-server • Version under developement (trunk) – bzr branch lp:openobject-addons – bzr branch lp:openerp-web https://launchpad.net/ /trunk – openobject-server – https://launchpad.net/openobject-addons/trunk Remove .bzr hidden directories! – https://launchpad.net/openerp-web/trunk • Older versions • Older versions – bzr branch lp:openobject-server/7.0 – bzr branch lp:openobject-addons/7.0 – https://launchpad.net/openobject-server/7.0 – bzr branch lp:openerp-web/7.0 – https://launchpad.net/openobject-addons/7.0 – https://launchpad.net/openerp-web/7.0 – bzr branch lp:openobject-server/6.0 – bzr branch lp:openobject-addons/6.0 55 – bzr branch lp:openerp-web/6.0 56 Verticalizations Verticalizations • Hostels • Textile & Spinning Manufacturing Industry – https://launchpad.net/~hotel-core-editors – https://launchpad.net/openerp-textiles • Electronic Medical Record and Hospital • Humanitarian non-governmental organization Information System – https://launchpad.net/openerp-humanitarian-ngo – https://launchpad.net/medical • Library Management System • Construction – https://launchpad.net/openerp-library