Commit Graph

1681 Commits

Author SHA1 Message Date
Antony Lesuisse 108e53b253 [FIX] use _logger instead of stderr in trml2pdf
lp bug: https://launchpad.net/bugs/906377 fixed

bzr revid: al@openerp.com-20120208013617-22wu77ph56nr58us
2012-02-08 02:36:17 +01:00
Vo Minh Thu f54cf18d22 [IMP] logging: re-add the HttpLogHandler class needed in addons (when left unchanged for 6.1).
bzr revid: vmt@openerp.com-20120207214604-lbdrvh66tj71iz7u
2012-02-07 22:46:04 +01:00
Vo Minh Thu 354a1baaf8 [FIX] logging: undefined LOG_DEBUG_RPC constant.
bzr revid: vmt@openerp.com-20120206235853-5e5mxq4hfl9epgbb
2012-02-07 00:58:53 +01:00
Vo Minh Thu 09dc03a30f [IMP] logging: re-added the --log-level option for backward compatibility.
bzr revid: vmt@openerp.com-20120206230215-pst29d6x0ymn2fwx
2012-02-07 00:02:15 +01:00
Vo Minh Thu 229ab5cfa4 [REVERT] reverted commit 4008, the --log-rpc-terse/verbose were not effective.
bzr revid: vmt@openerp.com-20120206221420-p64z6nzch7f3f4v2
2012-02-06 23:14:20 +01:00
Vo Minh Thu 23eb63f139 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120206203151-3snkz7usngwtv1xt
2012-02-06 21:31:51 +01:00
Launchpad Translations on behalf of openerp 5eaf046488 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120203053745-orlweqvnx6zwiy6i
bzr revid: launchpad_translations_on_behalf_of_openerp-20120204052830-xb8tt6iuixn8p8ow
bzr revid: launchpad_translations_on_behalf_of_openerp-20120205044816-711tbu0ejkwplssg
2012-02-05 04:48:16 +00:00
Antony Lesuisse fcf84b265c define a useful default logging config, display this config in DEBUG, rename and claen rpc debug to verbose or terse
bzr revid: al@openerp.com-20120202203008-mkafq1oak33z6p6p
2012-02-02 21:30:08 +01:00
Xavier Morel df8af0ec4a [FIX] in load_information_from_description_file, f can be a StringIO (in case of zipped module) and StringIO are not contextmanagers.
So rollback the context management thingie

bzr revid: xmo@openerp.com-20120202154532-tq9x07ujf0bn9mcp
2012-02-02 16:45:32 +01:00
Olivier Dony aea1b13412 [IMP] tools.translate: be more lenient and accept standart gettext source annotations
The GetText spec says that PO auto-comments indicating
  the source location have this form:
   #: /path/to/file:lineno
  However OpenERP's POT export system defaults to a modified
  version of this format with an extra 'type' field:
   #: type:/path/to/file:lineno
  The babel extractors we use for openerp-web's translations
  have the GetText format hardcoded, so it's a good idea
  to be more lenient and allow the standards annotations too.
  We can use a default 'code' type for such cases.

  For openerp-web translations the type does not matter,
  as the translations will be directly loaded by the 
  web engine from the PO files and served in Javascript
 to the browser, with no typing needed.

  This patch simply avoids failing to parse updated PO files
  that will contain standard GetText annotations for the
  openerp-web related terms.

bzr revid: odo@openerp.com-20120202143210-05p1w24t6u77cyv8
2012-02-02 15:32:10 +01:00
Vo Minh Thu 81ee705498 [IMP] logging: use logging.exception() instead of manually formatting the traceback.
bzr revid: vmt@openerp.com-20120202125442-h73uaga3vu2s8upv
2012-02-02 13:54:42 +01:00
Vo Minh Thu 88d2e96317 [IMP] --log-rpc-xxx into --log-request and --log-response.
bzr revid: vmt@openerp.com-20120202122610-r35cxp2y5i63lczg
2012-02-02 13:26:10 +01:00
Vo Minh Thu 1ab6f8883c [IMP] logging: _logger.warn() replaced by _logger.warning().
bzr revid: vmt@openerp.com-20120202092634-pylu3098p5c0mays
2012-02-02 10:26:34 +01:00
Vo Minh Thu 5341b5f445 [IMP] logging: _logger.log(DEBUG) replaced by _logger.debug().
bzr revid: vmt@openerp.com-20120202092105-mfufuv97h8zrc2n7
2012-02-02 10:21:05 +01:00
Antony Lesuisse 91ef8c1c51 [FIX] review according to xmo :)
bzr revid: al@openerp.com-20120201235604-tr5iq676pzk8bi1m
2012-02-02 00:56:04 +01:00
Antony Lesuisse 62750454e2 bye bye DEBUG_*
bzr revid: al@openerp.com-20120201003015-pct8p0fgixun3zvv
2012-02-01 01:30:15 +01:00
Antony Lesuisse 936ce97689 fix --log-sql
bzr revid: al@openerp.com-20120201002321-nstmlzxzrcfgev13
2012-02-01 01:23:21 +01:00
Antony Lesuisse aca0720691 logging no need to filter just set propagate to False
bzr revid: al@openerp.com-20120201001941-qu30h1q030yqc1wq
2012-02-01 01:19:41 +01:00
Antony Lesuisse 5a076878af new logging handler and commandline config, mostly work except the filter on the root logger
bzr revid: al@openerp.com-20120201001019-7fol09su31gbn69w
2012-02-01 01:10:19 +01:00
Antony Lesuisse b80c634176 [REM] incomplete logging handler config
bzr revid: al@openerp.com-20120131212027-oargpskx4k5a9cem
2012-01-31 22:20:27 +01:00
Antony Lesuisse 1a62602c86 [MERGE] trunk
bzr revid: al@openerp.com-20120131211744-whzzo0dh6w1kptng
2012-01-31 22:17:44 +01:00
Xavier Morel e719558c79 [ADD] values restriction pattern for notebook/@tabpos
bzr revid: xmo@openerp.com-20120131154023-lbxqpdirjk9df694
2012-01-31 16:40:23 +01:00
Launchpad Translations on behalf of openerp ffb184bf1f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120202055834-tscy1is5mn7c1qbo
2012-02-02 05:58:34 +00:00
Vo Minh Thu ee988a8955 [IMP] tests: export all the tests in a single suite.
bzr revid: vmt@openerp.com-20120201164404-yvnf30okqyj69sfy
2012-02-01 17:44:04 +01:00
Vo Minh Thu 084af04092 [FIX] import-hook: correctly import the server-wide-module (i.e
use the openerp.addons namespace), and correctly set the submodules in
sys.modules (instead of only the top-level package).

bzr revid: vmt@openerp.com-20120201152710-s7sxlgibwd3lwr5l
2012-02-01 16:27:10 +01:00
Raphael Collet c86ddaad57 [MERGE] lp:924783 (fix dropping database before any connection, contrib from Ronald Portier)
bzr revid: rco@openerp.com-20120201130957-ra3ot62j0bbxjnu1
2012-02-01 14:09:57 +01:00
Raphael Collet bdf04f8ad9 [MERGE] base: adds the format for addresses in the Netherlands (Stefan Rijnhart)
bzr revid: rco@openerp.com-20120201125532-yvp0dgb11mc457y2
2012-02-01 13:55:32 +01:00
Ronald Portier 64773ba357 [FIX] drop database fails when done before connecting to server.
lp bug: https://launchpad.net/bugs/924783 fixed

bzr revid: ronald@therp.nl-20120201113759-wi2kogl2x1lsxk7g
2012-02-01 12:37:59 +01:00
Launchpad Translations on behalf of openerp 810e73513a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120201045532-i8okrs9w77l78yn5
2012-02-01 04:55:32 +00:00
Stefan Rijnhart 5271b9f2ed [ADD] Address format for the Netherlands
bzr revid: stefan@therp.nl-20120131232741-1c0ap325wrmt4638
2012-02-01 00:27:41 +01:00
Raphael Collet ac205cd443 [MERGE] small fixes (typo in tooltip, char field size)
bzr revid: rco@openerp.com-20120131132112-y526k22lrltqnocm
2012-01-31 14:21:12 +01:00
Olivier Dony b281791ff5 [IMP] db dump: correct reference URL in comments
bzr revid: odo@openerp.com-20120131113642-z6z4vs11fcwkyaqq
2012-01-31 12:36:42 +01:00
Olivier Dony f11e1de5eb [FIX] db dump: report errors due to missing password + pass PGPASSWORD even on Unix
Even on Unix systems the PGPASSWORD env var
is necessary when Postgres is configured to
deny unix socket connections or to require
a password anyway. This avoids asking admins
to manually create a ~/.pgpass file in order
to use the dump/restore tools.
Also did some cleanup to ensure the PGPASSWORD
var is removed from the environment as soon
as the operation is done.

lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed

bzr revid: odo@openerp.com-20120131110849-tji6ipjovxc9oi4v
2012-01-31 12:08:49 +01:00
Launchpad Translations on behalf of openerp 69910d967c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050031-o00wn1tnzbkgjt6j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131050331-w0omtl1lmfqzciwq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120131052309-jtfsc2m4h3liyzb5
2012-01-31 05:23:09 +00:00
Antony Lesuisse 6f52a1b09f [MERGE] publisher warranty stats
bzr revid: al@openerp.com-20120130220515-vsjnxhll3znxcmut
2012-01-30 23:05:15 +01:00
Antony Lesuisse 562fbb3578 [MERGE] active becomes auto_install: install this module when its dependencies (that can be empty) are satisfied
bzr revid: al@openerp.com-20120130211001-ytqx759fl920uegc
2012-01-30 22:10:01 +01:00
Antony Lesuisse 89e411fb39 remove warning
bzr revid: al@openerp.com-20120130210429-zw7aziwhkhi0yhqv
2012-01-30 22:04:29 +01:00
Vo Minh Thu c22e8190da [IMP] manifest: still support the old `active` entry (but deprecate it and display a warning).
bzr revid: vmt@openerp.com-20120130113116-msjaej7jxp96tbvh
2012-01-30 12:31:16 +01:00
Olivier Dony 7e1df36f9c [IMP] res.company: moved bank accounts tab from account_bank_statement_extension to base
The inherited part in account_bank_statement_extension
was removed from addons at revision 6439
revision-id: odo@openerp.com-20120130111654-7fmacaxdtdiiejs9

bzr revid: odo@openerp.com-20120130112318-d84yr7hlhxmwiwic
2012-01-30 12:23:18 +01:00
Olivier Dony 3f123d6e7a [IMP] res.users: better tooltip for Timezone user pref
bzr revid: odo@openerp.com-20120130112007-g0yheu62uo9j133p
2012-01-30 12:20:07 +01:00
Vo Minh Thu 15a8f08170 [IMP] manifest: renamed active to auto_install.
bzr revid: vmt@openerp.com-20120130102041-aensqjeqkftq8nm5
2012-01-30 11:20:41 +01:00
Vo Minh Thu c447ac4b9a [IMP] manifest: removed the Hidden/Links category.
bzr revid: vmt@openerp.com-20120130095307-cqhysxf6pzovikog
2012-01-30 10:53:07 +01:00
Vo Minh Thu 0d86e08450 [IMP] manifest: `auto_installable` renamed to `auto_install`.
bzr revid: vmt@openerp.com-20120130095238-x2by4y11joeytipr
2012-01-30 10:52:38 +01:00
Launchpad Translations on behalf of openerp ffbff476df Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120128050312-sep3uryazw4j1xz6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120129052156-67wqllfafijp6h1m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120130044112-h04p0g5ne16y1nav
bzr revid: launchpad_translations_on_behalf_of_openerp-20120128050513-ncpdbsqyyk18pc67
bzr revid: launchpad_translations_on_behalf_of_openerp-20120129052226-dfcf7sm2r00y1s3s
bzr revid: launchpad_translations_on_behalf_of_openerp-20120130044131-sdsyvt62gvyzo0e3
2012-01-30 04:41:31 +00:00
Alexis De Lattre ff67c965eb [FIX] Base: removed ambigious entries for _rec_name for res.partner.bank model
lp bug: https://launchpad.net/bugs/922670 fixed

bzr revid: support@serpentcs.com-20120127195148-hdnn9x2m1v7sapm2
2012-01-28 01:21:48 +05:30
Serpent Consulting Services ed8d6780d3 [REM] Removed the _rec_name change
bzr revid: support@serpentcs.com-20120127194929-bwvy3h3qqe6f7m90
2012-01-28 01:19:29 +05:30
Serpent Consulting Services 2ab84f0ab2 [FIX] Base : Corrected the size of the field 'owner_name' for res.partner.bank model,other minor edits included
lp bug: https://launchpad.net/bugs/922781 fixed

bzr revid: support@serpentcs.com-20120127194134-momdokqzf4qfhzqn
2012-01-28 01:11:34 +05:30
niv-openerp 65238372b7 [imp] added some more info in pings
bzr revid: nicolas.vanhoren@openerp.com-20120127114236-3mw4clp9jdy6gimd
2012-01-27 12:42:36 +01:00
Raphael Collet 6c6e5d291c [MERGE] lp:918120 (res.partner.bank: improve name_get() when no bank_name is given)
bzr revid: rco@openerp.com-20120127085133-hwzn9up9gp12cwgi
2012-01-27 09:51:33 +01:00
Launchpad Translations on behalf of openerp 5d68387d26 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120127052810-l3zq5o282fymrd70
bzr revid: launchpad_translations_on_behalf_of_openerp-20120127052825-ba6wz1r33349c1dd
2012-01-27 05:28:25 +00:00