Odoo development
cn
第一步
模块开发
Docs and manifests
Guidelines
Odoo Python
XML
HTML
CSS
YAML
Javascript
Frontend
Point of Sale (POS)
Access
Hooks
Source Diving
Lint
Other
调试
代码测试
移植模块
用户文档
Git 与 Github
持续集成
Odoo
Odoo 系统管理
持续交付
运维
IDE
远程开发
其他
Odoo development
Docs
»
模块开发
Edit on GitHub
模块开发
¶
Docs and manifests
Files
README.rst
doc/index.rst
__manifest__.py (__openerp__.py)
doc/changelog.rst
icon.png
Notes
RST Requirements
Difference of doc files
Template handling
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
x2many values filling
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
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
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)
Add new field in the model of POS module
JS access and inheritance
action_button
screen_classes
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
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