Commit Graph

96 Commits

Author SHA1 Message Date
Vo Minh Thu 081b6d98ab [REF] separate/expose some code.
bzr revid: vmt@openerp.com-20110428151330-m8qkggoqmsry3w2z
2011-04-28 17:13:30 +02:00
Vo Minh Thu 041a61c1b1 [REF] openerp.conf: new module
- see its docstring for its purpose
- otherwise empty for now

bzr revid: vmt@openerp.com-20110420102627-j5zbn1phuc0pmffk
2011-04-20 12:26:27 +02:00
Vo Minh Thu 4b3357652d [REF] osv_pool cleaning:
- removed unused variables (module_list, module_object_list, created)
  - removed unecessary call to del on a dictionary
  (as its element is replaced anyway)
  - added some comments

bzr revid: vmt@openerp.com-20110519085035-p9ohve0nfkudgrx5
2011-05-19 10:50:35 +02:00
Vo Minh Thu 67aa6c461a [REF] pooler: expose a delete_pool method, can be useful to debug memory leaks.
bzr revid: vmt@openerp.com-20110427092836-284bci0an48nopwc
2011-04-27 11:28:36 +02:00
Vo Minh Thu 4f163f727a [IMP] orm: check for object _name validity.
bzr revid: vmt@openerp.com-20110427090846-pxqkyk2y0p8sjb8v
2011-04-27 11:08:46 +02:00
Vo Minh Thu 2856d16912 [ADD] sql_db: show file/line where the cursor was closed
This will be printed along the error message whenever an attempt to use
a closed cursor is made (only in debug_sql log level).

bzr revid: vmt@openerp.com-20110422112417-dbeqq4qm59sr2wvt
2011-04-22 13:24:17 +02:00
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 a659d1fa8c [REF] netsvc: explicit Agent thread creation.
bzr revid: vmt@openerp.com-20110421155836-70da1nhpb38zqbls
2011-04-21 17:58:36 +02:00
Vo Minh Thu 7008aa3e0e [FIX] sql_db: connection pool created lazily.
- This is necessary to give a chance to change the config just after importing openerp.

bzr revid: vmt@openerp.com-20110421103125-3lv609wnu3vh2m4f
2011-04-21 12:31:25 +02:00
Vo Minh Thu 2356412aea [FIX] openerp.addons: corrected wrong import syntax.
bzr revid: vmt@openerp.com-20110420153741-scgftlguxqvopgur
2011-04-20 17:37:41 +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 f96d58c9c6 [REF] pooler: added some comments.
bzr revid: vmt@openerp.com-20110420072346-os10xhy9lnvposi2
2011-04-20 09:23:46 +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 342f2047cf [REF] openerp-server: better imports.
bzr revid: vmt@openerp.com-20110418155733-gt8shgr0yilo20mw
2011-04-18 17:57:33 +02:00
Vo Minh Thu 0b42209314 [REF] osv.py: removed unused variable class_pool.
bzr revid: vmt@openerp.com-20110418134236-p5a1wikw10wtplvg
2011-04-18 15:42:36 +02:00
Vo Minh Thu 0c4e557129 [FIX] res_lang: when testing if there is some default value on res.partner, pass it as a list of strings, not as a string.
bzr revid: vmt@openerp.com-20110517120027-cj3nfku07hx521al
2011-05-17 14:00:27 +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 059083488e [IMP] res_lang: removed unneeded itertools import.
bzr revid: vmt@openerp.com-20110516101009-x1ih1y17ci4ihkne
2011-05-16 12:10:09 +02:00
Vo Minh Thu e248d008c0 [IMP] res_lang: using a regex instead of custom function,
based on rco comment.

bzr revid: vmt@openerp.com-20110516100712-ezg0ul9bo81uto1h
2011-05-16 12:07:12 +02:00
Vo Minh Thu 584fc24bb3 [FIX] forgot to actually replace the function call by the new one.
bzr revid: vmt@openerp.com-20110516090908-umx4o2ar2w2igiid
2011-05-16 11:09:08 +02:00
Vo Minh Thu 12144cfc2b [FIX]: dont use the leading non-digits when splitting in the format.
bzr revid: vmt@openerp.com-20110516090312-8r5b63e7ln045h0p
2011-05-16 11:03:12 +02:00
Vo Minh Thu ffb6fdd3a9 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110516090036-d0yr21s1ofqu8tiq
2011-05-16 11:00:36 +02:00
Launchpad Translations on behalf of openerp 2015bd7a3e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110514045306-lh4jlor643nt2bpo
2011-05-14 04:53:06 +00:00
Vo Minh Thu 0da15bd185 [MERGE] slightly improved log message for cron jobs.
bzr revid: vmt@openerp.com-20110513142920-s0vw77xawgod5r13
2011-05-13 16:29:20 +02:00
Jacques-Etienne Baudoux 56b794c644 [FIX] removed unused imports, unused depth definition, changed indent definition
bzr revid: jba@openerp.com-20110513133514-zojsknaqrybu347e
2011-05-13 15:35:14 +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
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 48b2466676 [FIX] res_lang: the string to format cannot be empty.
- not yet fixed, but a new implementation of the grouping code
  is provided without that problem.
- some testing need to be done.
- removed unnecessary arguments
- eval() used only once

bzr revid: vmt@openerp.com-20110513093121-qo7walg7dff0kufl
2011-05-13 11:31:21 +02:00
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 6a3342acfb [MERGE] orm: pass the context around.
lp bug: https://launchpad.net/bugs/704696 fixed

bzr revid: vmt@openerp.com-20110512125239-b2s0etg1yrjoa970
2011-05-12 14:52:39 +02:00
Vo Minh Thu c666a297cf [REF] ir_ui_menu: _get_image_icon simplified, more general.
- code actually from chs a.k.a. Christophe (OpenERP) a.k.a. kangol.

bzr revid: vmt@openerp.com-20110512123752-l1gpv6qr193wt4yf
2011-05-12 14:37:52 +02:00
Vo Minh Thu a2e39003d8 [MERGE] ir.ui.menu form view: set parent_id in new submenus.
bzr revid: vmt@openerp.com-20110512113816-ebbosf5u932zq03t
2011-05-12 13:38:16 +02:00
Launchpad Translations on behalf of openerp 20dbc6e4a4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110511043631-ouofbf2787kb2n1c
bzr revid: launchpad_translations_on_behalf_of_openerp-20110512043442-hwhv5k48fyhs2se7
2011-05-12 04:34:42 +00:00
Jacques-Etienne Baudoux 1ab0987803 [IMP] logging of rpc calls and cron jobs
lp bug: https://launchpad.net/bugs/781190 fixed

bzr revid: jba@openerp.com-20110511160707-lsf87msknw7rngus
2011-05-11 18:07:07 +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
Xavier Morel 13b326dff8 [IMP] fix wording of read_group documentation
bzr revid: xmo@openerp.com-20110509092127-11acwi6oieuk0uzs
2011-05-09 11:21:27 +02:00
Vo Minh Thu 063743036a [MERGE] report_sxw: raise an exception, not a string.
bzr revid: vmt@openerp.com-20110509084641-0jbtniey22wbhy46
2011-05-09 10:46:41 +02:00
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
Olivier Dony ab212d05eb [MERGE] merged latest fixes from 6.0, up to revision 3420
Rev 3420 = odo@openerp.com-20110506093704-1vwxsqyz63lq40a1

bzr revid: odo@openerp.com-20110506093920-j1uobqryzx5vv6vv
2011-05-06 11:39:20 +02:00
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
Naresh (OpenERP) 8f3c2558ff [FIX]:orphan exception:(from XRG's commit)
lp bug: https://launchpad.net/bugs/720705 fixed

bzr revid: nch@tinyerp.com-20110503122203-9rx2x7smdpqpm3j2
2011-05-03 17:52:03 +05:30
Raphael Collet ab011e2062 [FIX] in submenu panel: set parent_id in new submenus
bzr revid: rco@openerp.com-20110503101520-xmw46uwpmli72f1l
2011-05-03 12:15:20 +02:00
AVP(Axelor) fb7a13668c [REF] code improvement
bzr revid: amp@tinyerp.com-20110429085145-ybql99jhrk5fdxqf
2011-04-29 14:21:45 +05:30
Olivier Dony a725ceb3fa [MERGE] merged latest fixed from 6.0
bzr revid: odo@openerp.com-20110428160434-0ozhxwnfgssptm9c
2011-04-28 18:04:34 +02:00
Vo Minh Thu c5b8487c97 [MERGE] merged fix for default search view.
bzr revid: vmt@openerp.com-20110426105426-ybsahbulj84gbwfg
2011-04-26 12:54:26 +02:00
Vo Minh Thu 91eed5bc4f [MERGE] merged nch branch to add the model in the xml report tree view.
bzr revid: vmt@openerp.com-20110426103953-m0gs9dfrg1x422wb
2011-04-26 12:39:53 +02:00
Vo Minh Thu 4c5292d799 [MERGE] merge nch fix for report window title
- the fix is based on a patch by Cristian Salamea

bzr revid: vmt@openerp.com-20110426103110-q92d4b5kxgfocsxd
2011-04-26 12:31:10 +02:00