Commit Graph

4384 Commits

Author SHA1 Message Date
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
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
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 aab0dd122a [MERGE] trunk
bzr revid: abo@openerp.com-20130122122250-8pu5jycraqj435nu
2013-01-22 13:22:50 +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
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 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
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 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 3ee58b2a23 [IMP] don't reimplement randint manually
bzr revid: xmo@openerp.com-20130116143556-qlagrw7qhpuk8fuy
2013-01-16 15:35:56 +01:00
Antonin Bourguignon d2ea37e207 [MERGE] trunk
bzr revid: abo@openerp.com-20130116104947-wfsas5sps00cgs0l
2013-01-16 11:49:47 +01:00
Xavier Morel bffe30c15b [IMP] Use StringIO rather than io.BytesIO, avoid deprecated operator
Rest of OpenERP code uses StringIO, consistency is probably a good
idea there: if it needs to be fixed for p3 compatibility it can be
fixed everywhere, existing io.BytesIO calls may be missed or
ill-interpreted.

bzr revid: xmo@openerp.com-20130116104637-o1qyx38jjppg6oqr
2013-01-16 11:46:37 +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
Thibault Delavallée 229af47ec9 [MERGE] Foward-port server 7.0 until 4787.
bzr revid: tde@openerp.com-20130115100405-rc75cueauugdsu39
bzr revid: tde@openerp.com-20130115141905-90mzlbai3vwwi84a
2013-01-15 15:19:05 +01:00
Vo Minh Thu b146cd6fec [ADD] oe: added cron sub-command to run a single process dedicated to cron jobs.
bzr revid: vmt@openerp.com-20130115140110-fwu7yb2v0sj3oqqv
2013-01-15 15:01:10 +01:00
Olivier Dony 4eac510461 [FIX] ir.mail_server: properly handle the --smtp-ssl command-line option + map it to STARTTLS as a safer default
bzr revid: odo@openerp.com-20130115124058-81kgv0cy9jp96ln4
2013-01-15 13:40:58 +01:00
Fabien Pinckaers c095e2d340 [FIX] document management, file do not exists
bzr revid: fp@tinyerp.com-20130114174355-ygieirm80j9ftixx
2013-01-14 18:43:55 +01:00
Olivier Dony 3ad16170f3 [MERGE] tools.translate: fix extraction of translation terms from mako source files, courtesy of Niels Huylebroeck (Agaplan)
bzr revid: odo@openerp.com-20130114112831-87gmdtqzaa55zssf
2013-01-14 12:28:31 +01:00
Olivier Dony ef4fb0f6ba [FIX] apps: make warning messages translatable
bzr revid: odo@openerp.com-20130111175905-a50b1adne55dekrt
2013-01-12 06:59:05 +13:00
Olivier Dony 8e5f0e2ce2 [FIX] fields.date[time]: context_today()/context_timestamp() should fallback to user TZ if context TZ is missing
This takes care of cases where the context is missing,
e.g. for workflow-based operations, and is similar
to the way tools.translate._() falls back to the user
language.

lp bug: https://launchpad.net/bugs/949516 fixed

bzr revid: odo@openerp.com-20130111175717-u8r1t7s8872bz2rx
2013-01-12 06:57:17 +13:00
Olivier Dony ecc56794cd [FIX] ir.mail_server: correct fallback to smtp parameters provided in server config/command-line
bzr revid: odo@openerp.com-20130111161201-3w8o2voiauxyvxzz
2013-01-12 05:12:01 +13:00
Launchpad Translations on behalf of openerp 4345556628 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130112054022-r3v2m3r8ftr373kl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130113052739-ol5rj9c4s6r9u6gh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130114051737-tqxmwkgixvl7dxd8
2013-01-14 05:17:37 +00:00
Vo Minh Thu 8119d89200 [ADD] oe web: run an OpenERP web process.
bzr revid: vmt@openerp.com-20130111153113-ue2ybx33e2gh99sx
2013-01-11 16:31:13 +01:00
Christophe Matthieu 0c59cb52c9 [FIX] res_partner: kanban view : update contact avatar on edit mode (for company partner)
bzr revid: chm@openerp.com-20130111145459-e2rp9o3bmh2p679i
2013-01-11 15:54:59 +01:00
Quentin (OpenERP) 39bfcd23ea [FIX] base: GBP currency symbol should be before the amount
bzr revid: qdp-launchpad@openerp.com-20130111114012-xm19xp9glbn3qnn2
2013-01-11 12:40:12 +01:00
Launchpad Translations on behalf of openerp 6da448e0ad Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130108060408-8nb3941v15q9ybdf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130109055200-8b1ngo68e9purey3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130110053544-j7oyp5nohajb0nj8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130111052135-l323k3ttzdy0o9km
bzr revid: launchpad_translations_on_behalf_of_openerp-20130111052208-h19znnqin0y82wvx
2013-01-11 05:22:08 +00:00
Thibault Delavallée ea21344da5 [MERGE] Forward porting of the 7.0 server branch inside trunk until rev4775.
bzr revid: tde@openerp.com-20130110125122-b525s5h1cbrwtxzb
2013-01-10 13:51:22 +01:00
Xavier ALT 475d2ec5b4 [MERGE] win32: use 'net' command for service start/stop operation
* We have to wait for complete service stop before trying to re-start
    OpenERP service, otherwise service manager will complain that the
    service is already running - and thus preventing to it start.
      'sc' command only send a query to service manager without waiting
    for completion - instead we use 'net' command which wait for complete
    start/stop operation.

bzr revid: xal@openerp.com-20130107174846-745eqpvp2lhskspi
2013-01-07 18:48:46 +01:00
Olivier Dony 83171d551a [FIX] ir.cron: cron list makes inactive cron jobs hard to spot
bzr revid: odo@openerp.com-20130107171720-foxippaaib6jb0zm
2013-01-07 18:17:20 +01:00
Xavier ALT 44d536d40d [FIX] win32: use 'net' command for service start/stop operation
* We have to wait for complete service stop before trying to re-start
    OpenERP service, otherwise service manager will complain that the
    service is already running - and thus preventing to it start.
      'sc' command only send a query to service manager without waiting
    for completion - instead we use 'net' command which wait for complete
    start/stop operation.

bzr revid: xal@openerp.com-20130107162302-xtf44nm10859203w
2013-01-07 17:23:02 +01:00