Commit Graph

37 Commits

Author SHA1 Message Date
Vo Minh Thu 876c61b052 [MERGE] merged logging changes: use a top-level `openerp` name space. Similar changes for the addons will be done after 6.1.
bzr revid: vmt@openerp.com-20120208105913-habqxas406osaz9z
2012-02-08 11:59:13 +01:00
Antony Lesuisse acc91886c6 [FIX] reintroduce a default value for auto_install (aka active) removed in 4003 revid:xmo@openerp.com-20120202154532-tq9x07ujf0bn9mcp
bzr revid: al@openerp.com-20120208005252-ke2v5mtkxpmyml6d
2012-02-08 01:52:52 +01:00
Vo Minh Thu 23eb63f139 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120206203151-3snkz7usngwtv1xt
2012-02-06 21:31:51 +01:00
Xavier Morel df8af0ec4a [FIX] in load_information_from_description_file, f can be a StringIO (in case of zipped module) and StringIO are not contextmanagers.
So rollback the context management thingie

bzr revid: xmo@openerp.com-20120202154532-tq9x07ujf0bn9mcp
2012-02-02 16:45:32 +01:00
Antony Lesuisse 1a62602c86 [MERGE] trunk
bzr revid: al@openerp.com-20120131211744-whzzo0dh6w1kptng
2012-01-31 22:17:44 +01:00
Vo Minh Thu 084af04092 [FIX] import-hook: correctly import the server-wide-module (i.e
use the openerp.addons namespace), and correctly set the submodules in
sys.modules (instead of only the top-level package).

bzr revid: vmt@openerp.com-20120201152710-s7sxlgibwd3lwr5l
2012-02-01 16:27:10 +01:00
Antony Lesuisse 89e411fb39 remove warning
bzr revid: al@openerp.com-20120130210429-zw7aziwhkhi0yhqv
2012-01-30 22:04:29 +01:00
Vo Minh Thu c22e8190da [IMP] manifest: still support the old `active` entry (but deprecate it and display a warning).
bzr revid: vmt@openerp.com-20120130113116-msjaej7jxp96tbvh
2012-01-30 12:31:16 +01:00
Vo Minh Thu 0d86e08450 [IMP] manifest: `auto_installable` renamed to `auto_install`.
bzr revid: vmt@openerp.com-20120130095238-x2by4y11joeytipr
2012-01-30 10:52:38 +01:00
Vo Minh Thu 5b63c4f560 [IMP] ir.module.module: change `active` flag to
`auto_installable`. An auto-installable module is a module automatically
installed by the OpenERP server as soon as its dependencies are
satisfied, without explicit user action.

bzr revid: vmt@openerp.com-20120126164049-smrcvrojy0b1z6f8
2012-01-26 17:40:49 +01:00
Vo Minh Thu f22f2fc770 [IMP] openerp.{modules,osv}: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124124252-91g3ysf33zsq4nhd
2012-01-24 13:42:52 +01:00
Vo Minh Thu 4d77e87495 [IMP] import hook: correctly set the imported module __name__.
bzr revid: vmt@openerp.com-20120124102024-ziajbxfxjs1kyurv
2012-01-24 11:20:24 +01:00
Vo Minh Thu 6c1ad196bf [IMP] openerp.modules: updated initialize_sys_path() docstring (although its name is now inaccurate).
bzr revid: vmt@openerp.com-20120110092730-rqewzuo1wa5wy2q5
2012-01-10 10:27:30 +01:00
Vo Minh Thu d348a0de79 [IMP] import hook: moved to a proper location (openerp.modules.module instead of openerp-server).
bzr revid: vmt@openerp.com-20120109125243-qhtr070dvtc3akb5
2012-01-09 13:52:43 +01:00
Vo Minh Thu 455e47e5e8 [IMP] openerp.addons: openerp.addons is used instead of
openerp.modules as the namespace of the OpenERP addons.

bzr revid: vmt@openerp.com-20120109124120-06gguu3lzxv49i3j
2012-01-09 13:41:20 +01:00
Vo Minh Thu 1560538f8a [IMP] module: use the `openerp.addons.` namespace to load addons.
(openerp.modules will be changed in openerp.addons in the next commit).

bzr revid: vmt@openerp.com-20120109123123-jt3canjbg0ozs05j
2012-01-09 13:31:23 +01:00
Vo Minh Thu f24a29717e [FIX] orm: correctly set the module name on the model, even when imported with
`import openerp.modules.<module_name>`.

bzr revid: vmt@openerp.com-20120109101647-4hvy3n6eifzeozzq
2012-01-09 11:16:47 +01:00
Vo Minh Thu 34a3991174 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120109083957-06ahuojw1d4m954g
2012-01-09 09:39:57 +01:00
Vo Minh Thu 64ec5f36df [IMP] modules: began to replace sys.path appending with an import hook.
bzr revid: vmt@openerp.com-20120109081206-p10yack8lhip11gt
2012-01-09 09:12:06 +01:00
Olivier Dony cf113c2316 [FIX] base: module sequence number removed from XML data, moved to individual module manifests
Having the sequence number living outside the module itself
causes various problems at initialization when modules are
missing (e.g. if creating a database with `base` only).
It is also cleaner to have the module sequence in the
module manifest, like other module metadata.
A corresponding commit in the addons project adds the
`sequence` field in the manifest of all modules who
have a non-default sequence (the main apps).

bzr revid: odo@openerp.com-20120107041745-tik3iu1b2qs4ym85
2012-01-07 05:17:45 +01:00
Xavier Morel 9e94b86bfe [IMP] icon management in modules
* If icon is present in descriptor file, use that path
* Else try to find #{module}/static/src/img/icon.png
* Else fallback on /base/static/src/img/icon.png

bzr revid: xmo@openerp.com-20111209122803-elwonegpl8kut7pf
2011-12-09 13:28:03 +01:00
Xavier Morel c25475879c [IMP] opening and getting data from module description file
bzr revid: xmo@openerp.com-20111209120207-3kkyvwedbjez29rl
2011-12-09 13:02:07 +01:00
Xavier Morel 80de80c7dd [IMP] reduce noise in setting default values of module descriptor file
bzr revid: xmo@openerp.com-20111209115316-2gqwmn2pi34vzu29
2011-12-09 12:53:16 +01:00
Antony Lesuisse 926041c8b8 [MERGE] module kanban
bzr revid: al@openerp.com-20111208224332-4wg6k0w1uzuwlyum
2011-12-08 23:43:32 +01:00
Antony Lesuisse 7e12f46469 [IMP] ir.module.module: rename is_application to application
bzr revid: al@openerp.com-20111208222241-n9raoe1jec4llh26
2011-12-08 23:22:41 +01:00
Minh Tran 3a84d1c8b0 Changed modules icons in the vignette
bzr revid: mit@openerp.com-20111208161124-o325usj9ikheewv8
2011-12-08 17:11:24 +01:00
Christophe Simonis 9b9d4f0928 [IMP] ir.module.module: rename 'core' to 'is_application'
bzr revid: chs@openerp.com-20111208145101-oth2k8xuymze7y2l
2011-12-08 15:51:01 +01:00
Fabien Pinckaers f7d4c3384d [IMP] Core features on modules, better views for modules
bzr revid: fp@tinyerp.com-20111206111531-qdkajwatqzb0dz45
2011-12-06 12:15:31 +01:00
Antony Lesuisse 5dd1e2e43c [FIX] complexity default, and base category
bzr revid: al@openerp.com-20111004231534-ay78ghc46ihb91mx
2011-10-05 01:15:34 +02:00
Stephane Wirtel 53554035ae [FIX] store the complexity field from the manifest during the database creation
bzr revid: stw@openerp.com-20110930095814-4o01upd0krmysbid
2011-09-30 11:58:14 +02:00
Olivier Dony 209390d627 [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110927165133-uwl7px6bxl6eu7us
2011-09-27 18:51:33 +02:00
Olivier Dony 334dee0479 [IMP] orm: fix Model hierarchy to avoid TransientModel leaking downstream
bzr revid: odo@openerp.com-20110923174018-8l2b4qc1vecgs0sc
2011-09-23 19:40:18 +02:00
Vo Minh Thu 46ad605226 [IMP] wsgi:
- added Microsoft specific header for webdav.
- serve WSGI handlers with werkzeug when available.
- effectively use WSGI instead of netsvc HTTP stack.

bzr revid: vmt@openerp.com-20110914104300-n0l3dnmdu3jau7w2
2011-09-14 12:43:00 +02:00
Vo Minh Thu 8ca1a87201 [IMP] wsgi: modules can be pre-loaded and expose a WSGI handler.
An option --load is added to list the modules to pre-load.
sys.path and sys.modules are initialized when the config is
parsed.

bzr revid: vmt@openerp.com-20110902133136-4v7fgptyd0g1kc5s
2011-09-02 15:31:36 +02:00
Vo Minh Thu 2f5e8d48b3 [REF] osv: moved (and adapted) vacuum code to osv_memory.
bzr revid: vmt@openerp.com-20110812113355-lylavdsc3mqjovrj
2011-08-12 13:33:55 +02:00
Vo Minh Thu 1b45a892dd [REF] orm: defer foreign key creation.
bzr revid: vmt@openerp.com-20110610140521-mdd6zvvzeoubier4
2011-06-10 16:05:21 +02:00
Vo Minh Thu 1fe579d8ec [REF] module code goes into openerp.modules.module.
bzr revid: vmt@openerp.com-20110511172448-p12p1rizvf3lqv97
2011-05-11 19:24:48 +02:00