OpenERP Web Reference Documentation 文档翻译
- 
OpenERP Web Reference Documentation 文档翻译---在附件。(js test 以及一些6.1-7.0的changelog,8.0新内容没有翻译) 
 这个文档是OpenERP开发中 的web客户端部分,结合OpenERP Server Developers Documentation [检测到链接无效,已移除] ,基本算完整开发文档了。
 Web 开发文档 一开头的 web 培训文档,单独翻译在 [url [检测到链接无效,已移除] /rul]
 OpenERP Web Reference Documentation 1
 目录: 1
 Basics 基础 3
 Building an OpenERP Web module 创建一个OpenERP Web模块 3
 A Basic Module 一个基本模块 3
 Web Declaration Web声明 4
 Getting Things Done 让js跑起来 5
 Paint it black 画成黑的 9
 Burning through the skies 让天空燃烧 17
 Mic check, is this working? 麦克风测试,响不响? 23
 API changes from OpenERP Web 6.1 to 7.0(译者:6.1到7的Web API变化。暂不翻译) 34
 Supported browsers 34
 DataSet -> Model 35
 DataGroup -> also Model 36
 Server-Side Web Framework 服务端Web框架(译者:像是8.0的,暂不翻译) 37
 Web Controllers Web控制器 37
 Controllers File 控制器文件 37
 Controller Declaration 控制器声明 38
 Pure HTTP Requests 纯HTTP请求 39
 JSON Requests JSON请求 40
 URL Patterns URL模式 40
 Contacting Models 调用模型 41
 Authorization Levels 验证级别 41
 Overriding Controllers 重载控制器 42
 Javascript 42
 Guidelines and Recommendations 准则和建议 43
 Web Module Recommendations Web模块建议 43
 OpenERP Web guidelines OpenERP Web 准则 44
 Widget 部件 45
 DOM Root DOM根 46
 DOM events handling DOM事件处理 50
 Subclassing Widget 子类化widget 52
 RPC Calls RPC调用 54
 High-level API: calling into OpenERP models 高层API:调用model内部 55
 Low-level API: RPC calls to Python side 底层API:RPC调用python端 62
 Asynchronous Operations 异步操作 63
 Deferreds 递延 64
 QWeb 76
 API 79
 Directives 指令 82
 Client actions 客户端动作 94
 General Structure 通用结构 94
 Testing in OpenERP Web Web测试 98
 Javascript Unit Testing js单元测试 98
 Writing a test case 编写测试用例 99
 Assertions 断言 101
 Getting an OpenERP instance 获得OpenERP实例 102
 DOM Scratchpad 104
 Loading templates 装载模版 104
 Asynchronous cases 异步用例 106
 RPC 远程调用 107
 Testing API 测试API 112
 Running through Python 通过Python运行 114
 Views 视图 117
 Search View 搜索视图 117
 Working with the search view: creating new inputs 创建新输入 118
 Loading defaults 装载默认 119
 Providing completions 提供补全 120
 Providing drawer/supplementary UI 提供抽屉/补充 UI 121
 Converting from facet objects 从层面对象转换 122
 Programmatic interactions: internal model 编程交互:内部模型 124
 Field services 字段服务 128
 Arbitrary data storage 任意数据存储 131
 Changes 变更历史(译者:暂不翻译) 131
 List View 列表视图 135
 Style Hooks 样式钩子 135
 Columns display customization 列显示自定义 138
 Editable list view 可编辑列表视图 140
 Editor 编辑器 148
 Changes from 6.1 153
 Notes on the usage of the Form View as a sub-widget 表单视图作为子widget使用的注意事项: 154
 Undocumented stuff 未形成文档的东东: 154
 Indices and tables 157
 
- 
整个文档翻译的不错 但遗漏了 一些很重要的信息 
 如instance.web.client_actions.add('petstore.homepage', 'instance.oepetstore.HomePage');中 
 如何写这个 petstore.homepage client_actions
 通过查看原文档 得知<br /><record id="action_home_page" model="ir.actions.client"><br />    <field name="name">Inbox</field><br />    <field name="tag">petstore.homepage</field><br /></record><br /><br /><menuitem id="home_page_petstore_menu" name="Home Page" parent="petstore_menu"<br />action="action_home_page"/>  <br />
 需要注意的是 model="ir.actions.client" ;D ;D