Commit Graph

67978 Commits

Author SHA1 Message Date
Antonin Bourguignon a4af860968 [IMP] introduce a new kind of exception: RedirectWarning (warning with an additional redirection button)
bzr revid: abo@openerp.com-20130131181520-q5ol3ngsn93u7hg5
2013-01-31 19:15:20 +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
Antonin Bourguignon 32b506f1c2 [MERGE] trunk
bzr revid: abo@openerp.com-20130129101632-r2wtuahpxje5cpbi
2013-01-29 11:16:32 +01:00
Launchpad Translations on behalf of openerp 4144c0fc76 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125052421-1l7nshdho8sk43gx
2013-01-25 05:24:21 +00: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
Vo Minh Thu 6e9025cbea [IMP] oe initialize: added --coverage flag.
bzr revid: vmt@openerp.com-20130123163641-uumkklqpaxkyvsr8
2013-01-23 17:36:41 +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 11dbed0fb7 [IMP] only call ir.translation when necessary
bzr revid: abo@openerp.com-20130123153722-iijbl8hvesstneq3
2013-01-23 16:37:22 +01:00
Antonin Bourguignon 0b65aa2231 [IMP] fix a comment's indentation, remove a few whitespaces
bzr revid: abo@openerp.com-20130123152234-g2ou48xajxsq8sqj
2013-01-23 16:22:34 +01:00
Vo Minh Thu e2d5e0df9e [DOC] fixed -999999 title indentation.
bzr revid: vmt@openerp.com-20130122164517-ig8a44yzoretq94c
2013-01-22 17:45:17 +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
Vo Minh Thu 26a8748029 [DOC] openerp command is now part of the server project.
bzr revid: vmt@openerp.com-20130122160818-n8sx3tvgkk17zvdg
2013-01-22 17:08:18 +01:00
Vo Minh Thu 0448de981b [DOC] mail: fixed mt_ which was confused as a label by sphinx.
bzr revid: vmt@openerp.com-20130122160246-fr9353n5lf25f5ak
2013-01-22 17:02:46 +01:00
Vo Minh Thu 54298f8a51 [DOC] Title underline too short.
bzr revid: vmt@openerp.com-20130122155558-rwh2cs5zfzrvg6xh
2013-01-22 16:55:58 +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 aab0dd122a [MERGE] trunk
bzr revid: abo@openerp.com-20130122122250-8pu5jycraqj435nu
2013-01-22 13:22:50 +01:00
Vo Minh Thu 7b74eb79a7 [DOC] updated gunicorn doc, a.k.a. why we can't have nice things.
bzr revid: vmt@openerp.com-20130122112658-wu8ffx6h5c4otv1r
2013-01-22 12:26:58 +01:00
Launchpad Translations on behalf of openerp cdbc61e696 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130122050156-frbuj2wrkbqwsbw7
2013-01-22 05:01:56 +00:00
Launchpad Translations on behalf of openerp a254dd8468 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130119052245-7c9nfxousv7hjiw9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130120043702-jxhf1jf160ayk4b3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130121043953-ng40wyoqk63c8ydv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130122044704-m7mxpdcuht6bfnd2
2013-01-22 04:47:04 +00: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
Vo Minh Thu 6fe1c4faec [MERGE] merged oe-related changes:
- added a cron command
- added a web command
- added rst documentation
- changed the read command to use the environment when --addons is not given

bzr revid: vmt@openerp.com-20130121163525-im9rt2pvljz3bs7t
2013-01-21 17:35:25 +01:00
Vo Minh Thu 59e0ef08c4 [IMP] oe read: use common.set_addons().
bzr revid: vmt@openerp.com-20130121162701-1230alp0cc2l2u5e
2013-01-21 17:27:01 +01:00
Vo Minh Thu 9d56c47916 [IMP] oe read: use the environment if --addons is not provided.
bzr revid: vmt@openerp.com-20130121154107-uwa6pfowzks106xp
2013-01-21 16:41:07 +01:00
Vo Minh Thu 8a27967525 [IMP] oe web: handle SIGINT and somewhat SIGTERM for the gevent case.
bzr revid: vmt@openerp.com-20130121153540-wnlnz7u8ypwg165i
2013-01-21 16:35:40 +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
Launchpad Translations on behalf of openerp f63eb47ddf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130119052231-psmwaehrfcnapaqe
2013-01-19 05:22:31 +00:00
Antonin Bourguignon 64eedb6816 [WIP] start the implementation of WarningConfig
bzr revid: abo@openerp.com-20130118171619-dx0yjwuun0j7m43p
2013-01-18 18:16:19 +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
Vo Minh Thu 669885ce68 [IMP] oe web: use openerp/__init__ instead of tools.config to store the gevent flag (similarly to the multi_procsess flag).
bzr revid: vmt@openerp.com-20130118153235-hj6ttxargln4he4c
2013-01-18 16:32:35 +01:00
Antonin Bourguignon 8bd622202b [IMP] introduce a new type of exception: WarningConfig. Note that no corresponding RPC_FAULT_CODE has been added; WarningConfig will share the same RPC_FAULT_CODE than Warning (RPC_FAULT_CODE_WARNING = 2)
Also remove a few whitespaces

bzr revid: abo@openerp.com-20130118152346-5v4j94wjrq34hq4m
2013-01-18 16:23:46 +01:00
Vo Minh Thu 83b49ff625 [DOC] added prose for oe web and oe cron.
bzr revid: vmt@openerp.com-20130118144750-lddby5a526092vdi
2013-01-18 15:47:50 +01:00
Cedric Snauwaert 70cabfc65e [FIX]fleet: add m2o fields in inherited object to remove info warning upon installation
bzr revid: csn@openerp.com-20130118143902-vacsd5ltkug3ochx
2013-01-18 15:39:02 +01:00
Vo Minh Thu 8b8f9249b5 [FIX] oe web: always set gevent in tools.config.
bzr revid: vmt@openerp.com-20130118140053-d38r8zjhjatykhcz
2013-01-18 15:00:53 +01:00
Vo Minh Thu 24878795fe [IMP] oe web/cron: slight refactor.
bzr revid: vmt@openerp.com-20130118121619-be5n01rieac11oru
2013-01-18 13:16:19 +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
Launchpad Translations on behalf of openerp d931634596 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130116043546-iw1nrgh445uzwxmk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130117043559-blie9nkmwfpeutk2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130118050620-ezwzks5gdmbyi1mt
2013-01-18 05:06:20 +00: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 c33f6f7cca [MERGE] trunk
bzr revid: abo@openerp.com-20130117160622-3ham9h9c0egj1w4j
2013-01-17 17:06:22 +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 6b926883cc [IMP] add a missing import (exceptions)
bzr revid: abo@openerp.com-20130117155003-5akv67tylaz59s7l
2013-01-17 16:50:03 +01:00
Antonin Bourguignon 8214854b79 [IMP] doc
bzr revid: abo@openerp.com-20130117144755-r9oboeaw8rr1seqa
2013-01-17 15:47:55 +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 ff25f7a3d4 [IMP] use a var to store the menuitem separator
makes it easier to modify
makes it possible to import anywhere

bzr revid: abo@openerp.com-20130116171411-iugmyk4vqjewko2z
2013-01-16 18:14:11 +01:00
Xavier Morel a7ebaf73df [FIX] testing doc ref
bzr revid: xmo@openerp.com-20130116163721-zqnwkoa9osx660fb
2013-01-16 17:37:21 +01:00
Xavier Morel adf62ee837 [IMP] add ref to testing doc so it can be referenced from other docs
bzr revid: xmo@openerp.com-20130116163154-57nn7o1blqz4conc
2013-01-16 17:31:54 +01:00
Xavier Morel 3ee58b2a23 [IMP] don't reimplement randint manually
bzr revid: xmo@openerp.com-20130116143556-qlagrw7qhpuk8fuy
2013-01-16 15:35:56 +01:00
Vo Minh Thu f6e2a1314c [IMP] oe cron: use setproctitle, set openerp.multi_process.
bzr revid: vmt@openerp.com-20130116132541-r655evhfrptxxyxl
2013-01-16 14:25:41 +01:00
Antonin Bourguignon d2ea37e207 [MERGE] trunk
bzr revid: abo@openerp.com-20130116104947-wfsas5sps00cgs0l
2013-01-16 11:49:47 +01:00