- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 python之logging模块:将不同的日志写入到不同的文件
import logging.configfrom logging import LogRecord# 通常用于Linux系统下,使控制台输出的日志带颜色class ColorFormatter(logging.Formatter): log_colors = { 'CRITICAL': '\033[0;31m', 'ERROR': '\033[0...
2020-01-15 20:41:50 7724
Odoo开发手册(英文版)
Odoo, formerly known as OpenERP, is a great platform for developers. The framework at
its core is very rich and allows building client–server applications from scratch as well as
adapting existing applications to your needs through a clever extension mechanism and a
very modular design. The latest versions have brought a wealth of new possibilities with the
addition of a full-featured website development stack. The scope is huge and it is easy for
newcomers to feel lost.
For years, Odoo developers have been learning their craft by reading the code of the addon
modules, which are built on top of the framework to provide enterprise management features.
While effective, the process is long and error prone, since it is diffcult to know whether the
source code you are learning from is using the latest possibilities offered by the framework,
or if you are looking at an older module that has not been updated to use these features. To
make things worse, some code flows are intrinsically hard to follow because they're partly in
the business logic layer, partly in the database layer, partly in the request handling layer, and
partly in the client side code. The introduction of a new API in version 8 has made things even
more confusing, since most of the code base was not immediately ported to this new API.
This book is meant to save you time by tapping in to the years of experience accumulated
by long-time Odoo contributors to learn the current best practices in Odoo development by
focusing on the new features of version 9, and also giving a solid base in the existing mature
functionality of the framework. Since Odoo has a long tradition of guaranteeing backward
compatibility, most of the presented material should still work with the upcoming versions.
2018-08-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人