Commit Graph

4194 Commits

Author SHA1 Message Date
Olivier Dony c3c0705203 [FIX] ir.ui.view: fix tests after refactoring of ir.ui.view/qweb view processing
bzr revid: odo@openerp.com-20140130154354-6xg4mx31to4dg0ql
2014-01-30 16:43:54 +01:00
Olivier Dony 5908a45e47 [FIX] ir.ui.view: better error message upon missing model for non-qweb views, misc cleanup
bzr revid: odo@openerp.com-20140130154349-rnwjz0bgxp6vdxwu
2014-01-30 16:43:49 +01:00
Fabien Meghazi 53098c666c [MERGE] trunk's CORS support (merge with changes)
bzr revid: chs@openerp.com-20140130120448-tj9pu30o7dj74zid
bzr revid: fme@openerp.com-20140130125425-j1yn6p4lr7lincr3
2014-01-30 13:54:25 +01:00
Olivier Dony 5bb31b70d8 [FIX] ir.ui.view: one2many to ir.model.data needs domain otherwise it matches entries from other models
bzr revid: odo@openerp.com-20140130120109-0z6kpzv5t155haog
2014-01-30 13:01:09 +01:00
Olivier Dony c231d9760a [FIX] ir.ui.view: restore extended validation of view arch, let exceptions bubble up to constraint checker, cleanup+translate error messages
Raising an exception in a _constraint will now be
properly considered as a failed constraint, and the
user will see a warning popup with the exception
message. Therefore it makes sense to translate the
error as well, at least the not-too-technical part

bzr revid: odo@openerp.com-20140130100716-qcbwy7ecnxj17718
2014-01-30 11:07:16 +01:00
Olivier Dony 7a01d4a93f [IMP] public_user: make parent partner inactive too
bzr revid: odo@openerp.com-20140130093109-x2legxl31mi5c8m6
2014-01-30 10:31:09 +01:00
Olivier Dony 4b746826b2 [IMP] res.partner: unused imports
bzr revid: odo@openerp.com-20140130093012-ytrx2i2xoc23npfg
2014-01-30 10:30:12 +01:00
Fabien Meghazi 1daa7db8b0 [REM] Removed disabled_db=True from ir_http's auth="none"
[MOV] ensure_db() helper from http module to web module

Since we removed auth="admin" in favor of auth="none" with explicit superuser id usage,
the disable_db clause in auth_none() has only sense for the /web and /web/login routes.
The web module is an exception because it's routes are registered for the nodb dispatching.
This is why the ensure_db() helper is moved to web client and will take care of the
web's auth="none" routes that needs a db to work with

bzr revid: fme@openerp.com-20140130092152-h6elwf2yerhd9xey
2014-01-30 10:21:52 +01:00
Antony Lesuisse ec45bc96f9 [IMP] safe_eval add int float range, rename public user
bzr revid: al@openerp.com-20140130034238-qlgbu41d7mg9ns6i
2014-01-30 04:42:38 +01:00
Olivier Dony 3d1b879049 [IMP] qweb.render: t-esc/t-raw rendered as `False` or `None` replaced by empty strings
bzr revid: odo@openerp.com-20140129180600-0c155g520gpvnqqf
2014-01-29 19:06:00 +01:00
Christophe Simonis 958ecb84b0 [FIX] ir.model.data: correct cache clearing
bzr revid: chs@openerp.com-20140129172949-tmwd17c2ofsqj94t
2014-01-29 18:29:49 +01:00
Fabien Meghazi 04a52645c0 [REM] auth="admin" removed
bzr revid: fme@openerp.com-20140129171933-e61qp9p5xfdwyw89
2014-01-29 18:19:33 +01:00
Christophe Matthieu d546e0db2f [fIX] ir_qweb: fix groups inside t-call (use request.cr and request.uid and don't use None, None)
bzr revid: chm@openerp.com-20140129171138-zwuj2vyzu7l853np
2014-01-29 18:11:38 +01:00
Christophe Simonis 378c908d4c [MERGE] forward port of branch saas-2 up to revid 5006 chs@openerp.com-20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-20140129094847-4rsg0kjio0ed0rjk
bzr revid: chs@openerp.com-20140129141002-4p8fttm8ii0ogsse
2014-01-29 15:10:02 +01:00
Martin Trigaux cb4ce12d3a [IMP] make sure the records will be in right order (and trigger chirurgiens-dentistes.fr for the second name_search)
bzr revid: mat@openerp.com-20140129124806-dq56o7r1yt38nb08
2014-01-29 13:48:06 +01:00
Martin Trigaux e6ee1947f8 [FIX] better test, add missing parentheses in query, return empty list in case of no idea (instead of triggering super)
bzr revid: mat@openerp.com-20140129123404-8hs786n64briqyta
2014-01-29 13:34:04 +01:00
Martin Trigaux f71a381b81 [ref] move up!
bzr revid: mat@openerp.com-20140129114102-tk4fotnb28mtaz9x
2014-01-29 12:41:02 +01:00
Martin Trigaux 5d38e40e6b [FIX] revert previous rev for better where and add test
bzr revid: mat@openerp.com-20140129113938-517gqfi1kzcf64fz
2014-01-29 12:39:38 +01:00
Martin Trigaux 7dedf4ec45 [IMP] remove useless variable, where_clause at least '' as created from a str.join()
bzr revid: mat@openerp.com-20140129111959-7y9su01ooneu0mco
2014-01-29 12:19:59 +01:00
Martin Trigaux 05ec12692f [FIX] res_partner: name_search search in one pass
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.

This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).

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

bzr revid: mat@openerp.com-20140129105548-dd6zmy9uc2cuowpq
2014-01-29 11:55:48 +01:00
Antony Lesuisse 8bed2fb861 [FIX] ir_ui_view noupdate only if arch change, otherwise it flags them when you check them in customize
bzr revid: al@openerp.com-20140129051009-iuqpdz8a6qta6dx5
2014-01-29 06:10:09 +01:00
Antony Lesuisse 7eebddd09a [IMP] ir_ui_view try to add search on xml_id, doesnt seem to work
bzr revid: al@openerp.com-20140129050341-bbu8csko2rcofv13
2014-01-29 06:03:41 +01:00
Antony Lesuisse 9aed30381e [FIX] ir.model.data more faithful backward compatibilty
bzr revid: al@openerp.com-20140129032053-nb5x1oll6mkpw86h
2014-01-29 04:20:53 +01:00
Antony Lesuisse 928f25a4f1 [IMP] ir.model.data clean up xmlid lookup mess
- introduce a new xmlid_ set of function with a single cache and raise_on_not_found=False
- implement backward compatible api based on the new one

bzr revid: al@openerp.com-20140129030256-pqj3eay9vf4w2m14
2014-01-29 04:02:56 +01:00
Fabien Meghazi 38e651cbd2 [REM] Removed t-href|t-action|t-src from server's ir.qweb. Restor add_template for template preprocessing
bzr revid: fme@openerp.com-20140128201235-iv2gwjt1jn00bwoo
2014-01-28 21:12:35 +01:00
Olivier Dony 95d3995614 [MERGE] Sync with trunk revno 5038 rev-id ged@openerp.com-20140127161125-2br49sy5bnyuen7f
bzr revid: odo@openerp.com-20140128184158-19hj4mg83jazp3nr
2014-01-28 19:41:58 +01:00
jke-openerp 4dca6cd0cf [REF] Add missing image
bzr revid: jke@openerp.com-20140128150452-86abqh6w3dfojr3q
2014-01-28 16:04:52 +01:00
jke-openerp 9a8a6a5484 [REF] Add public_user into module server/addons/base (removed from addons/website/website_data.xml)
[REF]Add _auth_method_public  into server/addons/base/ir/ir_http (removed from website/ir_http)

Related commit for Addons : Committed revision 10689.

bzr revid: jke@openerp.com-20140128145510-3byhdmwftloeod6s
2014-01-28 15:55:10 +01:00
Raphael Collet 9518e6c323 [IMP] in ir_model_data.get_object(), rename parameter 'check' into 'raise_exception'
bzr revid: rco@openerp.com-20140127151726-if92mwiu3xawr8ge
2014-01-27 16:17:26 +01:00
Fabien Meghazi 0ffa561bbf [FIX] QWebException
bzr revid: fme@openerp.com-20140127145728-o3cxjoifut31s011
2014-01-27 15:57:28 +01:00
Gery Debongnie dde3f8479c [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140124153404-14x07mfr5s9lghid
bzr revid: ged@openerp.com-20140127133009-t8t29b3eu8ai5t8v
2014-01-27 14:30:09 +01:00
Fabien Meghazi bfeec4808b [REM] Removed todo, slug feature supported in addons.website.ir_http
bzr revid: fme@openerp.com-20140127132752-par38qbtnf21yzfs
2014-01-27 14:27:52 +01:00
Fabien Meghazi a969be4c38 [IMP] _handle_exception can also return a response
bzr revid: fme@openerp.com-20140127131333-pl0cminocjfopxaa
2014-01-27 14:13:33 +01:00
Fabien Meghazi 4138c1211c [IMP] Reworked qweb exceptions
bzr revid: fme@openerp.com-20140127113921-7u3gfzm7ykb3ruud
2014-01-27 12:39:21 +01:00
Launchpad Translations on behalf of openerp d9cdc8564c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140122061252-9jm03vlbr13ofqo9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140123055652-0p71divui34v1c1q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140124062440-hx0z2e4sd6nz7exc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051449-rlunde7qysqsh1b1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140125064003-v340hiykcngjg9ue
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051541-9fnyw12nex5poeth
bzr revid: launchpad_translations_on_behalf_of_openerp-20140127054606-1jb6usf6pj7gy1xl
2014-01-27 05:46:06 +00:00
Launchpad Translations on behalf of openerp 88db454a41 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140125060316-85hljstv1k9mjqzt
2014-01-25 06:03:16 +00:00
Fabien Meghazi 76144806af [IMP] If t-field can't get/use the resource, set it's content to None
bzr revid: fme@openerp.com-20140124132137-7m8840py82nlib40
2014-01-24 14:21:37 +01:00
Fabien Meghazi 2b6ac77f11 [IMP] move dispatch()'s post processing code into a method
bzr revid: fme@openerp.com-20140124103546-h8an7dehqdc412cn
2014-01-24 11:35:46 +01:00
Gery Debongnie 02f7760063 [IMP] adds an 'interval' attribute to 'field' in the rng file (view.rng)
bzr revid: ged@openerp.com-20140124084319-g4al01wlwnxf8irh
2014-01-24 09:43:19 +01:00
Thibault Delavallée 3cad7c9812 [FIX] ir_qweb: fixed a forgotten av -> attribute_value
bzr revid: tde@openerp.com-20140123162552-akydzhiu0ckushy2
2014-01-23 17:25:52 +01:00
Stephane Wirtel 22d71d52e4 [MERGE] Remove the unreadable variables in the methods of ir.qweb
bzr revid: stw@openerp.com-20140123155444-kw6l4xidrhpo5gp8
2014-01-23 16:54:44 +01:00
Fabien Meghazi 35050c4ba0 IMP] Launch a 404 when ModelConverter's browse records can't resolve _rec_name. Also serves as automatic preload
bzr revid: fme@openerp.com-20140123151207-3wp77801g44b2822
2014-01-23 16:12:07 +01:00
Raphael Collet ca0a49ccfd [FIX] res_config_settings: stupid bug, I was reassigning uid into a method!
bzr revid: rco@openerp.com-20140123145756-9ggykftlva4v1ar1
2014-01-23 15:57:56 +01:00
Raphael Collet cecd748369 [IMP] res_config_settings: in group fields, allow several groups as targets
bzr revid: rco@openerp.com-20140123144022-6gu8s5kn22bw70ng
2014-01-23 15:40:22 +01:00
Stephane Wirtel f566d20c74 [REF] Replace g_att -> generated_att, t_att template_att, an -> att_name, av -> att_value, v = qcontext
bzr revid: stw@openerp.com-20140123124651-wi4l32q0x4cy5o6s
2014-01-23 13:46:51 +01:00
Raphael Collet d68bb48e44 [IMP] ir.model.data: get_object() never raises an exception when check=False
bzr revid: rco@openerp.com-20140123103306-tilma2dahgfsm70t
2014-01-23 11:33:06 +01:00
Fabien Meghazi 5b0ff455c5 [IMP] allow ir.ui.view.render() to be called from a browse record instance
bzr revid: fme@openerp.com-20140123101939-2pbjfps4lfc56mc1
2014-01-23 11:19:39 +01:00
Fabien Meghazi 8d28d74dc9 [FIX] stupid fme
bzr revid: fme@openerp.com-20140122153022-y7pe379qjxqy67vs
2014-01-22 16:30:22 +01:00
Fabien Meghazi 1895d8bd76 [FIX] clear ir.ui.view cache on translation write/create
bzr revid: fme@openerp.com-20140122151327-keaozhwa7rx4qj73
2014-01-22 16:13:27 +01:00
Fabien Meghazi 9cd7e946b2 [FIX] clear ir.ui.view cache on write()
bzr revid: fme@openerp.com-20140122150230-bfb02rtxm3ojpvye
2014-01-22 16:02:30 +01:00
Antony Lesuisse 658ed76a84 [REM] preprocess of widget selection on m2o
As they are now directly supported by the webclient since commit
web 3863 nicolas.vanhoren@openerp.com-20131022131525-d0i61sbm0w6katfs

bzr revid: al@openerp.com-20140121112759-zavwqdyv8kdq4oys
2014-01-21 12:27:59 +01:00
Fabien Meghazi 8702ef5d3b [CHG] Allow @http.route() to use additional parameters and inherits them properly
bzr revid: fme@openerp.com-20140120153614-t8l7tfit686ehfn0
2014-01-20 16:36:14 +01:00
Launchpad Translations on behalf of openerp 28d79433c3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070457-rn2tgdxis2fi3nqo
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055822-ajy043mntc4jr407
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055854-z7wtyb24c5t8kcmj
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070538-2xm86ece1aate8u9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055932-sa6vrp2g8ua3u88e
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055948-lwcyqcfutgamwac1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070546-d89xqw56zou7e9p9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055955-6wrdxqy1018mo7jq
2014-01-20 05:59:55 +00:00
Jojo le bricolo 6a4ea0f9a4 QWeb cleanups
bzr revid: jojo_le_bricolo-20140119174437-kjrr9p1smpdxhd3u
2014-01-19 18:44:37 +01:00
Christophe Simonis 14815d669f [FIX] attachments: filestore use dbname instead of dbuuid
bzr revid: chs@openerp.com-20140117161424-i1ggvzawkjrabbwc
2014-01-17 17:14:24 +01:00
Christophe Matthieu bd444b8a5e [FIX] ir_ui_view: add method clear_cache called when user change user groups
bzr revid: chm@openerp.com-20140117143853-sy5ehfk9n2wrzq41
2014-01-17 15:38:53 +01:00
Christophe Matthieu 2f974012db [FIX] ir_ui_view: write noupdate on ir_model_data with SUPERUSER when the user write
bzr revid: chm@openerp.com-20140117134916-w59ive0yiqchp57m
2014-01-17 14:49:16 +01:00
Christophe Matthieu 1b44ed492f [FIX] base/account: auto install period's dates. Resolve: don't set country_id to res.partner
bzr revid: chm@openerp.com-20140117131733-23jrg3hlcqyalte9
2014-01-17 14:17:33 +01:00
Christophe Simonis a45b2c6b90 merge upstream
bzr revid: chs@openerp.com-20140117092206-ha47ryhjc4ph50nl
2014-01-17 10:22:06 +01:00
Christophe Simonis 143f520395 [FIX] test ir_attachment: files are not directories
bzr revid: chs@openerp.com-20140116224207-m2s5ljkb1t7q54tk
2014-01-16 23:42:07 +01:00
Christophe Simonis c55079f112 [IMP] ir.attachment: active db storage by setting setting to "db"
bzr revid: chs@openerp.com-20140116224058-v53fozipvi0obmq1
2014-01-16 23:40:58 +01:00
Christophe Simonis 895b3c96f6 [FIX] test ir_attachment: call super()
bzr revid: chs@openerp.com-20140116221403-h6h9cvt9rn8y2yj1
2014-01-16 23:14:03 +01:00
Christophe Simonis 45d24fd92b [FIX] ir.attachement: typo s/config_paramater/config_parameter/
bzr revid: chs@openerp.com-20140116214722-4804mskx7c21ikk5
2014-01-16 22:47:22 +01:00
Christophe Simonis 3275de5981 [IMP] ir.attachment: filestore is now in data-dir and by default
bzr revid: chs@openerp.com-20140116185415-ajia02bsty9joox7
2014-01-16 19:54:15 +01:00
Thibault Delavallée 382efffb58 [MERGE] [CLEAN] Part I of cleaning and improvements of the server branch of website-al, after review with our Masters. All Glory to Our Masters.
[CLEAN] res_config, res_users: cleaned call to imd.get_object() + code cleaning
- res_config: raise by default, no need to set the argument at True
- res_users: directly embedded get_user_groups_view code inside update_user_groups_view.
The try / except is still necessary, because when installing a new db, groups and users
are created before the user_groups_view view effectively exist. Due to some circular
references, the try / except is therefore necessary to install a new db.

[CLEAN] ir_qweb: simplified and cleaned QWebcontext implementation
- now using openerp.tools.safe_eval, instead of a custom eval with custom builtins
- removed undefined_handler, hardcoded to a lambda function that returns None for
a missing attribute
- cleaned code, removed now dead BUILTINS, removed commented code
- tools.safe_eval: added a parameter locals_builtins. This allows to copy the globals builtins in the locals. This modification is due to the fact that the locals always returns None, allowing to simplify templates. Otherwise we would have to test the existence of each variable before actually using it. However as the locals always return None for every key, the globals are never checked. Copying the builtins inside the local allows to have a complete locals, but slightly break the globals/locals separation.

[CLEAN] Misc
- setup.py: reverted website-al unnecessary change
- oe: reverted website-al unnecessary change

[DOC] renamed misc_qweb.rst file into ir_qweb.rst

bzr revid: tde@openerp.com-20140116184144-fd5h4a94we13mm72
2014-01-16 19:41:44 +01:00
Thibault Delavallée f4bb798cb8 [CLEAN] ir_qweb: removed commented and now dead BUILTINS
bzr revid: tde@openerp.com-20140116183315-g5ootf670kwx1z1z
2014-01-16 19:33:15 +01:00
Thibault Delavallée c76a3aba8f [CLEAN] ir_qweb: simplified and cleaned QWebcontext implementation
- now using openerp.tools.safe_eval, instead of a custom eval with custom builtins
- removed undefined_handler, hardcoded to a lambda function that returns None for
a missing attribute

tools.safe_eval: added a parameter locals_builtins. This allows to copy the builtins
in the locals. This hack is due to the fact that the locals always returns None, allowing
to simplify templates. Otherwise we would have to test the existence of each variable
before actually using it.
However as the locals always return None for every key, the globals are never checked.
Copying the builtins inside the local allows to have a complete locals, but sligtly
break the globals/locals separation.

To be reviewed and approved.

bzr revid: tde@openerp.com-20140116182750-1rnw8iljt5a9gb4u
2014-01-16 19:27:50 +01:00
Xavier Morel ff51574fae [FIX] somebody renamed classes without fixing the corresponding autodoc invocation
bzr revid: xmo@openerp.com-20140116144957-j2no6ls83vfxtgbk
2014-01-16 15:49:57 +01:00
Thibault Delavallée 8af1afb1a0 [CLEAN] [REM] ir_qweb: removed access rules on the various ir_web models
as those are abstract models. They should not have any access rules.

bzr revid: tde@openerp.com-20140116140621-6mjkp82oy0iyahi7
2014-01-16 15:06:21 +01:00
Fabien Meghazi cee6749395 [IMP] ir_http._handle_exception() raises last exception in order to keep original traceback
bzr revid: fme@openerp.com-20140116135426-x7q8l6ph2m1ln8ry
2014-01-16 14:54:26 +01:00
Thibault Delavallée 2c32d92ee5 [CLEAN] res_config, res_users: cleaned call to imd.get_object() + code cleaning
- res_config: raise by default, no need to set the argument at True
- res_users: directly embedded get_user_groups_view code inside update_user_groups_view.
The try / except is still necessary, because when installing a new db, groups and users
are created before the user_groups_view view effectively exist. Due to some circular
references, the try / except is therefore necessary to install a new db.

bzr revid: tde@openerp.com-20140116134056-nyiybx7zsr8rhkiv
2014-01-16 14:40:56 +01:00
Thibault Delavallée ab5c23079a [MERGE] Sync with trunk, solved conflicts.
bzr revid: tde@openerp.com-20140116091716-zk1n5ots94i65io5
2014-01-16 10:17:16 +01:00
Launchpad Translations on behalf of openerp f39b8bb436 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060347-s1e2v9o33n1cxk2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060418-cw791djr2ebt2wuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060651-x8r0l0m27wcx0yav
2014-01-16 06:06:51 +00:00
Launchpad Translations on behalf of openerp 7b2948c3bc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116051725-2fysq8wj8ez01l9u
2014-01-16 05:17:25 +00:00
Christophe Simonis 0771ca2692 [MERGE] forward port of branch saas-2 up to revid 5002 dle@openerp.com-20140114173613-ruxye1m7fxtcjfim
bzr revid: chs@openerp.com-20140115205357-arptzm69logz3osm
2014-01-15 21:53:57 +01:00
Fabien Meghazi 130fff6241 [REM] Removed QWeb's useless t-escf and t-rawf
bzr revid: fme@openerp.com-20140115183346-qhifdt2ta9am7tj7
2014-01-15 19:33:46 +01:00
Christophe Simonis 5269664102 [FIX] correct uses of addons_path
bzr revid: chs@openerp.com-20140115180313-pqcrfmstci2w21y8
2014-01-15 19:03:13 +01:00
Olivier Dony 1c129e4ca0 [FIX] ir.translation: search view should use the stored `src` colum, the `source` function is meant for edition only
bzr revid: odo@openerp.com-20140115121021-978u00gkshuabvtf
2014-01-15 13:10:21 +01:00
Launchpad Translations on behalf of openerp 5334330d9d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062126-ypg4xp33rspusnts
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062205-ov2axame3z00jkii
2014-01-15 06:22:05 +00:00
Denis Ledoux 3fdd1e649f [FIX] base: print workflow now displays the transition where the workflow instance is stuck
bzr revid: dle@openerp.com-20140114170529-wg1c3q8492whr19d
2014-01-14 18:05:29 +01:00
Xavier Morel 58ff276887 [FIX] pillow-compatible import
bzr revid: xmo@openerp.com-20140114124843-zpg2qzua90uq1pxu
2014-01-14 13:48:43 +01:00
jke-openerp 8fbc5b159d [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20140113193949-39t5hssln2u5s899
2014-01-13 20:39:49 +01:00
Christophe Matthieu a02797b26b [FIX] base.language.install remove explicit access access_base_language_install_group_user
bzr revid: chm@openerp.com-20140113173509-4syed8md6drifv2q
2014-01-13 18:35:09 +01:00
Christophe Matthieu bad16022e8 [FIX] base_language_install: add access right: access for group_user
bzr revid: chm@openerp.com-20140113082826-glv3v4pum6k4l1hh
2014-01-13 09:28:26 +01:00
Christophe Matthieu e82cb100bf [FIX] res.font: add access right: read allow for all user and all allow for group_user
bzr revid: chm@openerp.com-20140113082004-x494blqy2xjfc4wl
2014-01-13 09:20:04 +01:00
jke-openerp 344166ba15 [IMP] Removed quick_create_instance from rng calendar, now by default quick_add is use as if set to True, and if value is not False, we use this value as quick_create_instance
bzr revid: jke@openerp.com-20140110170645-ubdxpga4aah8g50c
2014-01-10 18:06:45 +01:00
Launchpad Translations on behalf of openerp c2794d0e85 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062610-ld24q55cbxo6di5q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054746-j34qg10ipyb6kj8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055853-5oqpffj3szw1yrpl
bzr revid: launchpad_translations_on_behalf_of_openerp-20140111062637-m0t50cu2cr5d6yw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20140112054824-hm7ylgrauivbj7h2
bzr revid: launchpad_translations_on_behalf_of_openerp-20140113055913-wo2i3sd1rnblragc
2014-01-13 05:59:13 +00:00
Stephane Wirtel 89f71281a7 [IMP] Backport one feature from website: this feature allows to specify a file
path on the field tag fetching the right file instead of using the base64
encoded file in the field.

<field name="image" type="base64" file="base/static/img/main_partner-image.png" />

bzr revid: stw@openerp.com-20140109154338-0spjbo109pxh75pp
2014-01-09 16:43:38 +01:00
Xavier Morel d80afb469f [FIX] avoid crashing on fonts which reportlab can't load yet does not throw a TTFError on
bzr revid: xmo@openerp.com-20140109103040-2i5prvhoag33ij1g
2014-01-09 11:30:40 +01:00
Stephane Wirtel 8eebb40313 [FIX] On OSX, the system has a lot of Bitmap fonts, and in this case, Reportlab
can not load the 'head' table from the structure of the TTF file. There is no
good way to check if a TTF file is an old style or new style.

bzr revid: stw@openerp.com-20140109095420-uixw7u1b0dbhcp4v
2014-01-09 10:54:20 +01:00
Denis Ledoux 05aab83eb1 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9743 revid:qdp-launchpad@openerp.com-20140108160719-9i8xhrat49cn9l5e
bzr revid: chs@openerp.com-20140107141524-xzz39a2ym66swr0t
bzr revid: chs@openerp.com-20140107172248-zic9mqg0rigy2czb
bzr revid: chs@openerp.com-20140108160418-ph17jgy5hlejj9hr
bzr revid: dle@openerp.com-20140108171400-8r0fwv3wi36w2im0
2014-01-08 18:14:00 +01:00
Christophe Simonis 7f8b6542f0 [FIX] expression: allow exclusion of records with translated fields
lp bug: https://launchpad.net/bugs/1071710 fixed

bzr revid: chs@openerp.com-20140108152722-7f0dpsuv1skxbqub
2014-01-08 16:27:22 +01:00
Xavier Morel 4a3a7130fb [IMP] replace setattr with direct attribute setting
bzr revid: xmo@openerp.com-20140108102118-virpiwarr0t0ojek
2014-01-08 11:21:18 +01:00
Launchpad Translations on behalf of openerp dc7821ab8f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108053808-kp6y8v47dolfbvup
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054028-juvi5k3459lfg0ov
bzr revid: launchpad_translations_on_behalf_of_openerp-20140108054034-xfyjwtdxhq3abo8c
2014-01-08 05:40:34 +00:00
Christophe Simonis ee53f9da60 [FIX] ir.actions.server: remove stupid restriction on model names
bzr revid: chs@openerp.com-20140107172010-3sqo5yqrxz9523hy
2014-01-07 18:20:10 +01:00
Christophe Matthieu 3d618cd6b4 [IMP] ir_qweb: add groups evaluation when a qweb view is rendered
bzr revid: chm@openerp.com-20140107151227-837ecc075be2prp8
2014-01-07 16:12:27 +01:00
Christophe Simonis 9675445dee [FIX] expression: allow exclusion of records with translated fields
Manual forwardport of revid 4369 chs@openerp.com-20140107112227-sc1ssd1dw404vcz2 of 6.1 branch

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

bzr revid: chs@openerp.com-20140107130840-igmm8sy03nrm5d5f
2014-01-07 14:08:40 +01:00
Fabien Meghazi 51c53cb396 [IMP] QWeb: set template information on 'iterator not found' exception
bzr revid: fme@openerp.com-20140107105452-qrthkboh5wearljb
2014-01-07 11:54:52 +01:00
jke-openerp 5a4ecf0134 [Merge] Merge with trunk
bzr revid: jke@openerp.com-20131218130304-y3scbl1ms65vhupf
bzr revid: jke@openerp.com-20131220144934-e0hvmc5du87k2k8n
bzr revid: jke@openerp.com-20140106082149-xzralqftgxnauv51
2014-01-06 09:21:49 +01:00
Launchpad Translations on behalf of openerp b1af63310c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131219061324-aw7yvvnjapbx5x1i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220053354-9ybfurq6yvrliqge
bzr revid: launchpad_translations_on_behalf_of_openerp-20131223054728-1db5iqqokg67bcyr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231052619-5szmeohg88k0m4xt
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101054325-pww3zkiyzxll4qy7
bzr revid: launchpad_translations_on_behalf_of_openerp-20140102054504-671epcsd8458kil8
bzr revid: launchpad_translations_on_behalf_of_openerp-20140103062350-h5v8idg6hlix6rnx
bzr revid: launchpad_translations_on_behalf_of_openerp-20140104061853-bndte11d6k8po640
bzr revid: launchpad_translations_on_behalf_of_openerp-20140105054743-exo0ixnpjkfwfstl
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106050440-fme1x3f2g4s1dxqk
bzr revid: launchpad_translations_on_behalf_of_openerp-20140103062427-4v5wusiplrcj4jjd
bzr revid: launchpad_translations_on_behalf_of_openerp-20140104061934-r5xq4gfoy22w6nll
bzr revid: launchpad_translations_on_behalf_of_openerp-20140105054800-delmrxbtcvm3xxyw
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106050503-xu0r3lopkkfn20ca
2014-01-06 05:05:03 +00:00
Launchpad Translations on behalf of openerp a5f3084ac4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101052634-06unjy412n3xm508
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106043902-000yyr2clg1qc9lb
2014-01-06 04:39:02 +00:00
Thibault Delavallée 7a72d858cb [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140103151324-jk0u8vmrxxomy5vx
2014-01-03 16:13:24 +01:00
Martin Trigaux 0bd968a801 [MERGE] [FIX] ir_translation: backport of rev 5018 from trunk
rename method load to load_module_terms to avoid name clash with load call from base_import (opw 602531)

bzr revid: mat@openerp.com-20131231140358-ldh0snu9zmcs3tpw
2013-12-31 15:03:58 +01:00
Martin Trigaux 216303c2fa [FIX] ir_translation: rename method load to load_module_terms to avoid name clash with load call from base_import
bzr revid: mat@openerp.com-20131230125307-kald7ir36bvq3o7c
2013-12-30 13:53:07 +01:00
Gery Debongnie 68795d8a10 [IMP] changes the rng description of the xml grammar to add a 'stacked' attribute to the tag 'graph'
bzr revid: ged@openerp.com-20131224103207-48jd6gh78xmri8wd
2013-12-24 11:32:07 +01:00
Launchpad Translations on behalf of openerp 0c5d29097c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131219053903-g82qo7aa2trdg2yd
2013-12-19 05:39:03 +00:00
Martin Trigaux 79f716c70f [MERGE] forward port of latest saas-2 until rev 4996 dle@openerp.com-20131218123130-vlejjv7r2klkzoj0
bzr revid: mat@openerp.com-20131218160041-58x5kij4v7earagu
2013-12-18 17:00:41 +01:00
Xavier Morel b741852c3d [IMP] correctly handle writing to a view without a model_data (e.g. test views)
bzr revid: xmo@openerp.com-20131218134932-382cvndk8asr82ip
2013-12-18 14:49:32 +01:00
Denis Ledoux 44006349af [FIX] base: size of partner address labels, according to standard 24 labels per page
bzr revid: dle@openerp.com-20131218123130-vlejjv7r2klkzoj0
2013-12-18 13:31:30 +01:00
Xavier ALT bf324b417c [FIX] base: make explicit, that res.users reified fields are not selectable
bzr revid: xal@openerp.com-20131218111214-543cjhkp6k0steyi
2013-12-18 12:12:14 +01:00
Thibault Delavallée 56f18f56c5 [FIX] ir_ui_view: still usign context without being sure it exists
bzr revid: tde@openerp.com-20131218105511-fuf8ca99nimzbcpc
2013-12-18 11:55:11 +01:00
Xavier ALT 6dc8698319 [FIX] base: remove old deprecated file ``base_module_scan.py``.
This file was wrongly left-over from ancient v6.1 times and not used at all under v7.0.

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

bzr revid: xal@openerp.com-20131217154915-v6iy8us55k8rp7nc
2013-12-17 16:49:15 +01:00
Fabien Meghazi b72b74864a [IMP] QWeb: set template information on template not found exception
bzr revid: fme@openerp.com-20131217135618-0l1emdsz6brviosm
2013-12-17 14:56:18 +01:00
Fabien Meghazi f229af7b57 [IMP] Set ir.model.data noupdate flag to touched views
bzr revid: fme@openerp.com-20131217131439-b0rv83oeqat5rue8
2013-12-17 14:14:39 +01:00
jke-openerp 4e607334f7 [IMP] Add some fields in nrg for calendar
bzr revid: jke@openerp.com-20131217121843-zatimzcp0bye5e7p
2013-12-17 13:18:43 +01:00
Xavier ALT ea1129b8f5 [FIX] base: use correct field for user's last connection.
We need to display user's last login date, not inherited res.partner ``date``
 field. This has been renamed from 'date' to 'login_date' in revision-id:
   tde@openerp.com-20120810081632-a4sg4ve68gpx6bx4

bzr revid: xal@openerp.com-20131217121132-97j3k64c875cu3h5
2013-12-17 13:11:32 +01:00
Xavier ALT e7c1baa4d4 [FIX] base: do not traceback when removing country code
bzr revid: xal@openerp.com-20131217092010-p7mbiu1057e2v96z
2013-12-17 10:20:10 +01:00
Fabien Meghazi a859a53e72 [FIX] ir.model.data#_update() should honor the noupdate flag
In `init` mode, a record can still be filled with multiple record
nodes with the first node being in a data@noupdate="1" and the other
nodes without @noupdate attribute but this won't be the case anymore in
`update` mode

bzr revid: fme@openerp.com-20131216144304-2e8b9xvoks2fvlj9
2013-12-16 15:43:04 +01:00
Xavier Morel f6a5800d59 [ADD] ability to disable fields escaping
bzr revid: xmo@openerp.com-20131216092330-2v50c8uzzsb3qp8q
2013-12-16 10:23:30 +01:00
Launchpad Translations on behalf of openerp 94b4618c13 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131215054553-py8zfwrk3bir6m1l
bzr revid: launchpad_translations_on_behalf_of_openerp-20131212055820-zh0fqpweezvphdc6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131213064308-hil3cycv38im8qds
bzr revid: launchpad_translations_on_behalf_of_openerp-20131215054616-uyc9y42oetvmq1cs
bzr revid: launchpad_translations_on_behalf_of_openerp-20131216053557-w3gf0jlw5wrtzllr
2013-12-16 05:35:57 +00:00
Xavier Morel 0546993327 [FIX] merge from trunk and fix handling of view inheritance
main problem, view inheritance model field would use model from the
root view (after following inherit_id links) rather than the base view
(the requested one) -> with divergent models, it was possible for the
requested view itself to never be returned.

bzr revid: xmo@openerp.com-20131212134422-uxg6h21w1jhth9ow
2013-12-12 14:44:22 +01:00
Xavier Morel 00b012c01b [ADD] tentative tests for application of view inheritance stuff
bzr revid: xmo@openerp.com-20131212120600-timum4yzr84kl0mf
2013-12-12 13:06:00 +01:00
Martin Trigaux 61db0a7755 [MERGE] [FIX] res_users: skip method _get_reified_groups if read returns no result (avoid traceback)
bzr revid: mat@openerp.com-20131211165047-7jq1got6aikjmdry
2013-12-11 17:50:47 +01:00
Xavier Morel ebc6ff5256 [REM] broken tests
weird tests (using broken views, but not just broken in the way the
test expects) were really testing for error on using a field which
does not exist, predicated on full rendering of the view during
validation.

This has been removed from the website branch as it's unfeasible and
nonsensical for model-less views (e.g. qweb), and thus the test blew
up with a completely different error (missing @string) or, once the
test was fixed, wouldn't blow up at all.

bzr revid: xmo@openerp.com-20131211162412-t31bxkpy2yzdnf0q
2013-12-11 17:24:12 +01:00
jke-openerp 196436f73b [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131127175727-76iuqrgmg8fumi5f
bzr revid: jke@openerp.com-20131202142549-t1l5pyse00zqw8wm
bzr revid: jke@openerp.com-20131210164214-ctl2z8dzkzohha13
bzr revid: jke@openerp.com-20131211085211-zhnm8ylpz0cws1lg
bzr revid: jke@openerp.com-20131211131225-v60hox0q6drwajqu
2013-12-11 14:12:25 +01:00
Launchpad Translations on behalf of openerp 767207aa23 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062724-zxcigdht6w71xy7v
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062802-mh61vodnsw0sr8im
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211062808-o9fkpg2cg9cb403z
2013-12-11 06:28:08 +00:00
Launchpad Translations on behalf of openerp 44b7ede640 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053156-p3v0gn1hf6l8c8h7
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211055224-g9i9shv9qqhb93cz
2013-12-11 05:52:24 +00:00
Cecile Tonglet 5de64b65c6 [FIX] Calling read() on a not-existing user id crash instead of returning False
bzr revid: cto@openerp.com-20131210153519-4yx724gffll27fb5
2013-12-10 16:35:19 +01:00
Denis Ledoux 20be322c45 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9684 rev-id: dle@openerp.com-20131209145652-3g9rgnfz1w8k0whw
bzr revid: chs@openerp.com-20131202105848-33gcz1715w370rve
bzr revid: dle@openerp.com-20131204150643-is3y0b9n8enh3yql
bzr revid: chs@openerp.com-20131206152726-pirikn7v8pev90ic
bzr revid: dle@openerp.com-20131206162437-b9niay99mirk44qm
bzr revid: tde@openerp.com-20131209102019-kjeg0rx2au1d5e5v
bzr revid: dle@openerp.com-20131209155721-589zihxx8jmvlpvp
2013-12-09 16:57:21 +01:00
Martin Trigaux efdfcfc90e [FIX] font: family with one l (Familly is a commune in the Calvados department in the Basse-Normandie region in northwestern France.)
bzr revid: mat@openerp.com-20131209155702-negir6agbiugfctz
2013-12-09 16:57:02 +01:00
Martin Trigaux b48b746dd1 [IMP] fix licence
bzr revid: mat@openerp.com-20131209154537-r5hpcveuxmvcdj10
2013-12-09 16:45:37 +01:00
Martin Trigaux 3215f8ea3a [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131209154201-1s0f98h43y5mu9ui
2013-12-09 16:42:01 +01:00
Martin Trigaux b37d3b7989 [FIX] font: trigger signal for clear cache instead on self
bzr revid: mat@openerp.com-20131209153842-l13zfc24at7cfisc
2013-12-09 16:38:42 +01:00
Martin Trigaux aac5c9d6eb [IMP] font: better handeling of multiworker environement
bzr revid: mat@openerp.com-20131209151454-5rylu5alldd3ixmh
2013-12-09 16:14:54 +01:00
Martin Trigaux 5f1f44401f [FIX] font: revert previous (use name and not familly in reportlab), fix reports using spaces
bzr revid: mat@openerp.com-20131209133742-7u1sesoinrmfpwf0
2013-12-09 14:37:42 +01:00
Martin Trigaux 48cce10a7a [FIX] font: correct call to font_scan, add book to displayed mode
bzr revid: mat@openerp.com-20131209132109-c2bluohdj7hkp2px
2013-12-09 14:21:09 +01:00
Martin Trigaux b2313634af [FIX] font: avoid removing fake fonts
bzr revid: mat@openerp.com-20131209130844-b8gvcfgqf5t744ir
2013-12-09 14:08:44 +01:00
Martin Trigaux 75d92a40bd [FIX] font: correctly place font_scan call, use superuser_id, restrict rights for general users, invert name and family
bzr revid: mat@openerp.com-20131209125705-gk2sjiwxqyxc702r
2013-12-09 13:57:05 +01:00
Martin Trigaux a9b98a88a9 [IMP] font: add security rule, lazy loading at first report rendering
bzr revid: mat@openerp.com-20131209110511-l72dgop00bfdeq3v
2013-12-09 12:05:11 +01:00
Launchpad Translations on behalf of openerp 1e994bb667 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131209051959-7j1f1anh77czkpsn
2013-12-09 05:19:59 +00:00
Launchpad Translations on behalf of openerp a092227c6e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063209-2xi8ba5wu6l6ze00
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054536-mg4w4d6ljq8ji1nj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063232-l64v1fhf1qcpxm2l
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054646-zixed7abpuze4qt1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062625-f7inv72rtg2kel8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054801-1ukcpelfukkvwn60
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060120-nm8tkfbftg8c88v1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060753-jnx5ran2accmo0lh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127054000-wtg675pf33f3bkar
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129053028-abszdj4y76smnacb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054555-3u1m1sy1f2og78nn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055227-mm70khzdfnp4qcj9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063237-vza5vb51xmd2ipl6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054653-f4zth8j3iczlzcqz
2013-12-08 05:46:53 +00:00
Denis Ledoux fb90e7d572 [FIX]ir_attachement: not self.pool.get(model) instead of model not in self.pool
bzr revid: dle@openerp.com-20131206173602-no831oxc6m1kf6lu
2013-12-06 18:36:02 +01:00
Denis Ledoux 4669f05406 [FIX] ir_attachement: search, if the model of the ir_attachement has been removed, the search ignore the attachement.
bzr revid: dle@openerp.com-20131206162314-vjpgtag8qhkl1jhk
2013-12-06 17:23:14 +01:00
Thibault Delavallée 1731f6158d [IMP] res_config, res_users: cleaned get_object calls: new behavior, using compat mode
bzr revid: tde@openerp.com-20131206121357-5lijzhyytz9tps1m
2013-12-06 13:13:57 +01:00
Thibault Delavallée 806c6866bd [FIX] ir_qweb: do not perform dict operation on context without being sur it is not None (next one)
bzr revid: tde@openerp.com-20131206102714-7lrhyk156sywvvea
2013-12-06 11:27:14 +01:00
Thibault Delavallée 0926b1717f [FIX] ir_qweb: do not perform dict operation on context without being sur it is not None
bzr revid: tde@openerp.com-20131206102555-rys582neghxi2x21
2013-12-06 11:25:55 +01:00
Thibault Delavallée fea975aaa4 [IMP] ir_model: get_object: re-introduce old behavior controlled by a new argument. This allows to have a method allowing the new behavior without breaking compatibility with all addons that are based on receiving a ValueError.
bzr revid: tde@openerp.com-20131206095853-6waq2v2ajbgv02vp
2013-12-06 10:58:53 +01:00
Fabien Meghazi 72e67607f1 [REM] Removed exception handling in the wrong place. Will move 403 check on website addon
bzr revid: fme@openerp.com-20131205150504-x33i83gxt10w9hkm
2013-12-05 16:05:04 +01:00
Xavier Morel 745ecc9d25 [FIX] qweb: incorrect propagation of t-field options through rendering methods
bzr revid: xmo@openerp.com-20131205111530-nj26muxxep1yey79
2013-12-05 12:15:30 +01:00
Launchpad Translations on behalf of openerp 3a6953c1d0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131205061010-2jn37v8w04xqksgg
2013-12-05 06:10:10 +00:00
Denis Ledoux 0721a21966 [FIX] base: allow all users (including portals) to change their avatar
Force readonly="0" on field image in preferences view, otherwise the readonly can be set by access rights.
Preferences are written with the UID 1, if the fields are in the WRITEABLE FIELDS list of the object res_users.
This is why any users can edit their preferences even if they do not have the rights to write on res.users.
Forcing readonly="0" to make fields editable in the form.

bzr revid: dle@openerp.com-20131204145923-f7jwoah722q188d7
2013-12-04 15:59:23 +01:00
Christophe Simonis 51e05e068b [FIX] ir.http: catch all authentification errors
bzr revid: chs@openerp.com-20131204102430-qxqk8qtze5n5rqe8
2013-12-04 11:24:30 +01:00
Launchpad Translations on behalf of openerp 379dc8bf98 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054445-5fy8zd7lvnn9mjp2
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055138-hq05otjnuktjpa48
bzr revid: launchpad_translations_on_behalf_of_openerp-20131204055601-tbzqqhperzffjbjt
bzr revid: launchpad_translations_on_behalf_of_openerp-20131204055642-0rwynvhgvs0r14b3
2013-12-04 05:56:42 +00:00
Fabien Pinckaers dc35f14d32 [IMP] Removed 1 SQL query for each t-field monetary or float
bzr revid: fp@tinyerp.com-20131203211903-p5uo3shhon8i4umw
2013-12-03 22:19:03 +01:00
Antony Lesuisse 73c943d9b3 [MERGE] trunk
bzr revid: al@openerp.com-20131203192609-dbz5z5dg8x3cuta1
2013-12-03 20:26:09 +01:00
Antony Lesuisse 43979cfd8f [IMP] http improvement
- context manager request object (removes some ugly hacks)
- improve http error handling
- add lazyresponses

bzr revid: al@openerp.com-20131203190639-e8r1qm9wc82t8g4k
2013-12-03 20:06:39 +01:00
Martin Trigaux 30c3f13ab7 [FIX] font: better default and don't trigger onchange if no font selected
bzr revid: mat@openerp.com-20131203154116-mzqfvu02r8kx2xt3
2013-12-03 16:41:16 +01:00
Martin Trigaux eda37d12e6 [FIX] font: add columns for family, path and mode
bzr revid: mat@openerp.com-20131203151753-ycz8pyp1eg382qps
2013-12-03 16:17:53 +01:00
Launchpad Translations on behalf of openerp 3e94f7ab1b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131203054049-9sioco00f1s4dxvt
bzr revid: launchpad_translations_on_behalf_of_openerp-20131203054124-0db72b59pfm46z0f
2013-12-03 05:41:24 +00:00
Christophe Matthieu 1bf1f0de8f [FIX] forgotten fix for fields_view_get in orm.py (moved to ir_ui_view.py): [MERGE] forward port of branch saas-2 up to revid 4987 chs@openerp.com-20131127105828-ng8z4by1tszmj9d2
bzr revid: chm@openerp.com-20131202191411-edf01rvvpngyezok
2013-12-02 20:14:11 +01:00
Christophe Matthieu 8460122209 [MERGE] sync with trunk
bzr revid: chm@openerp.com-20131202150856-fzrfcoa8pmsjutau
2013-12-02 16:08:56 +01:00
Christophe Simonis 56bb1b9869 [MERGE] forward port of branch saas-2 up to revid 4992 chs@openerp.com-20131202105848-33gcz1715w370rve
bzr revid: chs@openerp.com-20131127110757-5kaay2kcxq0ysb59
bzr revid: chs@openerp.com-20131127161639-yur4rdh3wx43kxle
bzr revid: chs@openerp.com-20131127180647-f8uws77gaym5kfvd
bzr revid: chs@openerp.com-20131202110030-gf20dv2uj5fqv7c2
2013-12-02 12:00:30 +01:00
Xavier Morel 103cea2da0 [FIX] change ManyToOne converter to use read on parent record and pass the browse_record's context through
avoids access rights issue, can be used for automagical formatting of address on res.partner

bzr revid: xmo@openerp.com-20131202095638-hoj7sxvax5808irc
2013-12-02 10:56:38 +01:00
Xavier Morel 228938ccba [ADD] formats support to date and datetime converters
bzr revid: xmo@openerp.com-20131202073313-tu79esduu5bvyaai
2013-12-02 08:33:13 +01:00
Denis Ledoux 04cdf223b6 [FIX]res_config: set_default as SUPERUSER_ID. check user group to avoid passthrough access rights security
bzr revid: dle@openerp.com-20131129154806-0gaqdbp6zobdqxy4
2013-11-29 16:48:06 +01:00
Xavier Morel c457c2197a [REF] inline server formats in date & datetime converter methods
bzr revid: xmo@openerp.com-20131129103943-1ba1jbm3xxk1p42t
2013-11-29 11:39:43 +01:00
Fabien Pinckaers e477c1f617 [FIX] temporary fix, should be cleaned by removing editable context
bzr revid: fp@tinyerp.com-20131201115142-mok8vlkua5f4tb5l
2013-12-01 12:51:42 +01:00
Fabien Pinckaers 0c1edb8024 [FIX] reverted an introduced bug
bzr revid: fp@tinyerp.com-20131130205030-1ycdkt3nc5owj66o
2013-11-30 21:50:30 +01:00
Fabien Pinckaers ed5ea188f6 [IMP] Speed improvement: 27 SQL queries -> 13 SQL queries per static pages on CMS
bzr revid: fp@tinyerp.com-20131130172319-gq9udvjhv9m83d7n
2013-11-30 18:23:19 +01:00
Fabien Pinckaers 4a3529afdf [IMP] Performance improvement: improved cache with context, better get_object
bzr revid: fp@tinyerp.com-20131130154723-05r90b2yhwwovpx4
2013-11-30 16:47:23 +01:00
Xavier Morel 71b25c5add [ADD] relative datetime qweb widget
bzr revid: xmo@openerp.com-20131129085256-dwpcy0rd5v6bls9d
2013-11-29 09:52:56 +01:00
Launchpad Translations on behalf of openerp 1fedbc18f5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060718-7io3n16co82qp5pu
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127053913-ypnlpggd4wt58pzx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131128060603-kk12b8iu0uhhtist
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129052938-u0wq863etr3sl1cm
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129053023-zlbrprsiq9e7vs39
2013-11-29 05:30:23 +00:00
Christophe Matthieu e49908b879 [MERGE] trunk-website-demo-partner-bth
bzr revid: chm@openerp.com-20131128172226-mx0e6dt1iv3nrgwg
2013-11-28 18:22:26 +01:00
Xavier Morel ea56dece85 [ADD] duration widget
bzr revid: xmo@openerp.com-20131128153630-pouwmygw6vgyuj1l
2013-11-28 16:36:30 +01:00
Fabien Meghazi 071ef9702b [REV] Previous commit loses the inherit_branding context's key
bzr revid: fme@openerp.com-20131128094809-l77nyyqglzha3tuh
2013-11-28 10:48:09 +01:00
Fabien Pinckaers 2fef12e984 [IMP] cache on read_template, divide by 2 number of SQL queries on page loading
bzr revid: fp@tinyerp.com-20131127230024-cqhvjy9yg57cxunv
2013-11-28 00:00:24 +01:00
Fabien Pinckaers 0dbc41aca0 [IMP] access right when accessing object, not second checks in view rendering
bzr revid: fp@tinyerp.com-20131127223831-7r06xxuimrx21fzw
2013-11-27 23:38:31 +01:00
jke-openerp dae2d40546 [IMP] Add param "event_open_popup" to calendar to allow to specify an action to execte on click on a meeting
bzr revid: jke@openerp.com-20131126135245-faan29zfvwd3q8wo
2013-11-26 14:52:45 +01:00
Fabien Meghazi f15b0120e8 [IMP] better api for ir.http#_authenticate
bzr revid: fme@openerp.com-20131126121024-v5f9i7ssgaqm7dmk
2013-11-26 13:10:24 +01:00
Christophe Simonis 6e574a8e4d [IMP] res.users: avoid reading all fields explictly when computing reified groups
bzr revid: chs@openerp.com-20131126111228-cjnp11nc6l383q5r
2013-11-26 12:12:28 +01:00
Xavier Morel 1235955197 [IMP] exception handling in _dispatch
* ensure users correctly get a 403 forbidden from a failed
  _authenticate

* as far as we can tell, NotFound is one of the few things
  _authenticate does *not* throw. Catch all exceptions anyway.

* replace default _handle_500, _handle_403 and _handle_404 by single
  generic handler since all they did was re-raise the exception anyway

bzr revid: xmo@openerp.com-20131126110519-0yjh01ubrulpzlmn
2013-11-26 12:05:19 +01:00
Christophe Simonis 28581cc734 [MERGE] manual forward port of changes made in http dispatching in saas-2 branch since last web revid 3865 dle@openerp.com-20131023113414-mlwppd4d7vyh1tyj
bzr revid: chs@openerp.com-20131125165804-0d25q1vn5z0y9nv8
2013-11-25 17:58:04 +01:00
Fabien Meghazi 0a3371c3b2 [FIX] dispatch AccessErrors
bzr revid: fme@openerp.com-20131125155629-nmf0uk2agamzrhma
2013-11-25 16:56:29 +01:00
Fabien Meghazi 5f197f25c5 [IMP] raise AccessError for acl errors
bzr revid: fme@openerp.com-20131125154504-v3tfppa7mkjm5ksr
2013-11-25 16:45:04 +01:00
Christophe Simonis ab386c0f5f [MERGE] forward port of branch saas-2 up to revid 4984 chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
bzr revid: chs@openerp.com-20131125154140-cpbk4tcdml2a3b9n
2013-11-25 16:41:40 +01:00
Christophe Simonis 3211a29d9b [MERGE] forward port of branch 7.0 up to revid 5148 mat@openerp.com-20131125125008-wmpssjk5vygdcc0w
bzr revid: chs@openerp.com-20131125151017-lmj53bxg1pfrr4a7
2013-11-25 16:10:17 +01:00
Olivier 426a643c4f [BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
bzr revid: olt@openerp.com-20131125144649-mib0vqic0nppziew
2013-11-25 15:46:49 +01:00
Fabien Meghazi 14d552cd48 [FIX] qweb#render() should honor browse record calling
bzr revid: fme@openerp.com-20131125131811-3blovguwiearewqb
2013-11-25 14:18:11 +01:00
Martin Trigaux 3b5cf5d56c [FIX] translations: fix tests to adapt to new duplication behaviour and remove context hack in copy_data (translations are now fully handled in copy_translation)
bzr revid: mat@openerp.com-20131125115727-o9oejao1ziagqti1
2013-11-25 12:57:27 +01:00
Launchpad Translations on behalf of openerp 3d512cf865 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062544-0n565bu6p07jgu7c
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054736-ndfylcrz06mb9z0i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060000-s033pap6hv11grl3
2013-11-25 06:00:00 +00:00
Launchpad Translations on behalf of openerp bba9e86c41 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123060118-7bayd565wi4mh8nk
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125053223-t2rb928yzma23a29
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125053248-reb9oruqgxx0v61c
2013-11-25 05:32:48 +00:00
Christophe Simonis 043fe6c2d5 [FIX] base: on_change_login only set email for valid emails
bzr revid: chs@openerp.com-20131124164435-977xi3eg7svn5mgz
2013-11-24 17:44:35 +01:00
jke-openerp 9963f892ba [IMP] add options for calendar view
bzr revid: jke@openerp.com-20131123113053-79idzhhx88ps2dw6
2013-11-23 12:30:53 +01:00
Fabien Meghazi 54b15928cf [FIX] ahem, fix previous commit
bzr revid: fme@openerp.com-20131121205959-jvlmcofp5yq5s7ht
2013-11-21 21:59:59 +01:00
Fabien Meghazi 9f43e80662 [IMP] rendering context not mandatory for ir.ui.view#render()
bzr revid: fme@openerp.com-20131121203230-uo485jls4uk15n7x
2013-11-21 21:32:30 +01:00
Fabien Meghazi 8091466de3 [IMP] route lazy request exceptions to ir_http exception handler
bzr revid: fme@openerp.com-20131121192841-r1c05wj9302l2axj
2013-11-21 20:28:41 +01:00
Denis Ledoux 6fd552c3ce [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5139 rev-id: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr
bzr revid: odo@openerp.com-20131120102545-2tlp031yib6viz35
bzr revid: chs@openerp.com-20131120161708-c8sbom592moukwxw
bzr revid: dle@openerp.com-20131121155457-lh7fzouk2upeiu16
2013-11-21 16:54:57 +01:00
Denis Ledoux 58080c6569 [FIX] ir, ir_translation: it was not possible to empty the source of a translation, or this is sometime something that we want
bzr revid: dle@openerp.com-20131121132305-qjlclgz5v9tze1fr
2013-11-21 14:23:05 +01:00
Launchpad Translations on behalf of openerp b1f8f3dfd2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060235-8k2oxuc94x45jjoc
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060308-lb2sgcxbv804pafr
bzr revid: launchpad_translations_on_behalf_of_openerp-20131116062541-ouuae0dl331ekjcb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117054520-eypowk6g8qatvq7n
bzr revid: launchpad_translations_on_behalf_of_openerp-20131120054421-95x86930ezm0p33h
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063904-5igv5f7tgwlaipvv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131122060313-x4c5bx498gyrkhqr
2013-11-22 06:03:13 +00:00
Launchpad Translations on behalf of openerp 271ed43e7b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121054848-007arsnnoa8fs65e
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121063838-blqn6j0yfmrlw5vp
2013-11-21 06:38:38 +00:00