Commit Graph

67968 Commits

Author SHA1 Message Date
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
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
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 e96bd1bd82 [MERGE] [FWD] Forward porting in trunk of the 7.0 addons branch until rev 8584 (revid tde@openerp.com-20130115130539-46ndfydgcjhgep2j).
bzr revid: tde@openerp.com-20130115145035-96puwug5019hmyjw
2013-01-15 15:50:35 +01:00
Thibault Delavallée f5e2fb5ee8 [MERGE] [FWD] Forward porting in trunk of the 7.0 server branch until rev 4787 (revid odo@openerp.com-20130115124058-81kgv0cy9jp96ln4).
bzr revid: tde@openerp.com-20130115145001-f5w4y9axv3ddu4ww
2013-01-15 15:50:01 +01:00
Thibault Delavallée 1f050cd40e [MERGE] Forward port of addons 7.0 until 8584.
bzr revid: tde@openerp.com-20130115100302-rhhla88naie18hug
bzr revid: tde@openerp.com-20130115141932-60y8i1mbi2x88ess
2013-01-15 15:19:32 +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
Thibault Delavallée 24d45dbb99 [FIX] Chatter: notification emails: removed the limit on the related record name stored in mail.message, that was leading to emails send with very short subjects.
bzr revid: tde@openerp.com-20130115130539-46ndfydgcjhgep2j
2013-01-15 14:05:39 +01:00
vta vta@openerp.com 397e5d2df9 [FIX] Don't alter bounce rate when tracking events
bzr revid: vta@openerp.com-20130115124604-ttg5ct8x83iog6ee
2013-01-15 13:46:04 +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