舉報

會員
Odoo 11 Development Essentials(Third Edition)
Odoo11DevelopmentEssentialscaterstodeveloperswhoarefamiliarwithPythonandMVCdesignandnowwanttobuildeffectivebusinessapplicationsusingOdoo.
最新章節
- Leave a review - let other readers know what you think
- Other Books You May Enjoy
- Summary
- Server and module updates
- Long polling
- Nginx optimizations
品牌:中圖公司
上架時間:2021-08-27 18:13:52
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行
- Leave a review - let other readers know what you think 更新時間:2021-08-27 19:33:24
- Other Books You May Enjoy
- Summary
- Server and module updates
- Long polling
- Nginx optimizations
- Enforcing HTTPS
- Setting up Nginx as a reverse proxy
- Using a reverse proxy
- Checking the Odoo service from the command line
- Creating an Upstart/sysvinit service
- Creating a systemd service
- Setting up Odoo as a system service
- Multiprocessing workers
- Setting up the configuration file
- Installing from the source code
- Preparing a dedicated system user
- Installing dependencies
- Available prebuilt packages
- Deploying and Maintaining Production Instances
- Summary
- Killing running processes
- Printing messages and logging
- Alternative Python debuggers
- A sample debugging session
- The Python debugger
- Debugging
- Server development options
- Development tools
- About YAML tests
- Running tests
- Testing exceptions
- Writing test cases
- Setting up tests
- Adding unit tests
- Unit tests
- Debugging and Automated Tests
- Summary
- Adding custom logic
- Accessing the security and menu item
- The form page
- Website forms
- The To-Do Task detail page
- The to-do list template
- The to-do list controller
- Adding CSS and JavaScript assets
- Building websites
- HelloCMS!
- Extending web features
- Hello World! with a QWeb template
- Hello World!
- Our first web page
- Roadmap
- Creating Website Frontend Features
- Summary
- Reports based on custom SQL
- Enabling language translation in reports
- Defining paper formats
- Report totals
- Rendering images
- Presenting data in reports
- QWeb report templates
- Creating business reports
- Installing wkhtmltopdf
- Reports and Server-Side QWeb
- Summary
- Custom CSS and JavaScript assets
- Inheritance on Kanban views
- Dynamic attributes using dicts and lists
- Call and reuse other templates – t-call
- Set values on variables – t-set
- Rendering values – t-esc and t-raw
- Conditionals – t-if
- Loops – t-foreach
- Dynamic attributes by expressions – t-att
- Dynamic attributes by string substitution – t-attf
- The QWeb JavaScript evaluation context
- The QWeb templating language
- Actions in Kanban views
- Adding a Kanban card option menu
- The Kanban card layout
- Kanban card elements
- Priority kanban state and color
- Designing Kanban views
- Kanban views
- About Kanban boards
- Kanban Views and Client-Side QWeb
- Summary
- Other view types
- Graph and pivot views
- Calendar views
- Search views
- List views
- Dynamic attributes
- On change events
- Dynamic views
- Smart buttons
- Buttons
- Field widgets
- Relational fields
- Labels for fields
- Fields
- View semantic components
- Tabbed notebooks
- Grouping content in a form
- Smart buttons area
- Title and subtitle
- The document sheet
- The header
- Business document views
- Dealing with several views of the same type
- The form views
- Window actions
- Menu items
- Defining the user interface with XML files
- Backend Views – Design the User Interface
- Summary
- Introducing the OdooRPC library
- The ERPpeek CLI
- The ERPpeek API
- Introducing the ERPpeek client
- Creating the CLI
- Communication layer with Odoo
- Writing a To-Do client application
- Calling other methods
- Reading data from the server
- Opening an XML-RPC connection
- Calling the Odoo API using XML-RPC
- Setting up a Python client
- External API – Integrating with Other Systems
- Summary
- Working with relational fields
- Using relational fields
- Manipulating recordsets
- Operations on recordsets
- Working with time and dates
- Writing on records
- Singletons
- Querying models
- Working with recordsets
- Domain expressions
- Context data
- Context and domain
- Transactions and low-level SQL
- Modifying the execution environment
- The server environment
- The shell command
- Working with the ORM API
- Helper actions in wizards
- Raising exceptions
- Logging
- The wizard business logic
- The wizard form
- The wizard model
- Creating a wizard
- Business Logic – Supporting Business Processes
- Summary
- Adding followers
- Posting messages
- Message subtypes
- The Mail and Social features API
- Methods for the user interface
- Methods for data import and export
- Methods for web client use over RPC
- Methods for writing model data
- Using the ORM built-in methods
- Specific purpose decorators
- Record handling decorators
- Understanding the ORM decorators
- The ORM API – Handling Application Data
- Summary
- Modifying data
- Triggering functions
- Deleting records
- Other actions in XML data files
- Shortcuts for frequently used models
- Setting values for relation fields
- Setting values using expressions
- Setting field values
- Defining records in XML
- The noupdate data attribute
- XML data files
- Demonstration data
- Module data
- Related records in CSV data files
- Importing data
- Exporting data
- Exporting and importing data
- Finding external identifiers
- Understanding external identifiers
- Import Export and Module Data
- Summary
- Embedding models using delegation inheritance
- Copying features with prototype inheritance
- More model inheritance mechanisms
- Model constraints
- Related fields
- Storing computed fields
- Searching and writing to computed fields
- Computed fields
- Dynamic relationships using Reference fields
- Hierarchical relationships
- One-to-many inverse relationships
- Many-to-many relationships
- Many-to-one relationships
- Relationships between models
- Modifying existing fields
- Adding fields to a model
- Extending models
- Special field names
- Common field attributes
- Basic field types
- Creating fields
- Inspecting existing models
- Transient and Abstract models
- Models and Python classes
- Model attributes
- Creating models
- Introducing the todo_stage module
- Organizing application features into modules
- Models – Structuring the Application Data
- Summary
- Web pages and controllers
- Row-level access rules
- Adding access control security
- Setting up access security
- Testing access security
- Testing business logic
- Adding automated tests
- Extending Python methods
- Adding business logic
- The business logic layer
- Extending views
- Adding list and search views
- The complete form view
- Using groups to organize forms
- Adding action buttons
- Business document form views
- Creating the form view
- Adding menu items
- The view layer
- Extending existing models
- Creating the data model
- The model layer
- The server development mode
- Upgrading a module
- Installing the new module
- Adding to the addons path
- Discovering and installing new modules
- A word about licenses
- Adding an icon
- Creating the module's basic skeleton
- Creating a new addon module
- Your First Odoo Application – A Practical Overview
- Summary
- Updating the apps list
- Configuring the addons path
- Finding community modules
- Installing additional modules
- Installing and configuring Samba
- Using a Linux text editor
- Developing from a remote workstation
- Managing server log messages
- The database filter option
- Changing the listening port
- Odoo server configuration files
- More server configuration options
- A word about Odoo product versions
- Managing Odoo databases
- Initializing a new Odoo database
- Installing Odoo from source
- Installing a Linux server
- Using a virtual machine
- Setting up a host for the Odoo server
- Installing and Organizing the Development Environment
- Summary
- About Odoo base Models
- Configuring access control security
- Creating Views
- Creating a Custom Model
- Creating menus
- Adding Menus Models and Views
- Adding a field to an existing Model
- Enabling the developer tools
- Creating a work database
- Introducing the Library project
- The Developer mode
- The Odoo architecture
- Quick Start – The Odoo Developer Mode and Concepts
- Reviews
- Get in touch
- Conventions used
- Download the example code files
- To get the most out of this book
- What this book covers
- Who this book is for
- Preface
- Packt is searching for authors like you
- About the reviewer
- About the author
- Contributors
- PacktPub.com
- Why subscribe?
- Packt Upsell
- Odoo 11 Development Essentials Third Edition
- Copyright and Credits
- Title Page
- 封面
- 封面
- Title Page
- Copyright and Credits
- Odoo 11 Development Essentials Third Edition
- Packt Upsell
- Why subscribe?
- PacktPub.com
- Contributors
- About the author
- About the reviewer
- Packt is searching for authors like you
- Preface
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Conventions used
- Get in touch
- Reviews
- Quick Start – The Odoo Developer Mode and Concepts
- The Odoo architecture
- The Developer mode
- Introducing the Library project
- Creating a work database
- Enabling the developer tools
- Adding a field to an existing Model
- Adding Menus Models and Views
- Creating menus
- Creating a Custom Model
- Creating Views
- Configuring access control security
- About Odoo base Models
- Summary
- Installing and Organizing the Development Environment
- Setting up a host for the Odoo server
- Using a virtual machine
- Installing a Linux server
- Installing Odoo from source
- Initializing a new Odoo database
- Managing Odoo databases
- A word about Odoo product versions
- More server configuration options
- Odoo server configuration files
- Changing the listening port
- The database filter option
- Managing server log messages
- Developing from a remote workstation
- Using a Linux text editor
- Installing and configuring Samba
- Installing additional modules
- Finding community modules
- Configuring the addons path
- Updating the apps list
- Summary
- Your First Odoo Application – A Practical Overview
- Creating a new addon module
- Creating the module's basic skeleton
- Adding an icon
- A word about licenses
- Discovering and installing new modules
- Adding to the addons path
- Installing the new module
- Upgrading a module
- The server development mode
- The model layer
- Creating the data model
- Extending existing models
- The view layer
- Adding menu items
- Creating the form view
- Business document form views
- Adding action buttons
- Using groups to organize forms
- The complete form view
- Adding list and search views
- Extending views
- The business logic layer
- Adding business logic
- Extending Python methods
- Adding automated tests
- Testing business logic
- Testing access security
- Setting up access security
- Adding access control security
- Row-level access rules
- Web pages and controllers
- Summary
- Models – Structuring the Application Data
- Organizing application features into modules
- Introducing the todo_stage module
- Creating models
- Model attributes
- Models and Python classes
- Transient and Abstract models
- Inspecting existing models
- Creating fields
- Basic field types
- Common field attributes
- Special field names
- Extending models
- Adding fields to a model
- Modifying existing fields
- Relationships between models
- Many-to-one relationships
- Many-to-many relationships
- One-to-many inverse relationships
- Hierarchical relationships
- Dynamic relationships using Reference fields
- Computed fields
- Searching and writing to computed fields
- Storing computed fields
- Related fields
- Model constraints
- More model inheritance mechanisms
- Copying features with prototype inheritance
- Embedding models using delegation inheritance
- Summary
- Import Export and Module Data
- Understanding external identifiers
- Finding external identifiers
- Exporting and importing data
- Exporting data
- Importing data
- Related records in CSV data files
- Module data
- Demonstration data
- XML data files
- The noupdate data 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
- Modifying data
- Summary
- The ORM API – Handling Application Data
- Understanding the ORM decorators
- Record handling decorators
- Specific purpose decorators
- Using the ORM built-in methods
- Methods for writing model data
- Methods for web client use over RPC
- Methods for data import and export
- Methods for the user interface
- The Mail and Social features API
- Message subtypes
- Posting messages
- Adding followers
- Summary
- Business Logic – Supporting Business Processes
- Creating a wizard
- The wizard model
- The wizard form
- The wizard business logic
- Logging
- Raising exceptions
- Helper actions in wizards
- Working with the ORM API
- The shell command
- The server environment
- Modifying the execution environment
- Transactions and low-level SQL
- Context and domain
- Context data
- Domain expressions
- Working with recordsets
- Querying models
- Singletons
- Writing on records
- Working with time and dates
- Operations on recordsets
- Manipulating recordsets
- Using relational fields
- Working with relational fields
- Summary
- External API – Integrating 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 To-Do client application
- Communication layer with Odoo
- Creating the CLI
- Introducing the ERPpeek client
- The ERPpeek API
- The ERPpeek CLI
- Introducing the OdooRPC library
- Summary
- Backend Views – Design the User Interface
- Defining the user interface with XML files
- Menu items
- Window actions
- The form views
- Dealing with several views of the same type
- Business document views
- The header
- The document sheet
- Title and subtitle
- Smart buttons area
- Grouping content in a form
- Tabbed notebooks
- View semantic components
- Fields
- Labels for fields
- Relational fields
- Field widgets
- Buttons
- Smart buttons
- Dynamic views
- On change events
- Dynamic attributes
- List views
- Search views
- Calendar views
- Graph and pivot views
- Other view types
- Summary
- Kanban Views and Client-Side QWeb
- About Kanban boards
- Kanban views
- Designing Kanban views
- Priority kanban state and color
- Kanban card elements
- The Kanban card layout
- Adding a Kanban card option menu
- Actions in Kanban views
- The QWeb templating language
- The QWeb JavaScript evaluation context
- Dynamic attributes by string substitution – t-attf
- Dynamic attributes by expressions – t-att
- Loops – t-foreach
- Conditionals – t-if
- Rendering values – t-esc and t-raw
- Set values on variables – t-set
- Call and reuse other templates – t-call
- Dynamic attributes using dicts and lists
- Inheritance on Kanban views
- Custom CSS and JavaScript assets
- Summary
- Reports and Server-Side QWeb
- Installing wkhtmltopdf
- Creating business reports
- QWeb report templates
- Presenting data in reports
- Rendering images
- Report totals
- Defining paper formats
- Enabling language translation in reports
- Reports based on custom SQL
- Summary
- Creating Website Frontend Features
- Roadmap
- Our first web page
- Hello World!
- Hello World! with a QWeb template
- Extending web features
- HelloCMS!
- Building websites
- Adding CSS and JavaScript assets
- The to-do list controller
- The to-do list template
- The To-Do Task detail page
- Website forms
- The form page
- Accessing the security and menu item
- Adding custom logic
- Summary
- Debugging and Automated Tests
- Unit tests
- Adding unit tests
- Setting up tests
- Writing test cases
- Testing exceptions
- Running tests
- About YAML tests
- Development tools
- Server development options
- Debugging
- The Python debugger
- A sample debugging session
- Alternative Python debuggers
- Printing messages and logging
- Killing running processes
- Summary
- Deploying and Maintaining Production Instances
- Available prebuilt packages
- Installing dependencies
- Preparing a dedicated system user
- Installing from the source code
- Setting up the configuration file
- Multiprocessing workers
- Setting up Odoo as a system service
- Creating a systemd service
- Creating an Upstart/sysvinit service
- Checking the Odoo service from the command line
- Using a reverse proxy
- Setting up Nginx as a reverse proxy
- Enforcing HTTPS
- Nginx optimizations
- Long polling
- Server and module updates
- Summary
- Other Books You May Enjoy
- Leave a review - let other readers know what you think 更新時間:2021-08-27 19:33:24