摘要: Fields Basic fields The field descriptor contains the field definition, and manages accesses and assignments of the corresponding field on records. Th 阅读全文
posted @ 2017-06-16 11:08 553490191 阅读(443) 评论(0) 推荐(0) 编辑
摘要: class BaseModel(object): """ Base class for OpenERP models. OpenERP models are created by inheriting from this class' subclasses: * :class:`Model` for regular database-persisted model... 阅读全文
posted @ 2017-06-16 10:22 553490191 阅读(341) 评论(0) 推荐(0) 编辑
摘要: Environment The Environment stores various contextual data(上下文数据 ) used by the ORM: the database cursor (for database queries), the current user (for 阅读全文
posted @ 2017-06-16 09:53 553490191 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Other recordset operations Recordsets are iterable(可迭代的) so the usual Python tools are available for transformation (map(), sorted(), ifilter(), ...) 阅读全文
posted @ 2017-06-16 09:45 553490191 阅读(202) 评论(0) 推荐(0) 编辑