Commit Graph

26 Commits

Author SHA1 Message Date
Vo Minh Thu 157580b8e8 [IMP] xmlrpc: use proper exception type to map to xmlrpc error codes.
bzr revid: vmt@openerp.com-20110926151403-fhx4ph22tua2s3st
2011-09-26 17:14:03 +02:00
Vo Minh Thu bbd10d96c0 [IMP] exceptions: replace ExceptionNoTb with AccessDenied.
bzr revid: vmt@openerp.com-20110926125358-8yy4tvnemfna72u7
2011-09-26 14:53:58 +02:00
Vo Minh Thu c4d7dde645 [REF] netsvc: object_proxy is no longer in netsvc.
bzr revid: vmt@openerp.com-20110729083824-onx5kklbgzb9pok2
2011-07-29 10:38:24 +02:00
Vo Minh Thu 64490ad5ac [REF] netsvc: removed unused kwarg.
bzr revid: vmt@openerp.com-20110728141910-r0z95l3mf1zeh8us
2011-07-28 16:19:10 +02:00
Vo Minh Thu e193912717 [REF] netsvc: removed exportMethod that was only used with the previously removed class LocalService.
bzr revid: vmt@openerp.com-20110728123916-cobk8vk2oktkidke
2011-07-28 14:39:16 +02:00
P. Christeas cf6e623f7d API docs: settings file and titles at modules
bzr revid: xrg@linux.gr-20110623090357-nazly8vpfnw0iskr
2011-06-23 12:03:57 +03:00
Vo Minh Thu abb606aa7c [MERGE] orm: _auto_init made of smaller methods, use a metaclass to discover new models.
bzr revid: vmt@openerp.com-20110615160123-7bk8u94y916mdpkj
2011-06-15 18:01:23 +02:00
Vo Minh Thu 55c220f137 [MERGE] [osv: moved osv_pool to modules/registry.
bzr revid: vmt@openerp.com-20110615153954-d0fbws57z2w2r6db
2011-06-15 17:39:54 +02:00
Vo Minh Thu dc4ee86376 [REF] osv: use a metaclass to discover new models.
bzr revid: vmt@openerp.com-20110615102115-sjobt06ag72xiqaf
2011-06-15 12:21:15 +02:00
Vo Minh Thu 26f22874d9 [LINT] removed unused variable, forgot to change two variables in last commit, corrected typo introduced at 3417.6.6.
bzr revid: vmt@openerp.com-20110615072231-jh977xk1jupekkpp
2011-06-15 09:22:31 +02:00
Vo Minh Thu e375049414 [REF] osv: moved osv_pool to modules/registry.
bzr revid: vmt@openerp.com-20110614142226-yd3y39a8z3ubwvxm
2011-06-14 16:22:26 +02:00
Yogesh (OpenERP) 522b77fdfa [FIX] fix problem of variable name.
bzr revid: ysa@tinyerp.com-20110601094908-9o24f6ohms7fx6p9
2011-06-01 15:19:08 +05:30
Vo Minh Thu 554b33978a [IMP] osv: removed unnecessary module arg, added comments.
bzr revid: vmt@openerp.com-20110527123236-tvd4jgco8iigmrxh
2011-05-27 14:32:36 +02:00
Vo Minh Thu ee58f9da5f [FIX] osv_pool: it appears it is necessary to have the model in the pool earlier on.
bzr revid: vmt@openerp.com-20110527100310-qw9760rd8spiwjgm
2011-05-27 12:03:10 +02:00
Vo Minh Thu a87ebe9600 [REF] osv:
- make it more explcicit in osv_pool that afreshly instanciated object is added to the pool
- osv_pool.init_set() is called just once with False, so
  no need to check if it is the first time it is called or
  if is called with True
- and rename it in do_parent_store as it is what it does.

bzr revid: vmt@openerp.com-20110526210532-a8i91shptz5h4k48
2011-05-26 23:05:32 +02:00
Vo Minh Thu 131def0f9e [REF] osv: osv classes merged inside orm classes.
- osv_base removed
- osv_memory and osv are synonyms for orm_memory and orm.

bzr revid: vmt@openerp.com-20110526182445-po5xqt7sjcmzompl
2011-05-26 20:24:45 +02:00
Vo Minh Thu a2087303c8 [REF] osv: factored out duplicated createInstance methods.
bzr revid: vmt@openerp.com-20110525221907-48dgtocw3wsnakow
2011-05-26 00:19:07 +02:00
Vo Minh Thu 2f6dff7690 [MERGE] moved around some code (preparing for some refactoring) (large diff).
bzr revid: vmt@openerp.com-20110525160607-45pq13910rduijkk
2011-05-25 18:06:07 +02:00
Vo Minh Thu 823abab958 [MERGE] merged changes from 6.0
bzr revid: vmt@openerp.com-20110525151149-78gkoolppmjekrl6
2011-05-25 17:11:49 +02:00
Vo Minh Thu 4ba3f3c804 [REF] osv, modules/__init__cosmetic renaming, added comments.
bzr revid: vmt@openerp.com-20110519090300-bodss011798ep5cy
2011-05-19 11:03:00 +02:00
Vo Minh Thu 0770057935 [REF] explicit service objects instanciation.
bzr revid: vmt@openerp.com-20110507112129-hfrly9easfby9hns
2011-05-07 13:21:29 +02:00
AVP(Axelor) fb7a13668c [REF] code improvement
bzr revid: amp@tinyerp.com-20110429085145-ybql99jhrk5fdxqf
2011-04-29 14:21:45 +05:30
Vo Minh Thu 4b3357652d [REF] osv_pool cleaning:
- removed unused variables (module_list, module_object_list, created)
  - removed unecessary call to del on a dictionary
  (as its element is replaced anyway)
  - added some comments

bzr revid: vmt@openerp.com-20110519085035-p9ohve0nfkudgrx5
2011-05-19 10:50:35 +02:00
Vo Minh Thu 0e1186dd3d [REF] openerp.pooler/openerp.sql_db: cleaner dependencies:
- openerp.pooler no longer provides get_db_only, which is a provided by sql_db
- openerp.sql_db does not rely anymore on netsvc, which is goog as it was
making a circular import. The downside is that db_close callers have to clean
also the Agent themselves.

bzr revid: vmt@openerp.com-20110420141407-au0oanwjc0t15vy5
2011-04-20 16:14:07 +02:00
Vo Minh Thu 0b42209314 [REF] osv.py: removed unused variable class_pool.
bzr revid: vmt@openerp.com-20110418134236-p5a1wikw10wtplvg
2011-04-18 15:42:36 +02:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00