Commit Graph

375 Commits

Author SHA1 Message Date
Vo Minh Thu 876c61b052 [MERGE] merged logging changes: use a top-level `openerp` name space. Similar changes for the addons will be done after 6.1.
bzr revid: vmt@openerp.com-20120208105913-habqxas406osaz9z
2012-02-08 11:59:13 +01:00
Olivier Dony 3e74579982 [FIX] ir.model: fix incorrect translate call: _()
bzr revid: odo@openerp.com-20120208004124-2nhcwrcc7js6q04s
2012-02-08 01:41:24 +01:00
Olivier Dony b33f8d7087 [IMP] ir.filters: correct misleading tooltip
Currently, filters without any assigned user
are only usable by the system, e.g. for
driving marketing campaign segments
(in the marketing_campaign module).

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

bzr revid: odo@openerp.com-20120207175927-v63kcnrwq8bgacdx
2012-02-07 18:59:27 +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 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 1a62602c86 [MERGE] trunk
bzr revid: al@openerp.com-20120131211744-whzzo0dh6w1kptng
2012-01-31 22:17:44 +01:00
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
Xavier Morel 3049760fe6 [FIX] race condition in ir.ui.menu leading to incomplete menus in web client
See bug, issue occurs with variable frequency when changing between
simple and extended views in a user account (non-administrator at
least): saving the user account leads to a clearing of the menu cache,
this is followed by two search/read in parallel (one to get the full
menu listing and one to get the list of applications for the home
page), which leads to ir_ui_menu.search (thus
ir_ui_menu._filter_visible_menus) being called concurrently, and this
apparently somehow wrecks havoc on some browse_record's caches
yielding to incoherent behaviors (menus which do have children in db
not having children in the browse_record, and thus being pruned from
the list of menus).

Putting a big lock around 1. clear_cache (just in case) and
2. _filter_visible_menu (to make cache-filling essentially atomic)
seems to solve the issue or at least make it disappear, ideally more
time should be spent understanding what breaks in browse_record.

A reentrant lock is needed as _filter_visible_menu may recurse when
accessing e.g. a menu's child_id (which yield a
search([parent_id=menu.id]) and thus a _filter_visible_menu)

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

bzr revid: xmo@openerp.com-20120125115823-rpu03zdv14t11lp3
2012-01-25 12:58:23 +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 48adfc8ff3 [IMP] openerp.netsvc: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124162245-sz7iujhxalwzroqt
2012-01-24 17:22:45 +01:00
Vo Minh Thu f5db1d10ec [IMP] openerp.addons.base: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124114730-24m0ftu1wbowg8a0
2012-01-24 12:47:30 +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 ec597e354d [MERGE] cleaned imports.
bzr revid: vmt@openerp.com-20120118111226-an43skezei7dla2v
2012-01-18 12:12:26 +01:00
Florent Xicluna 40c1de87d8 [REF] remove unused import, always import literal_eval from tools.safe_eval.
bzr revid: florent.xicluna@gmail.com-20120115214214-0rjwn80choc9g0fs
2012-01-15 22:42:14 +01:00
Olivier Dony bdce754108 [IMP] cleanup deprecated method=True param for function fields
bzr revid: odo@openerp.com-20120104133027-oaydmngk2dfc22mk
2012-01-04 14:30:27 +01:00
Antony Lesuisse 41218715bd [FIX] cron mktime should be timegm
bzr revid: al@openerp.com-20111227223944-jk1humfvon1kqw59
2011-12-27 23:39:44 +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
Olivier Dony 482aee1951 [IMP] fields.sparse: custom sparse field creation now working + handle deleted resources properly
bzr revid: odo@openerp.com-20111222182405-425rzyl6idg9aocu
2011-12-22 19:24:05 +01:00
Olivier Dony d925235e62 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20111222102555-bydsozbdu6urkj31
2011-12-22 11:25:55 +01:00
Olivier Dony 1cbaae1b4d [MERGE] ir.sequence: Fix bug 863221 - higher priority for current company sequences
bzr revid: odo@openerp.com-20111215152635-u5ajjake19a2gxzk
2011-12-15 16:26:35 +01:00
Xavier Morel 3f93344b84 [FIX] missing view type
bzr revid: xmo@openerp.com-20111206141204-i2gu7btahtz805kd
2011-12-06 15:12:04 +01:00
Fabien Pinckaers 7ab729dde9 [IMP] useability + kanban view on modules
bzr revid: fp@tinyerp.com-20111205164855-qd1hu2y599hq7xzs
2011-12-05 17:48:55 +01:00
Vo Minh Thu b0961a0dde [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111202160546-t5csnsd6daclcqxs
2011-12-02 17:05:46 +01:00
Raphael Collet 298add20ca [FIX] add missing import
bzr revid: rco@openerp.com-20111201155758-y1tej4pqrupzifs0
2011-12-01 16:57:58 +01:00
Raphael Collet 3343ccbed1 [IMP] add log message when skipping sending email
bzr revid: rco@openerp.com-20111201155248-o284h5r27pjrxbbx
2011-12-01 16:52:48 +01:00
Vo Minh Thu 842cb1ad41 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111201153214-0iintvpp7crnr2jc
2011-12-01 16:32:14 +01:00
Raphael Collet 9aa1ecbe58 [IMP] indicate tests in current thread, and prevent email sending during tests
bzr revid: rco@openerp.com-20111201153156-2ki7x22evf5ojyrz
2011-12-01 16:31:56 +01:00
Raphael Collet b9532eced6 [MERGE] improve the menu positions in 'Settings'
bzr revid: rco@openerp.com-20111201094239-8xtfka1nvykb8lds
2011-12-01 10:42:39 +01:00
Olivier Dony 52eb2fae1c [FIX] ir.translation: keywargs not supported when clearing caches
bzr revid: odo@openerp.com-20111129093800-4bsldbpjh1q4zix1
2011-11-29 10:38:00 +01:00
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
Naresh (OpenERP) 2d67a75338 [FIX]: WARNING:orm:No such field(s) in model ir.values: object: This was probably missed out to be removed with the improvements made at 3560.1.8 odo@openerp.com-20110905141058-xa01o77l1rto6hg9
bzr revid: nch@tinyerp.com-20111124085813-28fbguyklybdq213
2011-11-24 14:28:13 +05:30
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
Olivier Dony be65d63f54 [MERGE] sync w/ trunk
bzr revid: odo@openerp.com-20111118092824-oezev5012jljmgg2
2011-11-18 10:28:24 +01:00
Amit Bhavsar (Open ERP) 69102dc169 [polish3],improve the setting menu
bzr revid: amb@tinyerp.com-20111118092013-le696vrtwpeo0s2w
2011-11-18 14:50:13 +05:30
Naresh (OpenERP) 84a6f91180 [FIX]:UnboundLocalError
lp bug: https://launchpad.net/bugs/891500 fixed

bzr revid: nch@tinyerp.com-20111118085439-wgei8ockgn84jnep
2011-11-18 14:24:39 +05:30
Olivier Dony 3bf3279f25 [MERGE] Implementation of sparse field (to review), by Sebastien Beau, Akretion
bzr revid: odo@openerp.com-20111116172525-rmri79n9hpf2plwg
2011-11-16 18:25:25 +01:00
Naresh (OpenERP) e99921e853 [FIX]:sequence might use a child company's sequence by error under certain circumstances, use force_company in the context if you want specific companies seq to used else use users current company seq
lp bug: https://launchpad.net/bugs/863221 fixed

bzr revid: nch@tinyerp.com-20111114110447-jn71htdyx5q4gqiu
2011-11-14 16:34:47 +05:30
Fabien Pinckaers c42b1515c7 [IMP] constraint on XML view on object to allow inheritancy
bzr revid: fp@tinyerp.com-20111113192742-vpf1eoek4csau68t
2011-11-13 20:27:42 +01:00
Antony Lesuisse e199c8fc9d [IMP] add target inline add usage tooltip
bzr revid: al@openerp.com-20111108215555-8ub8bo01lbw7e2e2
2011-11-08 22:55:55 +01:00
Numerigraphe - Lionel Sausin 9ed5cbb24c [FIX] unmutable defaults in base addons.
bzr revid: ls@numerigraphe.fr-20111107151949-n9prrufvqe3ohz18
2011-11-07 16:19:49 +01:00
Antony Lesuisse 01dce90eb4 [IMP] Create Setting->Email root menu item
bzr revid: al@openerp.com-20111027071000-cwfpk7wd7r82sw2c
2011-10-27 09:10:00 +02:00
Olivier Dony 222d75cb1e [FIX] ir.action.report_xml: useless required attribute on boolean column
bzr revid: odo@openerp.com-20111021132802-segctl9j05k2khq0
2011-10-21 15:28:02 +02:00
Olivier Dony 5823bf1634 [FIX] ir.mail_server: except_osv's signature has changed + care for non-ascii mail errors
bzr revid: odo@openerp.com-20111017145714-36khvwvipuf8cauh
2011-10-17 16:57:14 +02:00
Olivier Dony 9d916e684e [FIX] ir_model.name_search: was incorrectly relying on name_search implementation details
As a result, it had been broken by a recent change in the implementation
of Model.name_search().

bzr revid: odo@openerp.com-20111017133702-mppmb8w54n6z23ck
2011-10-17 15:37:02 +02:00
Christophe Simonis a760d1f75a [IMP] do no hardcode the port for the default value of ir.config_parameter web.base.url
bzr revid: chs@openerp.com-20111014093328-lztmfdnekti62i43
2011-10-14 11:33:28 +02:00
Olivier Dony 462f808500 [IMP] ir.model.data: sanity check to help prevent external IDs conflict between models
bzr revid: odo@openerp.com-20111013163316-gjct0pyrxfz9bm45
2011-10-13 18:33:16 +02:00
Olivier Dony abf626b644 [IMP] ir.config.parameter: move all default params together
bzr revid: odo@openerp.com-20111012155707-fgb0pn8dj2l0ukiu
2011-10-12 17:57:07 +02:00