Commit Graph

81 Commits

Author SHA1 Message Date
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 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
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
Tristan Hill 7e036f062e [FIX] correct indentation
bzr revid: dmitrijs.ledkovs@credativ.co.uk-20110731134824-t2f3r6uxrw27ah45
2011-07-31 14:48:24 +01: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
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
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
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