Commit Graph

971 Commits

Author SHA1 Message Date
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