Christophe Simonis
a7c2125735
[MERGE] forward port of branch saas-4 up to 6b8e972
2014-06-10 13:15:46 +02:00
Christophe Simonis
6b8e9727e5
[MERGE] forward port of branch saas-3 up to 4601d85
2014-06-10 12:29:47 +02:00
Christophe Simonis
4601d85944
[MERGE] forward port of branch 7.0 up to 6fdb783
2014-06-10 11:49:14 +02:00
Martin Trigaux
426993e06d
uninstall: avoid errors during uninstall
...
When uninstalling a module, remove the ir.model.constraint after removing the non-model records and before fields and model definition.
Without this fix, some constraint would be removed too early allowing to have broken relations and data left from removed module.
2014-06-05 12:52:11 +02:00
Jitendra Prajapati (OpenERP)
39312207d7
[MERGE]with main branch
...
bzr revid: jpr@tinyerp.com-20140415053250-r784vpfu9x8gnfll
bzr revid: jpr@tinyerp.com-20140424045737-h6pshjslqw8xqyvm
2014-04-24 10:27:37 +05:30
Christophe Simonis
3d2e9b4d2b
[MERGE] forward port of branch 7.0 up to revid 5281 launchpad_translations_on_behalf_of_openerp-20140412094159-mhy3v2prb3ctx32k
...
bzr revid: jke@openerp.com-20140409153527-mic1a8afcvdhsd27
bzr revid: chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
bzr revid: chs@openerp.com-20140415133650-y46i0o3qkb2atbvi
2014-04-15 15:36:50 +02:00
Jitendra Prajapati (OpenERP)
1d54a738d5
[IMP]improve if condition for more menu in module form view
...
bzr revid: jpr@tinyerp.com-20140410120828-23mwiujn165b5afh
2014-04-10 17:38:28 +05:30
Christophe Simonis
15680c94e1
[MERGE] forward port of branch saas-3 up to revid 5115 chs@openerp.com-20140410102422-fcwxhjk40z0oy8x5
...
bzr revid: chs@openerp.com-20140410105454-6utwgruj80h8wdss
2014-04-10 12:54:54 +02:00
Christophe Simonis
52760fd424
[FIX] modules: install_from_urls: restrict to administrators. Urls must come from apps server.
...
[FIX] modules: download() method is now a no-op. This method was in fact already a no-op as the "url" field is never set explicitly in the code.
bzr revid: chs@openerp.com-20140410095817-bkni63g346wneybb
2014-04-10 11:58:17 +02:00
Jitendra Prajapati (OpenERP)
bf605938b2
[MERGE]with main branch
...
bzr revid: jpr@tinyerp.com-20140319051226-05pee6q8ih606s1i
2014-03-19 10:42:26 +05:30
Martin Trigaux
24b0b132d4
[FIX] module: fix imports broken at revision 5055
...
get_module_resource method is required by function fields of ir.module.module
bzr revid: mat@openerp.com-20140211105525-tuhs10hb8y3o1rnp
2014-02-11 11:55:25 +01:00
Jitendra Prajapati (OpenERP)
becabd773d
[MERGE]with lp:openobject-server
...
bzr revid: prajapatijitendra7969@gmail.com-20140120051943-sms7kklx4q87hrow
2014-01-20 10:49:43 +05:30
Martin Trigaux
216303c2fa
[FIX] ir_translation: rename method load to load_module_terms to avoid name clash with load call from base_import
...
bzr revid: mat@openerp.com-20131230125307-kald7ir36bvq3o7c
2013-12-30 13:53:07 +01:00
Jitendra Prajapati (OpenERP)
7c29fcf8fe
[IMP]Remove 'Module Immediate Install' from More option in form view
...
bzr revid: prajapatijitendra7969@gmail.com-20131217105705-yif5w0bw919p8t2b
2013-12-17 16:27:05 +05:30
Jitendra Prajapati (OpenERP)
e9ff48c477
[IMP]remove 'Module Immediate Install' from more
...
bzr revid: jpr@tinyerp.com-20131119054247-wycdsjdj2cdaapbs
2013-11-19 11:12:47 +05:30
Pooja Zankhariya (OpenERP)
ec069aa367
[MISC]Spaces
...
bzr revid: pza@tinyerp.com-20131111093541-3zxs8tnn9bkrc3jd
2013-11-11 14:35:41 +05:00
Pooja Zankhariya (OpenERP)
1261770ea1
[IMP]Removed 'Module Immediate Install' from More of Installed Modules
...
bzr revid: pza@tinyerp.com-20131106075649-wp4ko27kqxpvsu28
2013-11-06 12:56:49 +05:00
Antony Lesuisse
e6b18fc7aa
rename server
...
bzr revid: al@openerp.com-20131005221829-a18vx5ag6ef4ufee
2013-10-06 00:18:29 +02:00
Antony Lesuisse
2170da5e1e
merge trunk
...
bzr revid: al@openerp.com-20131005220411-l1op0sya6h515m5b
2013-10-06 00:04:11 +02:00
Antony Lesuisse
0a75a6b5ff
simplier autoreload working
...
bzr revid: al@openerp.com-20131005212240-5lp8tgwukeg5wwdq
2013-10-05 23:22:40 +02:00
Christophe Simonis
ef96f0424a
[IMP] ir.module.module: _get_views(): explictly skip non-existing records instead of catching exceptions. This avoid useless error logs
...
bzr revid: chs@openerp.com-20130919115014-bwjaar877w04k41s
2013-09-19 13:50:14 +02:00
Antony Lesuisse
3d6a073acb
[MERGE] html module description
...
bzr revid: al@openerp.com-20130628100407-3k5wy3767lbc3788
2013-06-28 12:04:07 +02:00
Christophe Matthieu
68080eb17f
[IMP] description.html to index.html
...
bzr revid: chm@openerp.com-20130603142201-l3pdz4s5ggxjdf8w
2013-06-03 16:22:01 +02:00
Christophe Matthieu
71d93466e7
[IMP] css app description relative href
...
bzr revid: chm@openerp.com-20130531093901-41uqp52xeef8yu37
2013-05-31 11:39:01 +02:00
Christophe Matthieu
2d68063080
[IMP] css
...
bzr revid: chm@openerp.com-20130530152741-mdzjtuvalkmvmanh
2013-05-30 17:27:41 +02:00
Christophe Matthieu
33a40f131a
[IMP] parse description html to change image src to [module]/static/description/image_url
...
bzr revid: chm@openerp.com-20130530142902-bv4ol10s4n119c8i
2013-05-30 16:29:02 +02:00
Christophe Matthieu
9f8d8b82c0
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20130530135242-6nmbjvixrst9llsh
2013-05-30 15:52:42 +02:00
Christophe Matthieu
4bf6a7ea4c
[IMP] parse description html to change image src to [module]/static/description/image_url
...
bzr revid: chm@openerp.com-20130530135147-oij26myykrngrig1
2013-05-30 15:51:47 +02:00
Christophe Simonis
261dea6fec
[MERGE] forward port of server v7 up to revision 4954
...
bzr revid: qdp-launchpad@openerp.com-20130422093655-txqmbalod6qmw1s6
bzr revid: chs@openerp.com-20130423183723-9kiexdyzdew8iuzm
2013-04-23 20:37:23 +02:00
Fabien Pinckaers
8e45eea5d1
[IMP] merge from fva + small changes in .py loading
...
bzr revid: fp@openerp.com-20130406144259-2gg6hte6dueaxcwt
2013-04-06 16:42:59 +02:00
Vo Minh Thu
307ca374d6
[MERGE] forward merge 7.0 until revision 4919.
...
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Vo Minh Thu
1e7e2ca753
[REF] no longer use openerp.pooler.
...
Either use openerp.modules.registry.RegistryManager when the full
new() signature is needed, or use openerp.registry().
Replaced also some pool.get() with pool[] because KeyErrors
are better than AttributeErrors on None.
bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
2013-03-27 12:10:14 +01:00
Frédéric van der Essen
18b74e942b
[IMP] load description from 'description.html' file in module directory
...
bzr revid: fva@openerp.com-20130325173625-ntb9z3bgcr85ozpl
2013-03-25 18:36:25 +01:00
Olivier Dony
9770caedf3
[FIX] registry: another pass of cleanup for registry signaling
...
Some important points to consider:
- signaling should be done after any schema alteration (including module [un]installation),
service registration (e.g. reports)
- the changes need to be committed to the database *before* signaling, otherwise an
obvious race condition occurs during reload by other workers
- any call to restart_pool() must be considered a possible candidate for
signaling, and the 2 above conditions must be checked
The number of explicit calls was reduced by forcing the signaling at the end of
Registry.new() in case `update_module` was passed as True. In that situation
we always want to signal the changes - so all the redundant signaling calls
can be centralized. We can also assume that the relevant changes have already
been committed at that point, otherwise the registry update would not
have worked in the first place.
This means that there is no need for explicit signaling anymore everytime
`restart_pool` is called with `update_module=True`.
Some missing cr.commit() and explicit signaling calls were added or
moved to the right place. As a reminder: signaling must be done
*after* committing the changes, and usually *after* reloading the
registry on the current worker.
bzr revid: odo@openerp.com-20130301143203-e2csf5pkllwhmwqs
2013-03-01 15:32:03 +01:00
Christophe Simonis
5032dad17d
[FIX] module: install_from_urls: restrict to administrators. Urls must come from apps server.
...
lp bug: https://launchpad.net/bugs/1129299 fixed
bzr revid: chs@openerp.com-20130218175559-ygo0goytspg119bl
2013-02-18 18:55:59 +01:00
Christophe Simonis
b3300f6074
[FIX] signal registry change when uninstall modules
...
bzr revid: chs@openerp.com-20130123153345-x7jm13eieqgeg5i7
2013-01-23 16:33:45 +01:00
Christophe Simonis
3574038ffd
[FIX] apps: install_from_url: fix install condition + better logging
...
bzr revid: chs@openerp.com-20130117132924-ejzbkh5przqi6hwf
2013-01-17 14:29:24 +01:00
Olivier Dony
df69f4b08a
[FIX] ir.module: installation from urls: better logging + fix mixing local and remote modules in one call
...
(empty module URL means local module is available and should be installed)
bzr revid: odo@openerp.com-20130117012312-kwr1iaf590ll4wm1
2013-01-17 02:23:12 +01:00
Antony Lesuisse
565853b732
[MERGE] trunk
...
bzr revid: al@openerp.com-20121219030106-i59u10tml3baqvun
bzr revid: al@openerp.com-20121219150107-8l92w2bi510yem45
2012-12-19 16:01:07 +01:00
Antony Lesuisse
c7d6df8fa3
[MERGE] module update_list signal wsgi handlers
...
bzr revid: al@openerp.com-20121219025908-hd8megr7fc6m4o7m
2012-12-19 03:59:08 +01:00
Christophe Simonis
0c7f17c0ac
merge upstream
...
bzr revid: chs@openerp.com-20121217172614-3z1pstu5th26wuuc
2012-12-17 18:26:14 +01:00
Cecile Tonglet
5f0070dcb6
[FIX] Remove unused imports and fix some imports that doesn't use the new namespace
...
bzr revid: cto@openerp.com-20121217143029-e9ki4ftwihq7pdme
2012-12-17 15:30:29 +01:00
Antony Lesuisse
1db5e67ed4
[MERGE] autoinstall at least one dependency must be to install by rco
...
bzr revid: al@openerp.com-20121211185310-jq6cci7740n54b4a
2012-12-11 19:53:10 +01:00
Raphael Collet
fbc37241cc
[IMP] modify the condition to auto-install a module: at least one dependency must be 'to install'
...
bzr revid: rco@openerp.com-20121211144010-3bbszb3ajxr3doup
2012-12-11 15:40:10 +01:00
Christophe Simonis
236df95b22
merge upstream
...
bzr revid: chs@openerp.com-20121210132406-9ro3amw6s6pzeez4
2012-12-10 14:24:06 +01:00
Antony Lesuisse
3d2a09a973
multiprocessing signaling manually backported from 6.1
...
bzr revid: al@openerp.com-20121208181151-lfy956ysnok5b5hf
2012-12-08 19:11:51 +01:00
Christophe Simonis
a208447a3d
merge upstream
...
bzr revid: chs@openerp.com-20121128184100-rkr90mrx38fh9q4l
2012-11-28 19:41:00 +01:00
Christophe Simonis
e03f111704
[FIX] module: do not recreate categories when updating modules
...
bzr revid: chs@openerp.com-20121128183701-6d7p1jqu1hdlshcp
2012-11-28 19:37:01 +01:00
Christophe Simonis
9cdc77b6ea
[IMP] modules: go home after restart of server
...
bzr revid: chs@openerp.com-20121031120301-b6680zyxq7u1wxq4
2012-10-31 13:03:01 +01:00
Vo Minh Thu
72f59ff45e
[FIX] modules: avoid to have the docutils' warnings rendered inline.
...
The html rendering of the __openerp__.py description is done using docutils.
This patch removes the warnings that docutils inserts in the resulting document
and log them. Docutils still generates spurious output on stderr though.
(An alternative is to use the `report_level` option but in that case it seems
we can never witness the warnings being created.)
bzr revid: vmt@openerp.com-20121025130111-7l157hexh6ew9w34
2012-10-25 15:01:11 +02:00