Vo Minh Thu
965e55d7e6
[REV] REVERT TEH PREVIOUS SUTPID BROKD COMMIT.
...
bzr revid: vmt@openerp.com-20120210095946-dxs0e0cd4ffkccy9
2012-02-10 10:59:46 +01:00
Vo Minh Thu
3bb6596890
[IMP] import hook: allow and give precedence to our own modules.
...
This should be reverted for 6.2 when the openerp.addons namespace will
be the only option.
lp bug: https://launchpad.net/bugs/929466 fixed
bzr revid: vmt@openerp.com-20120209163016-1wiw1xsrppumjvfl
2012-02-09 17:30:16 +01:00
Vo Minh Thu
01449bfb37
[IMP] post_load: factored common code. This also fix bug lp:929466
...
lp bug: https://launchpad.net/bugs/929466 fixed
bzr revid: vmt@openerp.com-20120209152732-24ud1f70krliv2k5
2012-02-09 16:27:32 +01:00
Vo Minh Thu
d14a3e9df0
[IMP] loading: call post-load hook in non-server-wide-module too.
...
bzr revid: vmt@openerp.com-20120209141444-12261k6zd2ovnltd
2012-02-09 15:14:44 +01:00
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
Vo Minh Thu
4e2d5eba1c
[IMP] module loading: iterate on the module graph in deterministic order (by sorting modules for each level).
...
bzr revid: vmt@openerp.com-20111222090156-us0zccgy50buoi13
2011-12-22 10:01:56 +01:00
Fabien Pinckaers
dcfb40f18e
[IMP] order of main apps/modules
...
bzr revid: fp@tinyerp.com-20111218204731-50g37bd7un5igr84
2011-12-18 21:47:31 +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
Raphael Collet
9aa1ecbe58
[IMP] indicate tests in current thread, and prevent email sending during tests
...
bzr revid: rco@openerp.com-20111201153156-2ki7x22evf5ojyrz
2011-12-01 16:31:56 +01:00
Raphael Collet
3b3cf8e430
[IMP] mark as read all res_log entries created during a module installation
...
bzr revid: rco@openerp.com-20111017144615-e5b45twvm1s07ruf
2011-10-17 16:46:15 +02:00
Olivier Dony
0d2bc8f3ae
[FIX] modules.graph: avoid crash when a module has been deleted from the filesystem
...
bzr revid: odo@openerp.com-20111012155818-u07arzkokf9zshr0
2011-10-12 17:58:18 +02: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
Antony Lesuisse
2e00f144ec
[MERGE] basesetup-dynamic-stw
...
bzr revid: al@openerp.com-20111004223410-pbwkn5k4zq9ze1mj
2011-10-05 00:34:10 +02:00
Xavier Morel
6d70751dd7
[FIX] deadlock between crons scheduling and new registry initialization creation
...
bzr revid: xmo@openerp.com-20110930150026-m0h99fqk6qgne8i1
2011-09-30 17:00:26 +02:00
Stephane Wirtel
c9fe3b9200
[MERGE] Merge Upstream
...
bzr revid: stw@openerp.com-20110930102326-ic6hhmwu15i0r8l1
2011-09-30 12:23:26 +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
Stephane Wirtel
ccfcb47149
[IMP] base: each ir.module.category will be assigned with an
...
autogenerated xml-id during the creation of the database
[IMP] base: Create the records for the categories of OpenERP
bzr revid: stw@openerp.com-20110929115515-rqlwqfzndxblxqtz
2011-09-29 13:55:15 +02:00
Olivier Dony
f5fdb9f494
[FIX] cron/registry: typo
...
bzr revid: odo@openerp.com-20110928235048-ssfqeu7ug35isyfk
2011-09-29 01:50:48 +02:00
Olivier Dony
f2b9b58fd3
[IMP] cron: misc renaming and minor changes to improve reviewability ;-)
...
bzr revid: odo@openerp.com-20110928224429-up0k4ts3cdks1u2s
2011-09-29 00:44:29 +02:00
Olivier Dony
e7601e68cb
[MERGE] sync with latest trunk
...
bzr revid: odo@openerp.com-20110928211326-0e51q7zlw4h2528z
2011-09-28 23:13:26 +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
Antony Lesuisse
7a88d9058d
[MERGE] trunk
...
bzr revid: al@openerp.com-20110924145258-16r9qi7hr3dip1jz
2011-09-24 16:52:58 +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
Olivier Dony
2fbd4dfcdf
[FIX] loading: remove leftover debugging breakpoint
...
bzr revid: odo@openerp.com-20110923134413-d71l4y5265z3nwcb
2011-09-23 15:44:13 +02:00