Odoo Development Essentials
eBook - ePub

Odoo Development Essentials

Daniel Reis

Compartir libro
  1. 214 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Odoo Development Essentials

Daniel Reis

Detalles del libro
Vista previa del libro
Índice
Citas

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Odoo Development Essentials un PDF/ePUB en línea?
Sí, puedes acceder a Odoo Development Essentials de Daniel Reis en formato PDF o ePUB, así como a otros libros populares de Business y Business Intelligence. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781784392796
Categoría
Business

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...

Índice