Commit Graph

687 Commits

Author SHA1 Message Date
Vo Minh Thu 0a6fe4d1f7 [IMP] wsgi: added exception handling.
bzr revid: vmt@openerp.com-20110902150226-223gkl4efb8o8jhs
2011-09-02 17:02:26 +02:00
Vo Minh Thu 9aeba4fece [REF] netsvc.OpenERPDispatcher: that class is gone, replaced by a simple function.
bzr revid: vmt@openerp.com-20110902141232-umpscnz2cot468hy
2011-09-02 16:12:32 +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 79d0e39c4c [FIX] loading: load base only once.
bzr revid: vmt@openerp.com-20110902132712-j9bgfnzbmddarr7h
2011-09-02 15:27:12 +02:00
Vo Minh Thu 3c8571ead0 [IMP] wsgi: added new (still to be refined) routes for XMLRPC dispatching.
bzr revid: vmt@openerp.com-20110901130450-ub41ey4s0060vucg
2011-09-01 15:04:50 +02:00
Vo Minh Thu efd281a21f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110901130339-0epw03nlkwo29125
2011-09-01 15:03:39 +02:00
Xavier Morel eac94dd2c9 [FIX] diagram view schema: diagram children are a single 'node' and a single 'arrow', in this order. Also require at least one 'field' in both node and arrow
bzr revid: xmo@openerp.com-20110901114349-c279654t361ta3q5
2011-09-01 13:43:49 +02:00
Launchpad Translations on behalf of openerp 24536a8e74 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110901044607-258xb4cenlrgh16h
2011-09-01 04:46:07 +00:00
Antony Lesuisse d4dc332b2f [FIX] res_lang clear cache remove kwargs, typo
bzr revid: al@openerp.com-20110831182216-afohhdmshv60y3g3
2011-08-31 20:22:16 +02:00
Olivier Dony 8add1d7459 [REM] view.rng: remove unused 'default' attribute, as planned in bug 687272
lp bug: https://launchpad.net/bugs/687272 fixed

bzr revid: odo@openerp.com-20110831153012-0tnrtgvar4hccnvr
2011-08-31 17:30:12 +02:00
Antony Lesuisse 519068f60a [FIX] res_lang clear cache remove kwargs
bzr revid: al@openerp.com-20110831142213-0kdmcgmt02tq4gse
2011-08-31 16:22:13 +02:00
Xavier Morel ddadb2ce75 [FIX] issue in splitting field paths for export: would create empty path sections because too eager
do replacement in two passes of re-base replacement: replace old-style 'field:id' and 'field.id' in resp. 'field/id' and 'field/.id', don't touch anything else (especially not 'field/.id') and leave them through instead.

bzr revid: xmo@openerp.com-20110831094547-8evd7ecm5qojspnr
2011-08-31 11:45:47 +02:00
Vo Minh Thu 2e7927331d [FIX] registry: forgot the self/cls args.
bzr revid: vmt@openerp.com-20110831075639-0ywrg01e6zdff7l7
2011-08-31 09:56:39 +02:00
Vo Minh Thu 1300ac804d [MERGE] res.currency: added res.currency.rate.type model.
bzr revid: vmt@openerp.com-20110830140936-pnmtt6f8jsvw32m4
2011-08-30 16:09:36 +02:00
Quentin (OpenERP) 399de9724c [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830132035-x2gs62lft5o19u6i
2011-08-30 15:20:35 +02:00
Quentin (OpenERP) 9c6fcf06d2 [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830125521-1kt54s56865388ch
2011-08-30 14:55:21 +02:00
Quentin (OpenERP) 13b2db3631 [FIX] base, res.currency: ProgrammingError. When giving a context value like {'currency_rate_type_id': False}, it crashed because the value False was kept instead of None. Thanks Guewen (c2c) for the clue.
bzr revid: qdp-launchpad@openerp.com-20110830122701-yrcpo19lokkgrpcc
2011-08-30 14:27:01 +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
Quentin (OpenERP) 999efde443 [MERGE] merged with main addons branch
bzr revid: qdp-launchpad@openerp.com-20110830120839-2e6gbk2c5hestd1r
2011-08-30 14:08:39 +02:00
Quentin (OpenERP) 17156bd16a [IMP] base, res.currency: fixes
bzr revid: qdp-launchpad@openerp.com-20110830120727-82z1fn0msp7m5096
2011-08-30 14:07:27 +02:00
Quentin (OpenERP) b8b78c43dd [IMP] base, res.currency: by default, don't show the currency_rate_type_id field, and don't display its menuitem. Both should be added by specific module using it
bzr revid: qdp-launchpad@openerp.com-20110830120644-lwuv3h1vrqjhu32y
2011-08-30 14:06:44 +02:00
Antony Lesuisse 0712964066 [MERGE] partner hide categories in simplified view
bzr revid: al@openerp.com-20110828014454-8xbfck4kffsdtvrn
2011-08-28 03:44:54 +02:00
Antony Lesuisse e6db9e4b71 [IMP] renames in base/res
bzr revid: al@openerp.com-20110828001314-roc7o38bz22mr580
2011-08-28 02:13:14 +02:00
Antony Lesuisse 3f691a6c49 [IMP] res.partner.canal into crm.case.channel
bzr revid: al@openerp.com-20110827233222-cy0w9z3jdm8ye1b2
2011-08-28 01:32:22 +02:00
Quentin (OpenERP) 9421188847 [IMP] base/res_currency: improved res.currency.rate.type. Added search view and help tooltip. Made some code cleaning
bzr revid: qdp-launchpad@openerp.com-20110827225330-3ng37d8yg31psgsd
2011-08-28 00:53:30 +02:00
Quentin (OpenERP) 7064bd53de [MERGE] merge with main server trunk
bzr revid: qdp-launchpad@openerp.com-20110827220157-xatzm3sm7zib1670
2011-08-28 00:01:57 +02:00
Olivier Dony 3f00bfc405 [FIX] registry: use a unique list of models to load per module
This is necessary to preserve the model loading order
as defined in the module. This was broken when the 
metaclass was introduced to make the explicit model
constructor call optional.
One consequence is that the order in which the classes
are declared in the module really defines their
initialization order, even if the constructors are 
later called explcitly in a different order.
This latter case should be fairly rare, and easy to
fix too - simply putting the class declaration in the
right order.

bzr revid: odo@openerp.com-20110826161736-lgnpurtbcqtbseey
2011-08-26 18:17:36 +02:00
Vo Minh Thu 4253a5f798 [MERGE] openerp-server is rewritten in a slightly better way.
Doing so, it is now not possible to both start the server and test a YAML file.
That is, testing a YAML file is similar in the translation import/export options
and does not start the server.

bzr revid: vmt@openerp.com-20110826134013-sfnlowg5xuhqxet2
2011-08-26 15:40:13 +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
Vo Minh Thu dad3528ab7 [FIX] registry.py: typos (invalid syntax).
I wonder how come I made the previous commit.

bzr revid: vmt@openerp.com-20110826121026-da90yx3iapj6y1v1
2011-08-26 14:10:26 +02:00
Mustufa Rangwala (OpenERP) 46f690d64c [IMP] Base: added currency rate type on tree view
bzr revid: mra@tinyerp.com-20110825173651-5rn1vsukicpdo331
2011-08-25 23:06:51 +05:30
Mustufa Rangwala (OpenERP) e117018b7b [REF] Base: small improvement
bzr revid: mra@tinyerp.com-20110825170657-tgajqc4yknz9f83b
2011-08-25 22:36:57 +05:30
Vo Minh Thu 6fdadb04f5 [IMP] tools.cache: added missing clean_caches_for_db replacement.
bzr revid: vmt@openerp.com-20110825124711-y2uckmvcoa0arz4h
2011-08-25 14:47:11 +02:00
Xavier Morel b5a429d008 [FIX] fnct_inv in client actions params, fix docstring for fnct_inv (fnct_inv only takes a single record id, not a sequence of ids)
bzr revid: xmo@openerp.com-20110825123049-bmvebm86gqgr6w43
2011-08-25 14:30:49 +02:00
Ujjvala Collins (OpenERP) 5b17d2ccb7 [FIX] base: Fixed problem of browse method in _get_conversion_rate method.
bzr revid: uco@tinyerp.com-20110825115645-85ya32yjnpirbuga
2011-08-25 17:26:45 +05:30
Antony Lesuisse c8bb3c1ea5 [IMP] merge add company_registry, but use a button instead of onchange to generate the footer
bzr revid: al@openerp.com-20110824234829-10lvn7cs0uuxaty4
2011-08-25 01:48:29 +02:00
Antony Lesuisse 86965e3884 [FIX] orm ir.translation get_source to use positional args
bzr revid: al@openerp.com-20110824231131-y33ng5x4d6j2vr6w
2011-08-25 01:11:31 +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 c7076adb06 [FIX] ir_attachement check use positional args
bzr revid: al@openerp.com-20110824220324-xfo7swm45stcooun
2011-08-25 00:03:24 +02:00
Antony Lesuisse 7a52778235 [IMP] ir.model.data unlink clear full cache
bzr revid: al@openerp.com-20110824214843-c75b3jl1fad0mv5a
2011-08-24 23:48:43 +02:00
Antony Lesuisse 8c0fb375b4 [FIX] ir.model clear_cache use self
bzr revid: al@openerp.com-20110824214416-9eby8h7mnqmlr8a3
2011-08-24 23:44:16 +02:00
Antony Lesuisse 8d31082408 [FIX] ir.model.access check use positional args
bzr revid: al@openerp.com-20110824211948-gvtc7uv9e3oeeo3e
2011-08-24 23:19:48 +02:00
Antony Lesuisse 52a84f0758 [FIX] revert previous commit ir_rule clear_cache
bzr revid: al@openerp.com-20110824172237-arzved9kk54u3hwu
2011-08-24 19:22:37 +02:00
Antony Lesuisse 93f9a0b0cd [IMP] ir_rule distribute clear_cache
bzr revid: al@openerp.com-20110824161918-dkexqhuc1mzpx9fs
2011-08-24 18:19:18 +02:00
Antony Lesuisse fd83621463 [MERGE] trunk
bzr revid: al@openerp.com-20110824160936-ej26wcvgvku3lkm7
2011-08-24 18:09:36 +02:00
Vo Minh Thu 764de99262 [IMP] res_company/res_user: removed unused methods _get_child_ids/company_get.
bzr revid: vmt@openerp.com-20110824155723-6wk2v8rb1gekbavv
2011-08-24 17:57:23 +02:00
Antony Lesuisse 8d08cbf561 [FIX] remove cache on used function
bzr revid: al@openerp.com-20110824153042-w6wgegxjruu06ln1
2011-08-24 17:30:42 +02:00
Antony Lesuisse 362399c6ac [FIX] remove cache on used function
bzr revid: al@openerp.com-20110824152905-8en0wclyumjz5105
2011-08-24 17:29:05 +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 a1b433fac8 [IMP] wsgi: make it possible to kill siblings.
bzr revid: vmt@openerp.com-20110824132220-htd1c4ssewwozl35
2011-08-24 15:22:20 +02:00