Odoo Development Essentials
eBook - ePub

Odoo Development Essentials

Daniel Reis

Buch teilen
  1. 214 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Odoo Development Essentials

Daniel Reis

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Odoo Development Essentials als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Odoo Development Essentials von Daniel Reis im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Business & Business Intelligence. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2015
ISBN
9781784392796

Odoo Development Essentials


Table of Contents

Odoo Development Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with Odoo Development
Setting up a host for the Odoo server
Provisions for a Debian host
Creating a user account for Odoo
Installing Odoo from source
Initializing a new Odoo database
Managing your databases
A word about Odoo product versions
More server configuration options
Odoo server configuration files
Changing the listening port
Logging
Developing from your workstation
Using a Linux text editor
Installing and configuring Samba
Enabling the on-board technical tools
Activating the Technical Features
Activating the Developer mode
Installing third-party modules
Finding community modules
Configuring the addons path
Updating the module list
Summary
2. Building Your First Odoo Application
Understanding applications and modules
Modifying and extending modules
Creating a new module
Adding to the addons path
Installing the new module
Upgrading a module
Creating an application model
Adding menu entries
Creating views – form, tree, and search
Creating a form view
Formatting as a business document
Adding action buttons
Organizing forms using groups
The complete form view
Adding list and search views
Adding business logic
Setting up access control security
Row-level access rules
Adding an icon to the module
Summary
3. Inheritance – Extending Existing Applications
Adding sharing capability to the To-Do app
Road map for the user sharing features
Extending the to-do task model
Adding fields to a model
Modifying existing fields
Modifying model's methods
Extending views
Extending tree and search views
More on using inheritance to extend models
Copying features using prototype inheritance
Embedding models using delegation inheritance
Using inheritance to add social network features
Modifying data
Extending the record rules
Summary
4. Data Serialization and Module Data
Understanding external identifiers
Finding External IDs
Exporting and importing data
Exporting data
Importing data
Related records in CSV data files
Module data
Demonstration data
XML data files
The data noupdate attribute
Defining Records in XML
Setting field values
Setting values using expressions
Setting values for relation fields
Shortcuts for frequently used Models
Other actions in XML data files
Deleting records
Triggering functions and workflows
Summary
5. Models – Structuring the Application Data
Organizing application features into modules
Introducing the todo_ui module
Creating models
Model attributes
Models and Python classes
Transient and Abstract models
Inspecting existing models
Creating fields
Basic field types
Common field attributes
Reserved field names
Relations between models
Many to one relations
Many to many relations
One to many inverse relations
Hierarchical relations
Referencing fields using dynamic relations
Computed fields
Search and write on computed fields
Storing computed fields
Related fields
Model constraints
Summary
6. Views – Designing the User Interface
Window actions
Menu items
Context and domain
Session context
Domain expressions
Form views
Business views
The header status bar
The business flow pipeline
Title and subtitle
Labels for fields
Smart buttons
Organizing content in a form
Tabbed notebooks
View elements
Buttons
Fields
Relational fields
Field widgets
On-change events
Dynamic views
List views
Search views
Other types of views
Calendar views
Gantt views
Graph views
Summary
7. ORM Application Logic – Supporting Business Processes
To-do wizard
Wizard model
Wizard form
Wizard business logic
Raising exceptions
Auto-reloading code changes
Actions on the wizard dialog
Working with the server
Using relation fields
Querying models
Writing on records
Transactions and low-level SQL
Working with time and dates
Working with relation fields
Manipulating recordsets
Other recordset operations
The execution environment
Model methods for client interaction
Overriding the default methods
Model method decorators
Debugging
Summary
8. QWeb – Creating Kanban Views and Reports
Getting started with kanban board
Kanban views
Design kanban views
Priority and kanban state
Kanban view elements
The vignette kanban view
Actions in kanban views
The card kanban view
Adding QWeb dynamic content
Conditional rendering with t-if
Rendering values with t-esc and t-raw
Loop rendering with t-foreach
Dynamic attributes with t-att- prefixes
String substitution in attributes with t-attf- prefixes
Setting variables with t-set
Calling other templates with t-call
Other QWeb directives
Advanced kanban elements
Adding a kanban card option menu
Adding colors to kanban cards
Using text ellipsis for long texts
Custom CSS and JavaScript assets
Creating business reports
Installing wkhtmltopdf
QWeb report templates
Presenting data in reports
Enabling language translation in reports
Designing report content
Paper formats
Summary
9. External API – Integration with Other Systems
Setting up a Python client
Calling the Odoo API using XML-RPC
Opening an XML-RPC connection
Reading data from the server
Calling other methods
Writing a Notes desktop application
Communication layer with Odoo
Creating the GUI
Introducing the ERPpeek client
The ERPpeek API
The ERPpeek CLI
Summary
10. Deployment Checklist – Going Live
Installing Odoo
Installing from the source code
Setting up the configuration file
Setting up as a system service
Using a reverse proxy
Setting up nginx for reverse proxy
Enforcing HTTPS
Nginx optimizations
Long polling
Server and module updates
Summary
Index

Odoo Development Essentials

Copyright © 20...

Inhaltsverzeichnis