API docs: settings file and titles at modules
authorP. Christeas <xrg@openerp.com>
Thu, 23 Jun 2011 09:03:57 +0000 (12:03 +0300)
committerP. Christeas <xrg@linux.gr>
Thu, 23 Jun 2011 09:03:57 +0000 (12:03 +0300)
bzr revid: xrg@linux.gr-20110623090357-nazly8vpfnw0iskr

15 files changed:
bin/.apidoc [new file with mode: 0644]
openerp/addons/base/publisher_warranty/__init__.py
openerp/osv/__init__.py
openerp/osv/expression.py
openerp/osv/orm.py
openerp/osv/osv.py
openerp/osv/query.py
openerp/report/__init__.py
openerp/report/render/__init__.py
openerp/sql_db.py
openerp/tiny_socket.py
openerp/tools/__init__.py
openerp/tools/config.py
openerp/tools/misc.py
openerp/workflow/__init__.py

diff --git a/bin/.apidoc b/bin/.apidoc
new file mode 100644 (file)
index 0000000..e4441c5
--- /dev/null
@@ -0,0 +1 @@
+excludes: pychart release openerp-server test run_tests
\ No newline at end of file
index 6b60ddf..2baa53f 100644 (file)
@@ -21,5 +21,7 @@
 
 import publisher_warranty
 
+#.apidoc title: IR interface (Deprecated)
+
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
 
index 6300909..b32d81d 100644 (file)
@@ -22,6 +22,7 @@
 import osv
 import fields
 
+#.apidoc title: Object Services and Relational Mapping
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
 
index 1922d5e..143b599 100644 (file)
@@ -23,6 +23,8 @@
 from openerp.tools import flatten, reverse_enumerate
 import fields
 
+#.apidoc title: Domain Expressions
+
 
 class expression(object):
     """
index 9578a4d..eeb7e70 100644 (file)
@@ -19,6 +19,9 @@
 #
 ##############################################################################
 
+#.apidoc title: Object Relational Mapping
+#.apidoc module-mods: member-order: bysource
+
 """
   Object relational mapping to database (postgresql) module
      * Hierarchical structure
index acf262a..1327efe 100644 (file)
@@ -19,9 +19,7 @@
 #
 ##############################################################################
 
-#
-# OSV: Objects Services
-#
+#.apidoc title: Objects Services (OSV)
 
 import orm
 import openerp.netsvc as netsvc
index ab4f414..0b2bf47 100644 (file)
@@ -19,6 +19,7 @@
 #
 ##############################################################################
 
+#.apidoc title: Query object
 
 def _quote(to_quote):
     if '"' not in to_quote:
index ca2b86d..646967f 100644 (file)
@@ -31,5 +31,7 @@ import report_sxw
 
 import printscreen
 
+#.apidoc title: Reporting Support and Engines
+
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
 
index 1becd5e..1b751fa 100644 (file)
@@ -23,6 +23,8 @@ from simple import simple
 from rml import rml, rml2html, rml2txt, odt2odt , html2html, makohtml2html
 from render import render
 
+#.apidoc title: Report Rendering
+
 try:
     import Image
 except ImportError:
index 5d3ad49..43a508f 100644 (file)
@@ -20,6 +20,8 @@
 #
 ##############################################################################
 
+#.apidoc title: PostgreSQL interface
+
 """
 The PostgreSQL connector is a connectivity layer between the OpenERP code and
 the database, *not* a database abstraction toolkit. Database abstraction is what
@@ -28,6 +30,9 @@ the ORM does, in fact.
 See also: the `pooler` module
 """
 
+#.apidoc add-functions: print_stats
+#.apidoc add-classes: Cursor Connection ConnectionPool
+
 __all__ = ['db_connect', 'close_db']
 
 from threading import currentThread
index cc0f09e..2978210 100644 (file)
@@ -26,9 +26,11 @@ import marshal
 
 import netsvc
 
+#.apidoc title: Net-RPC classes
+
 class Myexception(Exception):
     """
-    custome exception object store 
+    custom exception object store
     * faultcode
     * faulestring
     * args
index 1604284..3d1cdc9 100644 (file)
@@ -32,5 +32,7 @@ from pdf_utils import *
 from yaml_import import *
 from sql import *
 
+#.apidoc title: Tools
+
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
 
index 9a59235..b35769f 100644 (file)
@@ -45,6 +45,8 @@ class MyOption (optparse.Option, object):
         self.my_default = attrs.pop('my_default', None)
         super(MyOption, self).__init__(*opts, **attrs)
 
+#.apidoc title: Server Configuration
+
 def check_ssl():
     try:
         from OpenSSL import SSL
index a79bbb0..dc66142 100644 (file)
@@ -20,6 +20,8 @@
 #
 ##############################################################################
 
+#.apidoc title: Utilities: tools.misc
+
 """
 Miscelleanous tools used by OpenERP.
 """
index 50e6181..959a878 100644 (file)
@@ -21,6 +21,8 @@
 
 import wkf_service
 
+#.apidoc title: Workflow objects
+
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: