Denis Ledoux
055c4b94f2
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5059 rev-id: dle@openerp.com-20130828125209-5jqwjqhrl17x7kpa
...
bzr revid: dle@openerp.com-20130828135425-yuls3wav79znadt3
2013-08-28 15:54:25 +02:00
Denis Ledoux
57818bb779
[FIX]res_config: in _install_modules, result returned by button_immediate_install must be returned, in order to launch the action if there is one. TODO fix,at the moment, if there are missing modules, this return statement prevent their installation
...
bzr revid: dle@openerp.com-20130828125209-5jqwjqhrl17x7kpa
2013-08-28 14:52:09 +02:00
Christophe Simonis
b01528e3f0
[FIX] res_config: add missing import lost during previous commit
...
bzr revid: chs@openerp.com-20130411183634-pmg5cn82f8s174y1
2013-04-11 20:36:34 +02:00
Christophe Simonis
841cf5aaad
merge upstream
...
bzr revid: chs@openerp.com-20130411154519-xvepmjrm4ibqddx7
2013-04-11 17:45:19 +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
Vo Minh Thu
fa3a3414f2
[FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
...
bzr revid: vmt@openerp.com-20130319142701-1cvo6dh2yvg4z81f
2013-03-19 15:27:01 +01:00
Antonin Bourguignon
74e7deafb8
[IMP] res_config doc
...
bzr revid: abo@openerp.com-20130222170541-26wsg1r8kkb0h4vp
2013-02-22 18:05:41 +01:00
Quentin (OpenERP)
0a27066e54
[REF] code review
...
bzr revid: qdp-launchpad@openerp.com-20130215143503-6a6x53gdeb6j33tm
2013-02-15 15:35:03 +01:00
Antonin Bourguignon
fd530ec981
[FIX] doc: the id of an action is a long, not an int
...
bzr revid: abo@openerp.com-20130212165318-joldqhz0apilwmsp
2013-02-12 17:53:18 +01:00
Antonin Bourguignon
e274ccc7cb
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130211150920-c5yam3yykht1qdpn
2013-02-11 16:09:20 +01:00
Antonin Bourguignon
a2d53ee33b
[IMP] the implementation of get_option_path(): return a tuple with the full path and the id of the action linked to the given menu xml id
...
bzr revid: abo@openerp.com-20130131181853-mp7r238q0zf5go4l
2013-01-31 19:18:53 +01:00
Antonin Bourguignon
2459399cac
[IMP] make get_config_warning() a method of res.config.settings, avoiding heavy import of res_config or long path calls like 'openerp.addons.base.res.res_config.get_config_warning()'
...
just use self.pool.get('res.config.settings').get_config_warning() instead
bzr revid: abo@openerp.com-20130130165642-pq5sbdluesxu7p6d
2013-01-30 17:56:42 +01:00
Antonin Bourguignon
3d0b141406
[IMP] remove default 'None' value (doesn't make sense anymore)
...
bzr revid: abo@openerp.com-20130130163032-jsfm0fa5r54wmvpv
2013-01-30 17:30:32 +01:00
Christophe Simonis
16289266c9
[FIX] res.config.installer: correct module installing
...
bzr revid: chs@openerp.com-20130125133453-aqu5eotetdyb2zpj
2013-01-25 14:34:53 +01:00
Christophe Simonis
c9c5f4b785
[FIX] res.config.installer: correct module installing
...
bzr revid: chs@openerp.com-20130124182808-5xvdc0mqst0h2970
2013-01-24 19:28:08 +01:00
Antonin Bourguignon
59dc49061c
[IMP] we don't need a special type of exception anymore
...
bzr revid: abo@openerp.com-20130124154119-5283u6x1it5xvt0r
2013-01-24 16:41:19 +01:00
Christophe Simonis
b3b800bd17
[FIX] signal registry change when install modules from config wizards
...
bzr revid: chs@openerp.com-20130123174724-bqonj3d4dufof2vw
2013-01-23 18:47:24 +01:00
Antonin Bourguignon
28960472df
[IMP] use fields_get() instead of _all_columns.get(): this method has the advantage to provide translation support
...
bzr revid: abo@openerp.com-20130123154943-2ux9vpts4pmvr7nq
2013-01-23 16:49:43 +01:00
Antonin Bourguignon
5cb047aa75
[IMP] add documentation
...
also replace the %(path:)s by %(menu:)s (more cohesive)
bzr revid: abo@openerp.com-20130122162223-no1wzf1gyxpdvzqk
2013-01-22 17:22:23 +01:00
Antonin Bourguignon
9419e59fef
[IMP] change the warning string's pattern to something more familiar to translators
...
bzr revid: abo@openerp.com-20130122143156-ffp79tdg1ryvr5y2
2013-01-22 15:31:56 +01:00
Antonin Bourguignon
8ab50cc0ef
[WIP] remove a useless translation phase
...
bzr revid: abo@openerp.com-20130121181650-md0t80lokegr5kx1
2013-01-21 19:16:50 +01:00
Antonin Bourguignon
0a0e5e9fb0
[WIP] heavy refactoring of the get option path feature
...
bzr revid: abo@openerp.com-20130121165916-9oc7ox7ygmpb6lhm
2013-01-21 17:59:16 +01:00
Antonin Bourguignon
9d8a2b9eb5
[WIP] move the code to another place
...
bzr revid: abo@openerp.com-20130121150748-3bw28jhvsj23s1zo
2013-01-21 16:07:48 +01:00
Antonin Bourguignon
6f5c0e1a08
[REV] reintroduce the model's name in the get_path()'s signature, but in a different way
...
bzr revid: abo@openerp.com-20130118171541-tyxl4k6w1wwa3kyl
2013-01-18 18:15:41 +01:00
Antonin Bourguignon
a075983249
[IMP] simplify the helper by using SUPERUSER_ID
...
bzr revid: abo@openerp.com-20130118110300-d0z0xr8df0zygiv5
2013-01-18 12:03:00 +01:00
Antonin Bourguignon
fb5288e93c
[IMP] get_path code; return a tuple instead of a string
...
also add a helper
bzr revid: abo@openerp.com-20130117183342-rhfnxh4y777rruqt
2013-01-17 19:33:42 +01:00
Antonin Bourguignon
c588e762d4
[IMP] simplify the new config reference mechanism code
...
bzr revid: abo@openerp.com-20130117160546-mg9g9zrbvp4poly6
2013-01-17 17:05:46 +01:00
Antonin Bourguignon
70890bfa32
[WIP] introduce a way to reference specific config options
...
bzr revid: abo@openerp.com-20130116171454-s4tt2f6le80oruc0
2013-01-16 18:14:54 +01:00
Antonin Bourguignon
fc58729b2f
[WIP] introduce a way to reference specific config options
...
bzr revid: abo@openerp.com-20130115174705-qldpq3le1ul4nh0j
2013-01-15 18:47:05 +01:00
Olivier Dony
d33266dc60
[FIX] res.config: install local modules directly, only use apps.openerp.com for missing ones
...
bzr revid: odo@openerp.com-20121221204539-u3h92damvgbd0539
2012-12-21 21:45:39 +01:00
Vo Minh Thu
83786b4178
[FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
...
bzr revid: vmt@openerp.com-20130319150057-fq6nkp4qhgy9x9mq
2013-03-19 16:00:57 +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
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
Christophe Simonis
0c7f17c0ac
merge upstream
...
bzr revid: chs@openerp.com-20121217172614-3z1pstu5th26wuuc
2012-12-17 18:26:14 +01:00
Cecile Tonglet
ad8b76de53
[MERGE] From trunk (second time)
...
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +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
Xavier Morel
c6079dd6bb
[REM] unnecessary parens
...
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Vo Minh Thu
509a084e79
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Christophe Simonis
478319c3ed
merge upstream
...
bzr revid: chs@openerp.com-20121031132638-nc2o9v0gnonl5l7l
2012-10-31 14:26:38 +01:00
Christophe Simonis
7d3f3d475b
merge upstream
...
bzr revid: chs@openerp.com-20121010115500-xz9oqr2g8vzr79jq
2012-10-10 13:55:00 +02:00
Olivier Dony
d8c74879e8
[REM] Remove unused ir.wizard.menu and ir.wizard.screen - internal wizards used for config, now gone ; some lint cleanup
...
bzr revid: odo@openerp.com-20120928122206-iynu3ilsurzecwde
2012-09-28 14:22:06 +02:00
Christophe Simonis
1805826566
[FIX] res_config: only install selected modules
...
bzr revid: chs@openerp.com-20120925151944-84a93rm1yvza79js
2012-09-25 17:19:44 +02:00
Christophe Simonis
7260de28d0
[IMP] res_config: return correct action for installing modules from apps
...
bzr revid: chs@openerp.com-20120921132911-n6mb58gxlo9aqflm
2012-09-21 15:29:11 +02:00
Christophe Simonis
f988ed24f6
merge upstream
...
bzr revid: chs@openerp.com-20120917124543-2nc36e0z6jb2szq4
2012-09-17 14:45:43 +02:00
Fabien Pinckaers
f721ff1d14
[FIX] launch config wizards after changing settings
...
bzr revid: fp@openerp.com-20121028123216-sj9ds9xa9wtiuzyy
2012-10-28 13:32:16 +01: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
pso (OpenERP)
3abb393247
[IMP] Improvements
...
bzr revid: pso@tinyerp.com-20120828125623-1nq457mpd1dijq4j
2012-08-28 18:26:23 +05:30
pso (OpenERP)
00a4560963
[MERGE] Merged MDI's branch to fix the issue of name_get of ir.actions.todo
...
bzr revid: pso@tinyerp.com-20120828124750-1kbqgdq0mrc0av2b
2012-08-28 18:17:50 +05:30
Raphael Collet
26665b7743
[IMP] after a module installation, reload the client and open the menu Feeds
...
bzr revid: rco@openerp.com-20120718135010-4933mmgw3n18epvy
2012-07-18 15:50:10 +02:00
Raphael Collet
e49264711c
[IMP] res.config.settings: add method 'cancel' to reload the view
...
bzr revid: rco@openerp.com-20120626074746-1x5x47rm01klx2hp
2012-06-26 09:47:46 +02:00