Odoo Development
latest
First steps
Module Development
Docs and manifests
Guidelines
Odoo Python
XML
HTML
CSS
YAML
Javascript
Frontend
Point of Sale (POS)
Access
Hooks
Source Diving
Odoo Translation Framework
Lint
Other
Debugging
Quality assurance
Porting Modules
Git and Github
Continuous Integration
Odoo
Odoo administration
Continuous Delivery
Maintenance
IDE
Other
Odoo Development
Docs
»
Module Development
Edit on GitHub
Module Development
¶
Docs and manifests
Files
README.rst
doc/index.rst
__manifest__.py (__openerp__.py)
Guidelines
Comments
Odoo Python
Python decorators
Original article
@api.one
@api.multi
@api.model
Pure Python
Compare two arrays
res.config.settings
Example
Update settings on module install
default_XXX
group_XXX
module_XXX
Other fields
Web controllers
Send values to web page
One2one field in odoo
x2many values filling
Odoo 15.0+
Odoo 14.0-
Fields
Field inheritance
Field types
Name Conflicts
Fields Defaults
Computed Fields
Inverse
Multi Fields
Related Field
Property Field
WIP copyable option
Special fields
Model constraints
Reports models via PostgreSQL views
External dependencies in odoo
What
How
Why
XML
Create record of model
Xpath
Add some attributes to node
To test xpath
Basic stuff
Call method of some model and put result in variable
Get value of some setting ir.config_parameter and put it in variable
Show value of variable
Use variable in condition
Get variable transmitted by render() in XML template
Inherit
Collisions and priority
Group_id
in views
Actions Menu
14.0+
13.0
12.0-
HTML
Active elements
Link-button that calls controller
Submit with button
CSS
CSS tips and tricks
Add your css on template
Hide fields
YAML
Pure YAML
YAML in odoo
Javascript
Inheritance
core.bus
Usage
Remote Procedure Call (RPC)
Call method
How to call wizard method from js
Frontend
Web page
Point of Sale (POS)
New POS Module
Adding
js
file to POS
odoo.define
function
Inheritance
UI extending
Action Buttons
Creation of Custom Pop-Ups
Custom Screens
Receipts & Printers
Custom Receipt
Extra Order Data
Loading data to POS
Custom order data in browser storage
Sending POS Orders to Server
Instant syncronization
POS Longpolling
Multi-session Support
Advanced POS Development
Dom Cache
JS access and inheritance
Access
Security tutorial
Hide fields
Superuser rights
ir.model.access
Video Lessons
Hooks
post_load
What do we know from comments in odoo source?
What is it actually for?
Example of monkey patch in odoo
Why shall we use
post_load
to apply monkey patch?
How to use post_load?
Example?
Something else we need to know?
Other usage of post_load?
Source Diving
Source Diving Cases
Case: “Transformed the method”
Guidelines
Overview: “Transformed the method”
Case: “Transformed the method”
Context
Problem
Solution
Odoo Translation Framework
How to overwrite built-in translation
Lint
Installation
Common lints
Fixing python lints in odoo
Fixing Javascript lints in odoo
Fixing rst lints in odoo
Fixing xml lints in odoo
Other
Dynamic records
noupdate=False
noupdate=True
Odoo database
Many to many
Odoo way of shaman
Read the Docs
v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.