Commit Graph

163 Commits

Author SHA1 Message Date
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
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
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 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
Christophe Simonis 9dffee0522 merge upstream
bzr revid: chs@openerp.com-20121024114831-5eyxqxd7y066v30d
2012-10-24 13:48:31 +02:00
Fabien Pinckaers 2067192d37 [IMP] rename columns for importation
bzr revid: fp@tinyerp.com-20121024084409-ad4kuccw6bki3zdg
2012-10-24 10:44:09 +02:00
Mayur Maheshwari (OpenERP) e1dfd1fadc [IMP]all: imporve string state to status
bzr revid: mma@tinyerp.com-20121012122419-mtiw3wpxlcbl4y1r
2012-10-12 17:54:19 +05:30
Christophe Simonis 7d3f3d475b merge upstream
bzr revid: chs@openerp.com-20121010115500-xz9oqr2g8vzr79jq
2012-10-10 13:55:00 +02:00
Olivier Dony 2a96eb4944 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121003161807-3nwp7kvc3s2eh2xf
2012-10-03 18:18:07 +02:00
Christophe Simonis 5eccc93177 [FIX] base: modules: install_from_urls: an empty url mean nothing to download
bzr revid: chs@openerp.com-20121002132535-l0tajxiqydn7ahcv
2012-10-02 15:25:35 +02:00
Christophe Simonis bbf705dbcf [FIX] modules: correct "openerp" update
bzr revid: chs@openerp.com-20121002100639-lx61srh0v119avj0
2012-10-02 12:06:39 +02:00
Christophe Simonis 86b91826a3 [FIX] apps: reload client when updating a module
bzr revid: chs@openerp.com-20120928113143-drizsnkiev35r8y1
2012-09-28 13:31:43 +02:00
Fabien Pinckaers a48c57df40 [IMP] no certificate
bzr revid: fp@tinyerp.com-20120926121536-9836j42ulu8wcir8
2012-09-26 14:15:36 +02:00
Olivier Dony 550751b358 [IMP] translations: wip, remove unnecessary code, support loading PO comments and storing them, split ir.translation view data in separate XML file
bzr revid: odo@openerp.com-20120913142920-ggpeqth4s2wwqwd2
2012-09-13 16:29:20 +02:00
Christophe Simonis 2b00459e1e [IMP] flake8 openerp/addons/base/module/module.py
bzr revid: chs@openerp.com-20120911130037-vmi1s1b92ihqwutj
2012-09-11 15:00:37 +02:00
Christophe Simonis 700d229760 merge
bzr revid: chs@openerp.com-20120911120807-8wvvh0tubdoqkwa0
2012-09-11 14:08:07 +02:00
Christophe Simonis 8458885ff1 [WIP]
bzr revid: chs@openerp.com-20120911120257-zm1ho30fpb6vln59
2012-09-11 14:02:57 +02:00
Christophe Simonis a37175f85a [FIX] correct config wizard to not crash if a module is not found
bzr revid: chs@openerp.com-20120911115003-8a9a0f8dsoirkx9i
2012-09-11 13:50:03 +02:00
Olivier Dony 9a577ef431 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20120911114104-vk8afbjq9ao1dqr2
2012-09-11 13:41:04 +02:00
Fabien Meghazi 60d217e4a6 [FIX] Fix al fix
bzr revid: fme@openerp.com-20120911103853-dcx4u5gmsjzorny3
2012-09-11 12:38:53 +02:00