Commit Graph

971 Commits

Author SHA1 Message Date
Xavier Morel 18d38fb5ee [IMP] document tools.misc.scan_languages, make its implementation less retarded
bzr revid: xmo@openerp.com-20120223103207-ra1a0dzcyoe745cx
2012-02-23 11:32:07 +01:00
Xavier Morel 2332c23c30 [IMP] replaces tools.misc.get_languages by the static dictionary it returns, rename that dict to ALL_LANGUAGES for clarity
bzr revid: xmo@openerp.com-20120223103045-a44cl5kdkrnehc66
2012-02-23 11:30:45 +01:00
Cécile Tonglet 4a87cc055d [FIX] infinte loops in tools.graph
lp bug: https://launchpad.net/bugs/932830 fixed

bzr revid: cto@openerp.com-20120222151653-ucftpis7zh9kman5
2012-02-22 16:16:53 +01:00
Cécile Tonglet 3490275dc0 [REF] Clean up of tools.graph
bzr revid: cto@openerp.com-20120222114009-nyalbc7uyelf54f0
2012-02-22 12:40:09 +01:00
Kuldeep Joshi (OpenERP) 93960634c1 [IMP] res_partner:add res_partner_address field to res_partner
bzr revid: kjo@tinyerp.com-20120220091705-y7xdh00sdkotpqj6
2012-02-20 14:47:05 +05:30
Olivier Dony 79ac080fb2 [MERGE] Minor bugfixes (missing imports, etc.) courtesy of Florent Xicluna
bzr revid: odo@openerp.com-20120214150022-yx6zi0j4fr2d48uc
2012-02-14 16:00:22 +01:00
Olivier Dony 7deee635b2 [MERGE] Make <report> tag extensible for extra report engines, courtesy of Nicolas Bessi (Camptocamp)
The processing of <report> tags during XML file
processing is not modular or extensible, which
means that extra reporting engines cannot easily
add custom behavior for <report> records of their
type. By returning the newly created ID in
the tag_report() method we at least allow them
to hook up a monkey-patch without need to copy-
paste the original code.
This patch also allows an extra XML attribute
for webkit headers, because the original @header
attribute is reserved for a boolean value.

bzr revid: odo@openerp.com-20120214135255-a7hyxsoif4jhg6ro
2012-02-14 14:52:55 +01:00
Vo Minh Thu 0ae195798b [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120213111233-ontycsea5cpnvsgv
2012-02-13 12:12:33 +01:00
Bogdan Stanciu d52e838455 [IMP] some English corrections & 'encoding' into 'coding' for several py files. No code change.
bzr revid: bogdanovidiu.stanciu@gmail.com-20120212114509-yrw86zewyv70dow7
2012-02-12 12:45:09 +01:00
Vo Minh Thu 1c6af53988 [MERGE]merged trunk.
bzr revid: vmt@openerp.com-20120210144114-rm4mt9x3uyekinto
2012-02-10 15:41:14 +01:00
Antony Lesuisse a1e5c645d9 postgres use postgres instead of template1 and template1 instead of template0
bzr revid: al@openerp.com-20120209213317-3tt4o0sj87764ocn
2012-02-09 22:33:17 +01:00
Florent Xicluna 9769884ca5 [MERGE] file_open: give precedence to directory before zip.
bzr revid: florent.xicluna@gmail.com-20120208222801-p2gfhmsnptujdfru
2012-02-08 23:28:01 +01:00
Olivier Dony 69a5eca5b4 [IMP] Give precedence to module directories instead of zips while locating resources
The previous behavior gave the precedence to zipped
modules, without any apparent reason, and this is
sub-optimal for several reasons:

1. The default is to have regular modules, not
zipped modules, so looking first for a regular
module is more efficient.
2. Keeping a zipped module next to a regular
module with the same name is not a documented
or supported feature.
3. Even if you were relying on this behavior
having the extracted module take precedence
is more practical: you could simply extract
the zipped module to test a quick fix.

We have another issue related to this feature
because the code looking for zipped modules
escapes the addons paths chroot and goes
up to the filesystem root looking for a zip
module at each step. This is described in
bug 928376 and a fix for it should follow.

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

bzr revid: odo@openerp.com-20120208173932-pwhz53vxxdzbo8ja
2012-02-08 18:39:32 +01:00
Florent Xicluna 5056899093 [MERGE] merged trunk.
bzr revid: florent.xicluna@gmail.com-20120208172825-r6og0hfoc181pdt1
2012-02-08 18:28:25 +01:00
Florent Xicluna 44e02f756b [FIX] file_open should not search zip files outside its root directory. Fix the returned value with pathinfo=True.
lp bug: https://launchpad.net/bugs/928507 fixed
lp bug: https://launchpad.net/bugs/928376 fixed

bzr revid: florent.xicluna@gmail.com-20120208153304-9443zx2z09bws10x
2012-02-08 16:33:04 +01:00
Vo Minh Thu 589c12ada0 [IMP] gunicorn: moved database signaling to RegistryManager.
bzr revid: vmt@openerp.com-20120208142834-52oxaq72gghj687h
2012-02-08 15:28:34 +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
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
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 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
Antony Lesuisse 91ef8c1c51 [FIX] review according to xmo :)
bzr revid: al@openerp.com-20120201235604-tr5iq676pzk8bi1m
2012-02-02 00:56:04 +01:00
Christophe Simonis faa2d4f948 [ADD] option allowing to run openerp behind a reverse proxy
bzr revid: chs@openerp.com-20120201102838-reg50dmbfyzdgoeq
2012-02-01 11:28:38 +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 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
Xavier Morel 5c40627e4b [FIX] don't just print a warning if an @eval fails in an XML file
bzr revid: xmo@openerp.com-20120126133013-5fnsouix8cutwlik
2012-01-26 14:30:13 +01:00
Vo Minh Thu 283304f9a2 [IMP] warnings: turn warnings.warn into logging.warning:
Warnings are handled with the other logs (and not always sent to stderr),
they also appear under a module __name__ channel instead of py.warn.
The disadvantage is that there is no longer specific warnings,
such as pending deprecation warning or deprecation warning.

bzr revid: vmt@openerp.com-20120125132407-u33idc0qh7ecs1i5
2012-01-25 14:24:07 +01:00
Vo Minh Thu f057f2afa5 [IMP] openerp.loglevels: removed calls to openerp.loglevels.Logger().
bzr revid: vmt@openerp.com-20120124173017-c66z3kq11wmbrrke
2012-01-24 18:30:17 +01:00
Vo Minh Thu a142292f91 [IMP] openerp.tools: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124140056-hqoy49bh7wyr1xce
2012-01-24 15:00:56 +01:00
Vo Minh Thu 09347af434 [IMP] gunicorn: moved gunicorn hook to openerp.wsgi (just like previous hooks), added new command-line options.
bzr revid: vmt@openerp.com-20120120150050-3o3hg6k1n17alup0
2012-01-20 16:00:50 +01:00
Florent Xicluna fd9bb5a136 [FIX] tools.misc: NameError during exception handling.
bzr revid: florent.xicluna@gmail.com-20120119220041-w0o5q6cusz9zfnt2
2012-01-19 23:00:41 +01:00
Florent Xicluna f65509f1ce [FIX] AttributeError, 'module' has no attribute 'ext_eval'
bzr revid: florent.xicluna@gmail.com-20120119215553-qlb4992c37vi6cuh
2012-01-19 22:55:53 +01:00
nicolas.bessi@camptocamp.com dcc993443a [IMP] webkit_header attribute support in report tag
bzr revid: nicolas.bessi@camptocamp.com-20120119154448-59md8t416xrlpvx1
2012-01-19 16:44:48 +01:00
nicolas.bessi@camptocamp.com d87ee3e162 [IMP] webkit_header attribute support in report tag
bzr revid: nicolas.bessi@camptocamp.com-20120119152732-dbn48789auu009r4
2012-01-19 16:27:32 +01:00
Vo Minh Thu 418739cf3e [MERGE] cleaned some imports, removed some code for older python versions.
bzr revid: vmt@openerp.com-20120118160305-ucennaoqehjuut1z
2012-01-18 17:03:05 +01:00
Vo Minh Thu 5b57b7c5a9 [MERGE] added --db-template option.
bzr revid: vmt@openerp.com-20120118145334-sa190ihcos9iflcu
2012-01-18 15:53:34 +01:00
Vo Minh Thu c7094ab49f [IMP] tools: removed our copy of the copy module.
bzr revid: vmt@openerp.com-20120118115743-ce6p993l8v2kqlux
2012-01-18 12:57:43 +01:00
Vo Minh Thu a236a3ac75 [IMP] tools: removed deprecated debug() function.
bzr revid: vmt@openerp.com-20120118114910-xrynwguzu0e5zsng
2012-01-18 12:49:10 +01:00
Vo Minh Thu 8c3daeea12 [IMP] tools: removed __builtin__.{all,any} (they were there for previous python versions).
bzr revid: vmt@openerp.com-20120118114640-sm71f9fi48n4qn3q
2012-01-18 12:46:40 +01:00
Vo Minh Thu b5caa70b83 [IMP] tools: removed some functools functions (they were there for previous python versions).
bzr revid: vmt@openerp.com-20120118114109-txh1cjv503xautty
2012-01-18 12:41:09 +01:00
Vo Minh Thu 4d77130107 [IMP] tools: removed literal_eval as we drop python 2.6 support.
bzr revid: vmt@openerp.com-20120118112400-n7uulbbwm7wr5lpu
2012-01-18 12:24:00 +01:00
nicolas.bessi@camptocamp.com 8d826cc07d [IMP] database template in commande line, you can now use --db_template=my_template, default is template0
bzr revid: nicolas.bessi@camptocamp.com-20120117164940-i3g1zcu49x0g60t5
2012-01-17 17:49:40 +01:00
Vo Minh Thu 0ed4377cf8 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120112155027-u3bagec0g9fqr0yi
bzr revid: vmt@openerp.com-20120116110434-ckhp01ze83cwm32y
2012-01-16 12:04:34 +01:00
Olivier Dony 356e4ed9bd [FIX] translation: remove calls to trans_update_res_ids
Calling this method is no longer required since the
merge of the new code for loading translations using
a temporary table. The method itself has been removed
at revision 3919, so all calls to it should have been
cleaned up as well.
Rev.3919 = rco@openerp.com-20111223104824-fup1cjbjni1fsty1

bzr revid: odo@openerp.com-20120109140958-10i1ti16tw327580
2012-01-09 15:09:58 +01:00
Vo Minh Thu f24a29717e [FIX] orm: correctly set the module name on the model, even when imported with
`import openerp.modules.<module_name>`.

bzr revid: vmt@openerp.com-20120109101647-4hvy3n6eifzeozzq
2012-01-09 11:16:47 +01:00
Vo Minh Thu b71c0095c9 [MERGE] tools.translate: use misc.file_open() to load .po files even from .zip files.
bzr revid: vmt@openerp.com-20120104103212-qq2ad04b1ffydrur
2012-01-04 11:32:12 +01:00
Raphael Collet 487a82ccf9 [MERGE] config: fix missing section name when saving config file
bzr revid: rco@openerp.com-20111223152211-xkqojrv22vkfwhht
2011-12-23 16:22:11 +01:00
Raphael Collet 5096fb5003 [MERGE] yaml_import: fix usage of attribute 'id' in tag !delete
bzr revid: rco@openerp.com-20111223141754-5o7tb680oruk76a6
2011-12-23 15:17:54 +01:00
Raphael Collet 2661edacda [MERGE] translations: import using lower-level sql (translations load about 6 times faster)
bzr revid: rco@openerp.com-20111223104824-fup1cjbjni1fsty1
2011-12-23 11:48:24 +01:00
Vo Minh Thu 6bb854b893 [MERGE] merged the new floats rounding code.
bzr revid: vmt@openerp.com-20111222111551-3np72b3u6qt8lkeo
2011-12-22 12:15:51 +01:00
Olivier Dony 0eb2986e15 [IMP] safe_eval: allow INPLACE* operator opcodes as introduced in PEP-203
bzr revid: odo@openerp.com-20111222101106-h3qbhx53hyhyjor5
2011-12-22 11:11:06 +01:00
Olivier Dony 68e03147ff [MERGE] latest trunk
bzr revid: odo@openerp.com-20111220235717-845hp2z5g8yglw1w
2011-12-21 00:57:17 +01:00
Olivier Dony 759ccd9845 [IMP] float_utils: simplified code, added float_repr
lp bug: https://launchpad.net/bugs/882036 fixed

bzr revid: odo@openerp.com-20111220234740-kotcgoz3opcbkx4b
2011-12-21 00:47:40 +01:00
Antony Lesuisse aa9f466119 [FIX] config blacklist stop_after_init
bzr revid: al@openerp.com-20111220164554-ygdxgz6zpecf7geh
2011-12-20 17:45:54 +01:00
Olivier Dony ed53ef4761 [IMP] float_utils: fix HALF_UP rounding according to discussions on bug 882036
Also improved test and added warning logging when
crossing the precision limit due to too many
significant digits. There is apparently a limitation
in Python's float implementation for this.

bzr revid: odo@openerp.com-20111220163420-lz0sh1h0yjkh6jdc
2011-12-20 17:34:20 +01:00
Olivier Dony dcd1c1daff [IMP] float_utils: better variable names, explain /epsilon/ usage
bzr revid: odo@openerp.com-20111219105718-0jbz01rirl0s64ca
2011-12-19 11:57:18 +01:00
Rucha (Open ERP) afb2735412 [MERGE]: Merge with latest trunk-server
bzr revid: rpa@tinyerp.com-20111219062214-1md1y0k594ygzqx5
2011-12-19 11:52:14 +05:30
Olivier Dony 9ddd05fb3a [REF] float_utils: moved in its own python module
bzr revid: odo@openerp.com-20111216160426-gya8d1d1zymcz8os
2011-12-16 17:04:26 +01:00
Olivier Dony 6add700d7a [MERGE] latest trunk
bzr revid: odo@openerp.com-20111216155624-3nvdsaurjsdo44mx
2011-12-16 16:56:24 +01:00
Olivier Dony 295cd51e38 [MERGE] Fix bug 901601, add default GTK icon for kanban/gantt actions
bzr revid: odo@openerp.com-20111213120225-o264d1wgwgz4ztvt
2011-12-13 13:02:25 +01:00
Naresh (OpenERP) e7f3e590b7 [REF]:
bzr revid: nch@tinyerp.com-20111213105146-fz6fejswta7mzfcp
2011-12-13 16:21:46 +05:30
Naresh (OpenERP) 978299a26c [IMP]:added default icon for kanban and gantt view
lp bug: https://launchpad.net/bugs/901601 fixed

bzr revid: nch@tinyerp.com-20111209111336-8sqgc9z9ska1yer8
2011-12-09 16:43:36 +05:30
Vo Minh Thu 842cb1ad41 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111201153214-0iintvpp7crnr2jc
2011-12-01 16:32:14 +01:00
Naresh (OpenERP) f211942d6a [FIX]:loading translation of .zip module
lp bug: https://launchpad.net/bugs/885134 fixed

bzr revid: nch@tinyerp.com-20111130085452-vcrxnv86avhfihom
2011-11-30 14:24:52 +05:30
Naresh (OpenERP) f47e32d437 [FIX]:initialise the parser before adding user defined sections to parser
lp bug: https://launchpad.net/bugs/822836 fixed

bzr revid: nch@tinyerp.com-20111128111430-cki6c7dkthq8ynug
2011-11-28 16:44:30 +05:30
Olivier Dony f31c1d85d8 [MERGE] Missing modelines, requested and provided by Lionel Sausin (Numerigraphe)
bzr revid: odo@openerp.com-20111124161521-512vn56w3c4e303c
2011-11-24 17:15:21 +01:00
Olivier Dony aa6b926e74 [MERGE] YAML: Support m2o None value, courtesy of Dmitrijs Ledkovs (credativ)
bzr revid: odo@openerp.com-20111124153233-4vpb6k1c3ksllsfd
2011-11-24 16:32:33 +01:00
Numerigraphe - Lionel Sausin a2f4f2669b [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085848-1atcrcw8e64altcp
2011-11-22 09:58:48 +01:00
Vo Minh Thu 5ef9dd5f3f [MERGE] Cleaning of the empty dict kwargs (replaced by None).
bzr revid: vmt@openerp.com-20111121133346-2yr8ow3zeyqa9ar5
2011-11-21 14:33:46 +01:00
Rucha (Open ERP) d4ad054000 [MERGE]: Merge with latest trunk-server
bzr revid: rpa@tinyerp.com-20111103071744-wkf0qgr8qkl540y7
bzr revid: rpa@tinyerp.com-20111116051225-w9b73w63w8g6z2hk
2011-11-16 10:42:25 +05:30
Rucha (Open ERP) aa10c5eb60 [MERGE]: Merge with latest trunk-server
bzr revid: rpa@tinyerp.com-20111116051110-jtb3437w8vu3qhph
2011-11-16 10:41:10 +05:30
Olivier Dony ba2b2bdae1 [IMP] tools.float_*: more tests with negative values, some cleanup
bzr revid: odo@openerp.com-20111115113605-l5e6gg675qbrvjz6
2011-11-15 12:36:05 +01:00
Fabien Pinckaers 0b84257015 [IMP] remove print statement
bzr revid: fp@tinyerp.com-20111115002847-vz2y1q2d852mz6a6
2011-11-15 01:28:47 +01:00
Fabien Pinckaers b859fbd8c6 [IMP] removed print statement
bzr revid: fp@tinyerp.com-20111115001426-bpct1qa3xysjv3cq
2011-11-15 01:14:26 +01:00
Fabien Pinckaers a40c6ac9a8 [FIX] onchange
bzr revid: fp@tinyerp.com-20111114232422-4rgrmipbr7b4x7j0
2011-11-15 00:24:22 +01:00
Fabien Pinckaers 2235425822 [FIX] onchange yaml
bzr revid: fp@tinyerp.com-20111114224224-5kvzufap638l7nx1
2011-11-14 23:42:24 +01:00
Fabien Pinckaers 99c26a209f [FIX] onchange computation on YAML
bzr revid: fp@tinyerp.com-20111114221954-urk25d05y65by96n
2011-11-14 23:19:54 +01:00
Fabien Pinckaers 8d7176a11e [IMP] Yaml scripts calls on_changes and fields_view_get by defaults
Very big change, this may emphasize some of the troubles, runbot can become red
  until we fix them all.

bzr revid: fp@tinyerp.com-20111114212627-5kdjxkws1lqm0c38
2011-11-14 22:26:27 +01:00
Olivier Dony ffe640cece [IMP] tools.float_*: added tests and docstrings
bzr revid: odo@openerp.com-20111114182310-kkzh78uej0uuwhaz
2011-11-14 19:23:10 +01:00
Olivier Dony dcb5ff6eac [IMP] res.currency,base: factor out float rounding methods in tools to allow use without currency
Pending: addition of tests

bzr revid: odo@openerp.com-20111114163617-kw7u8rxcie7m2hj5
2011-11-14 17:36:17 +01:00
Denis Seleznyov 58bb4fadad [FIX]:AccessInit: hash collision error possible
lp bug: https://launchpad.net/bugs/859123 fixed

bzr revid: nch@tinyerp.com-20111114064805-wkw8q4w0nj5h1dtd
2011-11-14 12:18:05 +05:30
Fabien Pinckaers 1c2ab2927d unusedcode
bzr revid: fp@tinyerp.com-20111114001216-etl5g0dl3ya1xfvs
2011-11-14 01:12:16 +01:00
Fabien Pinckaers 954bcd7976 fix
bzr revid: fp@tinyerp.com-20111113230904-vmrxwahfbwub50sf
2011-11-14 00:09:04 +01:00
Fabien Pinckaers aefa8b8c65 [IMP] Allows to put a view argument in a YAML record and OpenERP will
call all the on_change and default_get correctly. This increases
      a lot the coverage and reduce lines of test to develop.

      Put the XML_ID of the view of False so that OpenERP will find the
      first form view itself.

Example to create a PO with all on_change:

!record {model: purchase.order, id: purchase_new, view: False}:
    partner_id: base.res_partner_asus
    order_line:
      - product_id: product.product_product_pc1
        product_qty: 5.0

bzr revid: fp@tinyerp.com-20111113223056-g65pf5vzg7dwkks1
2011-11-13 23:30:56 +01:00
Numerigraphe - Lionel Sausin 4651cf935e [FIX] unmutable defaults in safe_eval
bzr revid: ls@numerigraphe.fr-20111107152640-t28rgkfs05jwduab
2011-11-07 16:26:40 +01:00
Rucha (Open ERP) 792023dbce [FIX]: yaml: In !delete tag if we provide id of record to be deleted instead of search, it was raising error as node.search is None and we cannot use len()
bzr revid: rpa@tinyerp.com-20111102124614-4q5stzqxwfbayclj
2011-11-02 18:16:14 +05:30
Dmitrijs Ledkovs d0f70e9b29 [IMP] allow to unset fields in yaml import
lp bug: https://launchpad.net/bugs/873456 fixed

bzr revid: dmitrijs.ledkovs@credativ.co.uk-20111013162021-225j5kl25bg9su3a
2011-10-13 17:20:21 +01:00
Rucha (Open ERP) fc8498ea9c [FIX]: Fixed problem of context not passed properly in creating record by !record tag of yml with context.
bzr revid: rpa@tinyerp.com-20111012063145-6feojywf8a7jo91m
2011-10-12 12:01:45 +05:30
Olivier Dony 0c9e9a7643 [IMP] rng,convert: add support for report `usage` attribute
The `usage` attribute may indicate a special purpose
of this report. For instance, the "default" usage
is used to identify the report to include along with
a record for EDI exports.

bzr revid: odo@openerp.com-20111010142226-ceradf4acsbr3r5l
2011-10-10 16:22:26 +02:00
Vo Minh Thu ec3ea4197e [FIX] tools.translate: release.support_email has been removed, so we no longer set the Report-Msgid-Bugs-To value in .po files.
lp bug: https://launchpad.net/bugs/873959 fixed

bzr revid: vmt@openerp.com-20111014150210-qs7n58cocvnjputl
2011-10-14 17:02:10 +02:00
Christophe Simonis 952e4cf602 [IMP] command line: move the option "addons-path" to the right group
bzr revid: chs@openerp.com-20111014093626-4ndm6kzgxd2idmjn
2011-10-14 11:36:26 +02:00
Olivier Dony d13fb7fe7e [MERGE] various bugfixes/improvements (coming from EDI development)
- _original_module is now available on model/browse_records
 - context usage in res.partner.*
 - proper name_search() + default values for res.currency
 - active_model in wkf exec context
 - safe_eval allows try/except/finally
 - yaml_import: !ref {id: xml_id} works
 - ir_mail_server: support for alternative body/subtype
 - default value for web.base.url config parameter
 - consistency rename: Model.*get_xml_id* -> *get_external_id*

bzr revid: odo@openerp.com-20111005100954-c8mbd4kz6kkqaj84
2011-10-05 12:09:54 +02:00
Olivier Dony 33947042fd [IMP] safe_eval: allow OPCODES for try/except/finally
bzr revid: odo@openerp.com-20111005010136-xkowcqda3kres691
2011-10-05 03:01:36 +02:00
Olivier Dony ea019d556f [IMP] yaml_import: make !ref nodes work for m2o values
bzr revid: odo@openerp.com-20111003171302-n1quzvs2pjyn7xr6
2011-10-03 19:13:02 +02:00
Antony Lesuisse f94a1d1d14 [IMP] config set --load default to web, this will be cleaned up by metaoptions
bzr revid: al@openerp.com-20111001131619-3r32vd8atr8ebego
2011-10-01 15:16:19 +02:00
Olivier Dony e7601e68cb [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110928211326-0e51q7zlw4h2528z
2011-09-28 23:13:26 +02:00
Olivier Dony 209390d627 [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110927165133-uwl7px6bxl6eu7us
2011-09-27 18:51:33 +02:00
Fabien Pinckaers dee06af4b1 [FIX] YAML empty records
bzr revid: fp@tinyerp.com-20110925140802-gnyr92iepj73ceg0
2011-09-25 16:08:02 +02:00
Antony Lesuisse 404e545365 [FIX] revert 3651 al@openerp.com-20110925003322-yioqd1cdlffvr6uc http static is used by webdav
bzr revid: al@openerp.com-20110925012039-4hmqj2v5aaxxtxwy
2011-09-25 03:20:39 +02:00
Antony Lesuisse d3b76ea7f1 [IMP] temporary web dbfilter before metaoptions
bzr revid: al@openerp.com-20110925005437-7jdgrzl7i4ihx44y
2011-09-25 02:54:37 +02:00
Antony Lesuisse eda28246ee [REM] http static crap (you may use web controllers or /static dir)
bzr revid: al@openerp.com-20110925003322-yioqd1cdlffvr6uc
2011-09-25 02:33:22 +02:00
Antony Lesuisse 7a88d9058d [MERGE] trunk
bzr revid: al@openerp.com-20110924145258-16r9qi7hr3dip1jz
2011-09-24 16:52:58 +02:00
Olivier Dony 0d3085d14f [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110922154155-jq811w768d9zfgim
2011-09-22 17:41:55 +02:00
Olivier Dony 1edacff497 [MERGE] unaccent support + domain parsing cleanup/improvements
bzr revid: odo@openerp.com-20110922140856-p8q0ib1lirgv1g02
2011-09-22 16:08:56 +02:00
niv-openerp e42256c478 [imp] switched the dates to UTC. I'm so happy.
bzr revid: nicolas.vanhoren@openerp.com-20110922095443-3pzaup9ryb2vb25m
2011-09-22 11:54:43 +02:00
Olivier Dony 6e4a93cd22 [MERGE] sync w/ latest trunk
bzr revid: odo@openerp.com-20110921162128-22sp59cn4xv983q5
2011-09-21 18:21:28 +02:00
Vo Minh Thu 46ad605226 [IMP] wsgi:
- added Microsoft specific header for webdav.
- serve WSGI handlers with werkzeug when available.
- effectively use WSGI instead of netsvc HTTP stack.

bzr revid: vmt@openerp.com-20110914104300-n0l3dnmdu3jau7w2
2011-09-14 12:43:00 +02:00
Olivier Dony caef9821a3 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110906080822-tyadkxvycrx7bl1d
2011-09-06 10:08:22 +02:00
Vo Minh Thu 8ca1a87201 [IMP] wsgi: modules can be pre-loaded and expose a WSGI handler.
An option --load is added to list the modules to pre-load.
sys.path and sys.modules are initialized when the config is
parsed.

bzr revid: vmt@openerp.com-20110902133136-4v7fgptyd0g1kc5s
2011-09-02 15:31:36 +02:00
Vo Minh Thu b8a633e578 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110831091325-t5gfm57tmkr0fbee
2011-08-31 11:13:25 +02:00
Vo Minh Thu bdd0c7cf3f [IMP] simplified cache implementation (and stored on the osv), does not support contexts.
bzr revid: vmt@openerp.com-20110830121541-abov2wezdn6kl2dc
2011-08-30 14:15:41 +02:00
Antony Lesuisse be328ad7c3 [MERGE] trunk
bzr revid: al@openerp.com-20110827213628-4kflylkgtln6o4k4
2011-08-27 23:36:28 +02:00
Vo Minh Thu 174e25e66f [IMP] tools.cache: removed unused variable.
bzr revid: vmt@openerp.com-20110826121639-irm0g0eh5yec1c88
2011-08-26 14:16:39 +02:00
Antony Lesuisse 4be82ffd52 [FIX] remove debugging
bzr revid: al@openerp.com-20110824222330-zrfnr4qme71r9oqi
2011-08-25 00:23:30 +02:00
Antony Lesuisse fd83621463 [MERGE] trunk
bzr revid: al@openerp.com-20110824160936-ej26wcvgvku3lkm7
2011-08-24 18:09:36 +02:00
Antony Lesuisse b687cc3bb4 [FIX] remove unused clear function
bzr revid: al@openerp.com-20110824150122-ejryb7ni1l92d1hp
2011-08-24 17:01:22 +02:00
Vo Minh Thu 180ffb18a1 [REF] openerp-server: streamlining startup script.
bzr revid: vmt@openerp.com-20110823103343-rvy2zkre8bo9cq6g
2011-08-23 12:33:43 +02:00
Olivier Dony fc4874e5f6 [IMP] tools.misc: update msg tracking id pattern: 'openobject'->'openerp'
bzr revid: odo@openerp.com-20110819141044-liat57ztdyydl5xm
2011-08-19 16:10:44 +02:00
Vo Minh Thu 51117db344 [REF] osv: replace isinstance(m,osv_memory) by m.is_transient().
bzr revid: vmt@openerp.com-20110816095755-2g5cblolcvchtewx
2011-08-16 11:57:55 +02:00
Vo Minh Thu 6251434cb9 [IMP] unaccent: support for the postgres unaccent contrib module.
OpenERP is now able to use the SQL unaccent() function when available,
and when the server is run with the --unaccent flag.

bzr revid: vmt@openerp.com-20110811110118-cyx2l6c3wk58083p
2011-08-11 13:01:18 +02:00
Olivier Dony c90c1a735d [MERGE] latest trunk
bzr revid: odo@openerp.com-20110809160953-i1yrg5knplw4jy9l
2011-08-09 18:09:53 +02:00
Vo Minh Thu 091e9989d5 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110809154337-5l5hbbhot347ci82
2011-08-09 17:43:37 +02:00
Vo Minh Thu d803d9192b [IMP] cron: the maximum number of cron threads is configurable.
bzr revid: vmt@openerp.com-20110808135453-qdlhkyupb6803jln
2011-08-08 15:54:53 +02:00
Tristan Hill 7e036f062e [FIX] correct indentation
bzr revid: dmitrijs.ledkovs@credativ.co.uk-20110731134824-t2f3r6uxrw27ah45
2011-07-31 14:48:24 +01:00
Vo Minh Thu 266cad9a2e [IMP] unaccent: added an unaccent command-line flag, and a function to test unaccent availability.
bzr revid: vmt@openerp.com-20110722081030-ltxuqknpe1arduw5
2011-07-22 10:10:30 +02:00
Olivier Dony fb0c0e8d90 [IMP] safe_eval: allow 'max' builtin
bzr revid: odo@openerp.com-20110718145322-wid88kpg568xyxu7
2011-07-18 16:53:22 +02:00
Olivier Dony 6e3e3c3b8b [MERGE] sync with trunk
bzr revid: odo@openerp.com-20110715003655-vx3h5n4109hpa7i2
2011-07-15 02:36:55 +02:00
Olivier Dony 3080ba3452 [IMP] ir.mail_server: another round of cleanup
bzr revid: odo@openerp.com-20110715002809-ryvm27wi4ktv8v49
2011-07-15 02:28:09 +02:00
Vo Minh Thu cadfd7d85f [FIX] fields.property: typos/misnamed variables.
bzr revid: vmt@openerp.com-20110711161558-kac442kzcu3ujvj4
2011-07-11 18:15:58 +02:00
Vo Minh Thu 2fe91df6ad [IMP] fields.py: tidying up before merging in trunk.
bzr revid: vmt@openerp.com-20110711123414-5nf29awpui5x0pp6
2011-07-11 14:34:14 +02:00
Quentin (OpenERP) dae911decc [FIX] tools: get_and_sort_by_field function fixed and cleaned as asked in merge proposal
- fixed error of undefined variable set_field
- improved docstring to follow standard RST formatting
- renamed function into get_and_group_by_field to depict more precisely what it's doing
- created a specific function get_and_group_by_company to hide the complexity

bzr revid: qdp-launchpad@openerp.com-20110708132537-d7c4trk0nl5ngny0
2011-07-08 15:25:37 +02:00
Quentin (OpenERP) 242a9e9b05 [IMP] tools: added a function to get and sort by field
bzr revid: qdp-launchpad@openerp.com-20110707132614-c6letgrkz4d6vm0i
2011-07-07 15:26:14 +02:00
P. Christeas 7c8665bb69 [MERGE] docstrings improvements and preparation for api-doc structure
bzr revid: odo@openerp.com-20110701231956-93zu7xtibpo06eqm
2011-07-02 01:19:56 +02:00
P. Christeas 8cfb7dae73 API docs: docstrings, module titles
bzr revid: xrg@linux.gr-20110623090457-y5o7pd5y1ltpo9t9
2011-06-23 12:04:57 +03:00
P. Christeas cf6e623f7d API docs: settings file and titles at modules
bzr revid: xrg@linux.gr-20110623090357-nazly8vpfnw0iskr
2011-06-23 12:03:57 +03:00
P. Christeas 5aa5607913 tools.which: docstring fix
bzr revid: xrg@linux.gr-20110623090312-8kon0hgauxbrpace
2011-06-23 12:03:12 +03:00
P. Christeas a3beae41e4 tools.graph: cleanup docstrings
bzr revid: xrg@linux.gr-20110623090311-ntqxz67t23n58igo
2011-06-23 12:03:11 +03:00
P. Christeas 803d5c4c78 tools.func: docstrings
bzr revid: xrg@linux.gr-20110623090311-dbez41ijva3lwri9
2011-06-23 12:03:11 +03:00
P. Christeas 732a395a4b amount-to-text: docstrings
bzr revid: xrg@linux.gr-20110623090311-1w881l56hdl811y4
2011-06-23 12:03:11 +03:00
P. Christeas b0f06f7e52 orm, tools, addons: Doc strings improvements
bzr revid: xrg@linux.gr-20110623090228-4gn6xoyykcvfhv13
2011-06-23 12:02:28 +03:00
Vo Minh Thu 0e6668a391 [MERGE] ir_model_data unlinking does not use _unlink anymore, clears caches.
bzr revid: vmt@openerp.com-20110622135344-i4u23z22binbq8h1
2011-06-22 15:53:44 +02:00
Olivier Dony 301497c543 [IMP] lint cleanup
bzr revid: odo@openerp.com-20110624133335-jf5kg6dh9kgxw2dg
2011-06-24 15:33:35 +02:00
Olivier Dony 60cbf9bf14 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20110624102631-kiy8j2d1fc7heeco
2011-06-24 12:26:31 +02:00
Olivier Dony 4f6bee5bf7 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110617170517-pvhf772lewqk3z8c
2011-06-17 19:05:17 +02:00
Olivier Dony b867961cce [ADD] tools.misc: UnquoteEvalContext, for funky domain/context eval
UnquoteEvalContext gives you an easy way to work with
domains/context that are passed as strings but need to
be altered, while keeping the unknown symbols/names
unmodified when converted back to string.
Looks weird but is sometimes needed, because much of
the context/domain only make sense on client-side
(one of the reasons they are passed as strings in the
first place). Look at the docstring for an example.

bzr revid: odo@openerp.com-20110617170215-u6gb7b5q684rmo51
2011-06-17 19:02:15 +02:00
Vo Minh Thu e375049414 [REF] osv: moved osv_pool to modules/registry.
bzr revid: vmt@openerp.com-20110614142226-yd3y39a8z3ubwvxm
2011-06-14 16:22:26 +02:00
Quentin (OpenERP) 4432d6a9f2 [IMP] safe_eval: added min() in usable functions
bzr revid: qdp-launchpad@openerp.com-20110614082920-aokyfw4iizj0fte5
2011-06-14 10:29:20 +02:00
P. Christeas f1558730f6 ir.translation, import: push the algo. to SQL, improve performance
At a language import (translation files), we want to push a big batch of
translation records into the database. These will need update-or-insert
logic (against existing ones) or even resolution of ir.model.data .
Doing this loop in Python had been slow (invoking 2x read()s, +1 for
ir.model.data, 1 insert or update), triggered the cache (fill and clean
at each iteration).

Instead, follow the old-school db recipe for mass records insertion:
 - create a temporary table w/o indexes or constraints
 - quickly populate the temp with all records of the batch
   (through a dedicated "cursor" object)
 - process the table, doing lookups in collective SQL queries (yes, SQL
   is all about loops of data processing, efficiently)
 - insert all records from temp into ir.model.data
 - call (implicitly) all constraints of ir.model.data at the end of that
   single query.

This improves performance of translation imports by ~3x at least.

bzr revid: xrg@linux.gr-20110608162059-rfy1vvwp8w66ry0i
2011-06-08 19:20:59 +03:00
Antony Lesuisse 759c3bb6d6 [MERGE] trunk
bzr revid: al@openerp.com-20110608153139-zsf80dcs108dqzcy
2011-06-08 17:31:39 +02:00
Vo Minh Thu 2d1f8c93dd [MERGE] ir_translation: lang field selection only displays installed languages.
bzr revid: vmt@openerp.com-20110608145033-67n0g3g28pw91c9l
2011-06-08 16:50:33 +02:00
P. Christeas 28e3960004 Revert "[IMP] translation: Added two columns to ir_translation to fix the res_ids after loading is done."
This reverts commit a78cd642cd956afe3f3cee54558b214549f0a9a5.

Conflicts:

	openerp/addons/base/ir/ir_translation.py
	openerp/tools/translate.py

bzr revid: xrg@linux.gr-20110608092941-f2ycamq0k52y4nc8
2011-06-08 12:29:41 +03:00
Antony Lesuisse b5bf0e8c1c [IMP] tools.cache cleanup, 15% speedup
bzr revid: al@openerp.com-20110608092515-gum2y4snkrcrpjqb
2011-06-08 11:25:15 +02:00
Antony Lesuisse 970b19b8b4 [IMP] new tools.cache cleaner, 10% speedup and more to come...
bzr revid: al@openerp.com-20110608030330-d0dsv2k6n0w3lyd5
2011-06-08 05:03:30 +02:00
P. Christeas a2557925b6 yaml_import: fix ambiguous syntax at end of report
When finishing a YAML import, the syntax ["str %d" % int + int] turns
out to be ambiguous and is resolved as [ ("str %d" % int) + int],
leading to a:
  TypeError: cannot concatenate 'str' and 'int' objects

This had been first fixed in commit f46966e044d18a644 (2010-06-30)
(cherry picked from commit cc0c584e5dfbf672d51f61e7207047f357e31471)

bzr revid: xrg@linux.gr-20110605135116-ie2h7gnvnx2kpdoy
2011-06-05 16:51:16 +03:00
Antony Lesuisse 6aa240ca19 [IMP] ir_translation only display installed lang, 10% speedup in translation loading
bzr revid: al@openerp.com-20110601163455-2o732ssum24kwshu
2011-06-01 18:34:55 +02:00
Vo Minh Thu b681b0ec75 [ADD] tools/config: started tests.
bzr revid: vmt@openerp.com-20110601115055-idoid8p0pnkfci38
2011-06-01 13:50:55 +02:00
Vo Minh Thu 6d1753a734 [FIX] tools/config: properly cast config file values.
bzr revid: vmt@openerp.com-20110601074400-hv1jrgoqw2ji0yah
2011-06-01 09:44:00 +02:00
Olivier Dony eeeda53715 [MERGE] merged latest trunk
bzr revid: odo@openerp.com-20110531155814-4v057x9fvc1ieaxb
2011-05-31 17:58:14 +02:00
Olivier Dony bae7ef7732 [MERGE] merged with latest trunk
bzr revid: odo@openerp.com-20110531132023-or3mm8ccgbh8qmwa
2011-05-31 15:20:23 +02:00
Vo Minh Thu 6672e72c46 [FIX] tools/config: default values always override the config files:
- this bug was introduced by commit 3417.6.4 vmt@openerp.com-20110419134016-og6ye1hjrb0j52cl.

bzr revid: vmt@openerp.com-20110531125322-myptetqusymunily
2011-05-31 14:53:22 +02:00
Olivier Dony 89e66c498d [MERGE] merged latest trunk
bzr revid: odo@openerp.com-20110531103720-mas6phcnb22qj4p2
2011-05-31 12:37:20 +02:00
Olivier Dony 107bd89aea [IMP] convert: remove now useless call to ir.model.data._unlink for unlinked records.
bzr revid: odo@openerp.com-20110531092133-rbobo5g4rmk1o8j7
2011-05-31 11:21:33 +02:00
Vo Minh Thu 2f6dff7690 [MERGE] moved around some code (preparing for some refactoring) (large diff).
bzr revid: vmt@openerp.com-20110525160607-45pq13910rduijkk
2011-05-25 18:06:07 +02:00
Vo Minh Thu b6214d8c3c [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110523084106-2sodtiqaprvqndjr
2011-05-23 10:41:06 +02:00
Vo Minh Thu a931e398bf [REF] consistent, grepable ir.values object naming.
bzr revid: vmt@openerp.com-20110516150534-2524fn6587jir72m
2011-05-16 17:05:34 +02:00
Vo Minh Thu 94401ff9c1 [MERGE] yml test: more explicit message when some data is missing.
bzr revid: vmt@openerp.com-20110513125218-gnbtcpm3jlgnflff
2011-05-13 14:52:18 +02:00
Vo Minh Thu 10cf44d116 [MERGE] multiple addons paths on the command line.
bzr revid: vmt@openerp.com-20110513122837-ye8h1m4ysi4ooqhk
2011-05-13 14:28:37 +02:00
Naresh (OpenERP) a94ccb1faf [IMP]:moved the logger exception before raise
bzr revid: nch@tinyerp.com-20110513122604-2ewsy6mcyghyci9f
2011-05-13 17:56:04 +05:30
Naresh (OpenERP) 6c210e6290 [IMP]:ValueError Message when running a YAML test that belong to a module test suite as standalone
lp bug: https://launchpad.net/bugs/722472 fixed

bzr revid: nch@tinyerp.com-20110513094405-dyn08nh7uqpu1rjq
2011-05-13 15:14:05 +05:30
Vo Minh Thu 4a6155d80c [MERGE] --i18n-overwrite can be used with --update.
bzr revid: vmt@openerp.com-20110512134553-7iomtd21nqsxs63q
2011-05-12 15:45:53 +02:00
Vo Minh Thu 1fe579d8ec [REF] module code goes into openerp.modules.module.
bzr revid: vmt@openerp.com-20110511172448-p12p1rizvf3lqv97
2011-05-11 19:24:48 +02:00
Vo Minh Thu 5ca0f64b4e [REF] moved init_db from tools.misc to modules.db.
bzr revid: vmt@openerp.com-20110511144754-m06exg4dsn2jbdgz
2011-05-11 16:47:54 +02:00
Vo Minh Thu b158805af7 [REF] module info (descriptor) dictionary default values in one place.
bzr revid: vmt@openerp.com-20110511135332-87kd5vo4rdeb6b3l
2011-05-11 15:53:32 +02:00
Vo Minh Thu 8b878de82d [REF] modules.__init__:
- added some comments
- the "updating modules list" log appears only when actually updating the list
- similar code to read the module descriptor file is combined
- default values for some descriptor entries are given only once
- in particular, the default version is always 0, instead of 0 when
  reading a descriptor for migration and 1.0 when writing its value in
  database.

bzr revid: vmt@openerp.com-20110511103455-lqezcrjf2996j7mc
2011-05-11 12:34:55 +02:00
Vo Minh Thu 7963da3f94 [REF] modules.__init__:
- combined code from load_init_update_xml and load_demo_xml
- made explicit the "report" kwarg of load_module_graph

bzr revid: vmt@openerp.com-20110510094908-txzj3oeypz7iralk
2011-05-10 11:49:08 +02:00
Vo Minh Thu 35239e8e20 [MERGE] check the type of the timezone parameter (prevent it to be True).
bzr revid: vmt@openerp.com-20110509121910-odhcv8134jt2ghor
2011-05-09 14:19:10 +02:00
Naresh (OpenERP) fb753b29ee [IMP]:moved from misc to config file and allowed the server die if the timezone is not valid.
bzr revid: nch@tinyerp.com-20110509094448-vdfs3rmbcm5tw6n4
2011-05-09 15:14:48 +05:30
Naresh (OpenERP) 418f8b2cbc [IMP]:add logger warning to notify the user for incorrect timezone value in config
bzr revid: nch@tinyerp.com-20110506103053-egt8eh85knkd3mg0
2011-05-06 16:00:53 +05:30
Naresh (OpenERP) 89af288c3b [FIX]:AttributeError
lp bug: https://launchpad.net/bugs/675826 fixed

bzr revid: nch@tinyerp.com-20110505102600-0zch200zndsdf383
2011-05-05 15:56:00 +05:30
Olivier Dony a1fe08562d [MERGE] merge latest trunk
bzr revid: odo@openerp.com-20110411103548-wkbr5o0odxudi934
bzr revid: odo@openerp.com-20110428161159-g0cu3rhijlq9ummy
2011-04-28 18:11:59 +02:00
Naresh (OpenERP) dce1a9ab59 [FIX]:added missing of parsing of 'help' attribute while synchronizing translations
bzr revid: nch@tinyerp.com-20110421093400-aigxqul71iw2avph
2011-04-21 15:04:00 +05:30
Vo Minh Thu aaedb68331 [ADD]: dummy cache class replacement.
bzr revid: vmt@openerp.com-20110422100720-5ffk1tp944b53c7a
2011-04-22 12:07:20 +02:00
Vo Minh Thu 545a438c03 [REF] openerp.modules
- for the moment it is a copy of openerp.addons

bzr revid: vmt@openerp.com-20110420152718-eok61oule6p2x58z
2011-04-20 17:27:18 +02:00
Vo Minh Thu 0e1186dd3d [REF] openerp.pooler/openerp.sql_db: cleaner dependencies:
- openerp.pooler no longer provides get_db_only, which is a provided by sql_db
- openerp.sql_db does not rely anymore on netsvc, which is goog as it was
making a circular import. The downside is that db_close callers have to clean
also the Agent themselves.

bzr revid: vmt@openerp.com-20110420141407-au0oanwjc0t15vy5
2011-04-20 16:14:07 +02:00
Vo Minh Thu 7410d8e410 [REF] config: removed duplicated list of options
- the list is still reconstructed from the optparse options.

bzr revid: vmt@openerp.com-20110419134016-og6ye1hjrb0j52cl
2011-04-19 15:40:16 +02:00
Vo Minh Thu c2a752321b [MERGE] merged Julien Thewys branch to disallow unrecognized command line parameters.
bzr revid: vmt@openerp.com-20110418131023-mza0x2yo075xj0qb
2011-04-18 15:10:23 +02:00
Olivier Dony f59ac0d6b1 [MERGE] merged latest fixes from 6.0 - up to rev 3399
bzr revid: odo@openerp.com-20110411101327-dxkwvwstjf9xc58s
2011-04-11 12:13:27 +02:00
Olivier Dony c262393950 [IMP] tools.convert,rng: fixed support for <url> tag
bzr revid: odo@openerp.com-20110411083201-2ir0ed4o3xdal6tk
2011-04-11 10:32:01 +02:00
Harry (OpenERP) a65b3dc875 [REVIEW+MERGE] merged work
bzr revid: hmo@tinyerp.com-20110404060015-pku4bh49l0g5eamf
2011-04-04 11:30:15 +05:30
Rifakat Haradwala (Open ERP) d7c1a0dc4c [IMP] : changes in arguments
bzr revid: rha@tinyerp.com-20110331133628-0ahwzhlbah44mpej
2011-03-31 19:06:28 +05:30
Rifakat Haradwala (Open ERP) 57287158c8 [IMP] misc.py: send_email() corrected arguments
bzr revid: rha@tinyerp.com-20110331101329-sp7701d68d0u07zy
2011-03-31 15:43:29 +05:30
Harry (OpenERP) 4dbdabe3d2 [REVIEW] review and refactor code
bzr revid: hmo@tinyerp.com-20110331093342-7glpwdwjko1px44h
2011-03-31 15:03:42 +05:30
Rifakat Haradwala (Open ERP) 707efc0d34 [IMP]: ir_mail_server.py: removed _email_send() and merge with email_send()
bzr revid: rha@tinyerp.com-20110330133331-3r1wpr4pepdont6x
2011-03-30 19:03:31 +05:30
Rifakat Haradwala (Open ERP) 899815c3cd [IMP]: refactored send_email() of ir.mail_server
bzr revid: rha@tinyerp.com-20110330100050-aiuhkmb8je2w1p5b
2011-03-30 15:30:50 +05:30
Rifakat Haradwala (Open ERP) edd149d32d [Merge] : merge with lp:~openerp-dev/openobject-server/emails-framework
bzr revid: rha@tinyerp.com-20110329123605-442acrn04psxfzft
2011-03-29 18:06:05 +05:30
Rifakat Haradwala (Open ERP) 573431a8ba [IMP] ir_mail_server.py: corrected argument of send_method and did related changes and also removed unused imports
bzr revid: rha@tinyerp.com-20110329115309-q7q02pto691a9nxp
2011-03-29 17:23:09 +05:30
Olivier Dony ac154f2a92 [MERGE] merged latest trunk
bzr revid: odo@openerp.com-20110329114055-3q35xcpq1ndm2bhg
2011-03-29 13:40:55 +02:00
Harry (OpenERP) 16fba52bd2 [MERGE] merged with trunk server development branch
bzr revid: hmo@tinyerp.com-20110329110904-nath968yn3kd1c16
2011-03-29 16:39:04 +05:30
Rifakat Haradwala (Open ERP) e3c85bedf0 [IMP] ir_mail_server.py: improvement in send_email method
bzr revid: rha@tinyerp.com-20110328134850-x6dyw3zzqz4k8m1w
2011-03-28 19:18:50 +05:30
Olivier Dony 9effe4fa6d [IMP] tools: add "unquote" class for magic bare variables in context/domains
This is used to allow bare active_id variables in context
or domains of act_window tags. 
Note that previously this was done by replacing the active_id with
a active_id string, which required further trick on the client
side to perform the reverse operation.

bzr revid: odo@openerp.com-20110328075920-ljadcubezs9swli8
2011-03-28 09:59:20 +02:00
Rifakat Haradwala (Open ERP) 6a76b19d2e [IMP] ir_mail_server.py: implemented onchange for tls and ssl boolean field
bzr revid: rha@tinyerp.com-20110325115702-6066ifi582eztgfq
2011-03-25 17:27:02 +05:30
Rifakat Haradwala (Open ERP) 2bf882fbf7 [IMP] misc.py: improvment in email_send method and added data record for ir_mail_server
bzr revid: rha@tinyerp.com-20110325040537-sp96w9i3gceu6yfn
2011-03-25 09:35:37 +05:30
Olivier Dony fbdf1817de [FIX] yaml_tag: python records should log AssertionErrors at ERROR level by default
bzr revid: odo@openerp.com-20110324111055-nlnv42jrgtdihens
2011-03-24 12:10:55 +01:00
Rifakat Haradwala (Open ERP) b0d6ac3915 [IMP] : improvement in send_email
bzr revid: rha@tinyerp.com-20110323130601-hryhc1fh8dakr2o7
2011-03-23 18:36:01 +05:30
Vo Minh Thu d02ffafe30 [MERGE] merged the 6.0 branch.
bzr revid: vmt@openerp.com-20110322140841-6lt7ky1ohxbrgx68
2011-03-22 15:08:41 +01:00
Yogesh (OpenERP) 3723536d5d [IMP] add reference argument in email_send method for references of send email.
bzr revid: ysa@tinyerp.com-20110223122420-p6b1z9rglae6euwf
2011-02-23 17:54:20 +05:30
Harry (OpenERP) 5e65a44d19 [MERGE] merged from trunk-server-development branch
bzr revid: hmo@tinyerp.com-20110215101923-nh0t5cgf9y4n4fmz
2011-02-15 15:49:23 +05:30
Harry (OpenERP) 67f8f91945 [REVIEW+IMP] email_service: add argument for message_id in email_send and remove argument: openoject_id into _email_send
bzr revid: hmo@tinyerp.com-20110215063729-6x9gijb9zb24lk8a
2011-02-15 12:07:29 +05:30
Harry (OpenERP) 8d37539d5c [REVIEW] emails_service: remove smtp_email_from argument from email_send method
bzr revid: hmo@tinyerp.com-20110215061922-i61uyl2lniv7rkbe
2011-02-15 11:49:22 +05:30
Olivier Dony e1d2a87fc9 [FIX] tools.config: expansion of user and path should work with multiple addons path too
lp bug: https://launchpad.net/bugs/716710 fixed

bzr revid: odo@openerp.com-20110214102914-98gdvyx5y4v2kysx
2011-02-14 11:29:14 +01:00
Harry (OpenERP) ed13fcdd62 [MERGE] merged ysa-email-server branch
bzr revid: hmo@tinyerp.com-20110214091053-14vrxy08ibq6jlku
2011-02-14 14:40:53 +05:30
Olivier Ligot bafa90b716 [IMP] The command line option --i18n-overwrite can also be used when updating modules
bzr revid: olivier.ligot@groupes.be-20110209100845-ldgoxolfz98k3mnu
2011-02-09 11:08:45 +01:00
Julien Thewys 6a11b89e17 [FIX] ensures no illegitimate cli argument is silently discarded
This avoids an insidious behavior: when copy-pasting a command from a
Microsoft document to the cmd terminal, one might not see that a hyphen ('-')
preceding an option has been converted to a dash (u'\u2012') which is then
interpreted as a normal cli argument (i.e. not an option) and thus silently
discarded.

bzr revid: jth@openerp.com-20110209100735-jaschhlv3cfqjry5
2011-02-09 11:07:35 +01:00
Olivier Dony 14ebc46e3a [FIX] tools.translate: add missing imports after previous merge
bzr revid: odo@openerp.com-20110209090231-odqbf8leyurdh945
2011-02-09 10:02:31 +01:00
Olivier Dony d31260e8a8 [FIX] tools.config: override root_path in config, and avoid saving it
This should help avoid common issues with an obsolete root_path saved in
the config file. We also expand the path on-the-fly, and do the same for
addons_path.

bzr revid: odo@openerp.com-20110208170927-3kqk0c06qmxu2ko5
2011-02-08 18:09:27 +01:00
Olivier Dony cfc6d831df [MERGE] merged latest 6.0 fixes up to rev 3339
Revision 3339 = odo@openerp.com-20110208140924-0bgxqgt1oyrxwz3z

bzr revid: odo@openerp.com-20110208164923-u7mzknc0b3avb9i0
2011-02-08 17:49:23 +01:00
Vo Minh Thu 6713d57ab1 [MERGE] merge of the openerp python module branch.
bzr revid: vmt@openerp.com-20110208150149-x4vu09aj42ezma5a
2011-02-08 16:01:49 +01:00
Vo Minh Thu 45239ae493 [IMP] openerp.__init__ can imports all its submodules.
- The config parser is given sys.args explicitely
- addons.__init__ changed so it can be imported in openerp.__init__

bzr revid: vmt@openerp.com-20110208092923-42mj8sb8mkfbiytw
2011-02-08 10:29:23 +01:00
Vo Minh Thu ec17bb9e74 [IMP] forgot to add loglevels.py and reexport 3 functions in tools.misc.
bzr revid: vmt@openerp.com-20110208092458-qjfvf1vgflervdpm
2011-02-08 10:24:58 +01:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00