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
Christophe Simonis
23778030cd
[FIX] forbid dropping templates databases
...
bzr revid: chs@openerp.com-20140129103538-qbm054m29y5r4hu4
2014-01-29 11:35:38 +01:00
Gery Debongnie
cffcc5ea18
[FIX] hopefully, properly uses the user's timezone when performing a readgroup (in orm.py)
...
bzr revid: ged@openerp.com-20140129084721-6m4cfg087vhqb51d
2014-01-29 09:47:21 +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
cfaadc0433
[ADD] http#ensure_db()
...
A helper that allows to force a db in the controller context otherwise redirect to database selector
Used for /web, /web/login and auth_* modules
bzr revid: fme@openerp.com-20140128211550-vmhy5nu0qbi33qh5
2014-01-28 22:15:50 +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
Christophe Simonis
a47f7ef8e8
[FIX] do not hardcode demo uid
...
bzr revid: chs@openerp.com-20140128180910-2udedma5dwwtos4c
2014-01-28 19:09:10 +01:00
Xavier Morel
98bb821332
[FIX] fubared ir_filters tests
...
bzr revid: xmo@openerp.com-20140128164849-iv19wiwx2074l18f
2014-01-28 17:48:49 +01:00
jke-openerp
c9fa796513
[FIX] Remove hard code demo user ID
...
bzr revid: jke@openerp.com-20140128155640-9k5kvk711tt9w9o5
2014-01-28 16:56:40 +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
Fabien Meghazi
568ec06c06
[FIX] proper fix
...
bzr revid: fme@openerp.com-20140128141122-x1tj370w7zqi033h
2014-01-28 15:11:22 +01:00
Fabien Meghazi
de3819972a
[FIX] Temporary hackish fix in order to restore login on runbot
...
bzr revid: fme@openerp.com-20140128140025-h70s2exdswppp8dn
2014-01-28 15:00:25 +01:00
Gery Debongnie
2fe3861353
[FIX] uses the user's timezone when performing a readgroup (in orm.py)
...
bzr revid: ged@openerp.com-20140128110022-j08khieyt1wvsr8e
2014-01-28 12:00:22 +01:00
Christophe Simonis
eb091de615
[FIX] yaml import: not all views have a name
...
bzr revid: chs@openerp.com-20140127180230-eybz2dlc7qdjy1yh
2014-01-27 19:02:30 +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
Martin Trigaux
f2b2ee8eae
[FIX] expression: do not look at translation in parse when searching with empty string or false
...
This fixes traceback when applying filter 'is not set' on a translatable field
lp bug: https://launchpad.net/bugs/1208565 fixed
bzr revid: mat@openerp.com-20140127144913-qjh9hrnkfdn18sdb
2014-01-27 15:49:13 +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
Fabien Pinckaers
1c1b17451d
[FIX] adding menu
...
bzr revid: fp@tinyerp.com-20140125151454-g4xsi25g3re2arwo
2014-01-25 16:14:54 +01: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
Thibault Delavallée
d474cacf74
[MERGE] Sync with website-al
...
bzr revid: tde@openerp.com-20140123162135-4zo139exy60lhl33
bzr revid: tde@openerp.com-20140124120918-f732qn72365uro08
bzr revid: tde@openerp.com-20140124144556-b5hjj7ffc3ts3x25
2014-01-24 15:45:56 +01:00
Gery Debongnie
b2f27dabf0
[REF] implifies the read_group method by removing an useless dictionary (orm.py)
...
bzr revid: ged@openerp.com-20140124132834-evx3dikqc94m48ed
2014-01-24 14:28:34 +01: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
09706b5dff
[IMP] adds 'W' in front of the week number when formatting date grouped by weeks (method read_group) (orm.py)
...
bzr revid: ged@openerp.com-20140124100921-w5gq1fwidm01xx5l
2014-01-24 11:09:21 +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
Thibault Delavallée
2bcf4cca79
[FIX] tools: mail: support \[ and \] in tmeplates
...
bzr revid: tde@openerp.com-20140123152842-21b3gsey1mxt4v37
2014-01-23 16:28:42 +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
Thibault Delavallée
69af79ff3d
[FIX] tools: mail: fixed last commit, now simply using replace
...
bzr revid: tde@openerp.com-20140123141435-jstfcaemjplbn7b1
2014-01-23 15:14:35 +01:00
Gery Debongnie
a42900b8ea
[FIX] fixes the read_group by dates tests (makes them use the field:interval syntax instead of using the context (test_orm.py)
...
bzr revid: ged@openerp.com-20140123130603-5kdlb7as7fhmchd8
2014-01-23 14:06:03 +01:00
Thibault Delavallée
5f1ec49ecd
[FIX] tools: mail: when cleaning, unescape mako specific symbols.
...
Indeed those are escaped when contained inside an href or mailto element
of a tag, leading to mako not rendering the element.
bzr revid: tde@openerp.com-20140123125137-4u4i88f1ajybg5f2
2014-01-23 13:51:37 +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
Xavier Morel
5528b9b2d8
[FIX] sprurious error in log during javascript unit tests
...
During some tests, the runner performs sequences of DUPLICATE and DROP
on databases. Each DUPLICATE is followed by some operations then a
DROP.
Problem is, after a DROP the next DUPLICATE RPC query will attempt a
connection to the just-dropped database, openerp.sql_db will log an
OperationalError ("Connection to the database failed" since the db it
tries to connect to was removed) then the HTTP dispatcher will just
switch to "nodb" and continue on its merry way.
Mute the sql_db logger while attempting to fetch the ir.http object.
Also assert that the logger name is a string in mute_logger, as
`mute_logger(openerp.sql_db)` is syntactically valid, but will not do
anything.
bzr revid: xmo@openerp.com-20140123115413-ax5patcomdfp3ue3
2014-01-23 12:54:13 +01:00
Gery Debongnie
99230cd3d1
[FIX] prints some value so i can understand how to debug the failing test in test_orm.py
...
bzr revid: ged@openerp.com-20140123112347-0swvj6xrhp5r5mpq
2014-01-23 12:23:47 +01:00
Gery Debongnie
74fd48e608
[FIX] fixes the read_group by dates tests (makes them use the field:interval syntax instead of using the context (test_orm.py)
...
bzr revid: ged@openerp.com-20140123105638-l4ej76ynf4avcjma
2014-01-23 11:56:38 +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
Raphael Collet
020921a7f3
[IMP] orm: remove commented code
...
bzr revid: rco@openerp.com-20140123094957-knrgx6sy66j4tj39
2014-01-23 10:49:57 +01:00
Raphael Collet
0fb09d9a33
[FIX] fields: small python code fix
...
bzr revid: rco@openerp.com-20140123094646-ri4apn315dm19rl1
2014-01-23 10:46:46 +01:00
Xavier Morel
d50f785b4f
[FIX] view requested by _view_ref with view_ref being undotted
...
Issue introduced in
revid:chm@openerp.com-20130828161130-641xsmbr8xm53xjx: context of a
fields_view_get can provide a *_view_ref name (e.g. tree_view_ref),
whose value is an xid for the view to use (can be used to specify a
view instead of providing a view_id, mostly for embedded views where
there is no way to provide a view_id).
The view_ref being an external id, it must be dotted. Historically,
undotted xids were silently ignored and the system just skipped to
getting the default view for the model (lowest priority view where
inherit_id is null).
In revid:odo@openerp.com-20130821122955-8c9z0mi8cu48rne3 this behavior
was altered to emit a warning when ignoring a malformed view_ref. When
this change was merged into trunk-website-al, the conditional
(view_ref and '.' in view_ref) was split without consideration for the
semantics change: a syntactically invalid view_ref would fall off the
first branch (view_ref) instead of taking the second one (not
view_ref), the code would not fetch the default view for the model and
would instead generate one (through _get_default_%(viewtype)s_view).
However, closer reading reveals the code was already broken in a
specific case of a syntactically valid but unknown xid (view_id
wouldn't get assigned in the first branch, but the code would not take
the second one, resulting yet again in a view generation even if the
database contains a valid view for the model and type).
Fixed by reintroducing explicit second check on view_id, instead of
merely conditional alternative.
bzr revid: xmo@openerp.com-20140123075742-603n2zthqhxee07y
2014-01-23 08:57:42 +01:00
Antony Lesuisse
9248a2db18
[FIX] multiprocess mode, empty the cursor pool before forking
...
bzr revid: al@openerp.com-20140122221525-hify023pk5i8d0jm
2014-01-22 23:15:25 +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
Gery Debongnie
74386a5bb9
[IMP] changes the method read_group so that it now accepts groupbys of the form 'field:groupby_function', like 'create_date:week' for example. Also, removes the previous hack using the context (orm.py)
...
bzr revid: ged@openerp.com-20140122124206-b5p06tpzw2i7tpo2
2014-01-22 13:42:06 +01:00
Fabien Meghazi
fea8520889
[FIX] local_redirect() should forward code to redirect_with_hash()
...
bzr revid: fme@openerp.com-20140122104022-hal3xe6eywffly3u
2014-01-22 11:40:22 +01:00
Fabien Meghazi
5013315f57
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140122102358-te3vpyhblujbxkzt
2014-01-22 11:23:58 +01:00
Fabien Meghazi
f8281bce0b
[FIX] routing_map crossdb bug introduced in Rev: 5151 revid:fme@openerp.com-20140120153614-t8l7tfit686ehfn0
...
bzr revid: fme@openerp.com-20140121195348-mcdreqjo3kod0p7i
2014-01-21 20:53:48 +01:00
Denis Ledoux
4aeba0c12e
[FIX] modules: multi worker signaling initialize variables before loading registry
...
bzr revid: dle@openerp.com-20140121171836-dxs7cvqcd9nxytu1
2014-01-21 18:18:36 +01:00
Fabien Meghazi
b5118e606e
[FIX] redirect_with_hash firefox bug
...
bzr revid: fme@openerp.com-20140121160158-qsy28zty51wg7ip4
2014-01-21 17:01:58 +01:00
Fabien Meghazi
646a7de17a
[MOV] move redirection headers from webclient to server
...
bzr revid: fme@openerp.com-20140121155403-nmnntq664j2d1qjz
2014-01-21 16:54:03 +01:00
Gery Debongnie
17e3c31992
[MERGE] merge trunk into local branch
...
bzr revid: ged@openerp.com-20140113142459-pjoiau7pp4knvvda
bzr revid: ged@openerp.com-20140116144304-d00alltpt7j1gzvh
bzr revid: ged@openerp.com-20140121142924-641cu8trhm4pdf1m
2014-01-21 15:29:24 +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
Xavier Morel
eebda715bb
[IMP] py26 compatibility
...
bzr revid: xmo@openerp.com-20140120135333-7b7qccr4quh2h1um
2014-01-20 14:53:33 +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
Denis Ledoux
f8ef34511c
[IMP] report: performance improvment in reports. Use cached method to get decimal precision
...
bzr revid: dle@openerp.com-20140117171634-ohtydts70hjiqss7
2014-01-17 18:16:34 +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
Martin Trigaux
a75ebb628c
[IMP] search_read: avoid calling read if search only on id column (security rules already triggered with search)
...
bzr revid: mat@openerp.com-20140117120235-zdj7pjd8xnnrnqol
2014-01-17 13:02:35 +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
080cbb88a3
[FIX] works better without SyntaxError
...
bzr revid: chs@openerp.com-20140116202601-ckn20h6yhiufzonq
2014-01-16 21:26:01 +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
Christophe Simonis
c48f11041b
[IMP] chmod data-dir
...
bzr revid: chs@openerp.com-20140116164406-p2gtb2uziwhchp68
2014-01-16 17:44:06 +01:00
Christophe Simonis
db10e1d3a5
[FIX] http: store sessions in data-dir
...
bzr revid: chs@openerp.com-20140116164142-ikcw82lyfopoj46k
2014-01-16 17:41:42 +01:00
Christophe Simonis
2f90f80ba0
[FIX] orm: As float fields are stateful (the .digit attribute depend of the database (decimal_precision)), registry model instances need their owm copy.
...
lp bug: https://launchpad.net/bugs/929483 fixed
bzr revid: chs@openerp.com-20140116153708-061aq2k0n1qsb2n3
2014-01-16 16:37:08 +01:00
Olivier Dony
212b6bc480
[FIX] modules: set initial values for multi-process signaling to None to avoid missing events
...
For fresh databases, the signaling sequences in the
database stays at 1 until the installation of the
first module. If several workers are hit for this
database before the first module is installed,
this database registry will be loaded with a signaling
sequence of 1. Since was the default value, any
signal received by workers in this state was ignored
because they thought the registry was previously
not loaded.
Using None to indicate an sequence value
is more accurate and avoids this error
bzr revid: dle@openerp.com-20140116151157-3zlyrg48xqn2lkd0
2014-01-16 16:11:57 +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
2e43125353
[FIX] LazyResponse exceptions not properly managed in auth="none"
...
bzr revid: fme@openerp.com-20140116135650-c3gri2m1j80wcwca
2014-01-16 14:56:50 +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
Christophe Simonis
a73c02075a
[FIX] ensure data-dir (and subdirs) exists
...
bzr revid: chs@openerp.com-20140116100243-ltp6yunvm1bnvn5q
2014-01-16 11:02:43 +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
Christophe Simonis
5d87753ef2
[ADD] new cli argument: -D/--data-dir
...
bzr revid: chs@openerp.com-20140115171323-eiy2h61qi098n0q3
2014-01-15 18:13:23 +01:00
Christophe Simonis
c8d596e984
[IMP] release.py: add "series" variable
...
bzr revid: chs@openerp.com-20140115171205-458hinraek04wfr2
2014-01-15 18:12:05 +01:00
Christophe Simonis
29cd983258
[FIX] http: correct jsonp 2pass
...
bzr revid: chs@openerp.com-20140115162242-cyqb02wxmlhxqtu6
2014-01-15 17:22:42 +01:00
Thibault Delavallée
c63ffed24d
[IMP] tools: mail: the cleaner, by parsing and serializing the html content,
...
encapsulatse the whole content inside a div. This means that html fields are
not editor-clean after being sanitized, because a div has been inserted as root
element. Removing this element allows to have snippets that can be dragged,
dropped, or to insert new snippets inside edited html content in html fields.
[IMP] tools: tests: mail: updated a test accordingly
bzr revid: tde@openerp.com-20140115142709-e4951b4nc06sfxf0
2014-01-15 15:27:09 +01:00
Thibault Delavallée
2c4600f242
[IMP] [READD] [IMP] tools: mail: have a strict mode for html_sanitizer (not default) with
...
options before website: without frames, with safe attributes only.
We will have to find a way to use the strict mode when parsing incoming
emails, but not when sending or storing openerp content.
Currently the not strict mode is the default one, to avoid side-effects with
the website.
bzr revid: tde@openerp.com-20140115141319-g15zl1kqrp8sgoa3
2014-01-15 15:13:19 +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
Olivier Dony
7a819ca8d0
[FIX] tools.email_split: improve email extraction using stdlib + extra tests
...
The original code was having issues telling apart
names containing emails from the actual email.
This patch is inspired by Etienne Hirt's patch
on bug 1165531 for OpenERP 6.1.
This will also help solve bug 1199386, if we can
centralize all email parsing through this helper.
lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed
bzr revid: odo@openerp.com-20140114154426-usu6intv5139egd3
2014-01-14 16:44:26 +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
Thibault Delavallée
fe0af74eab
[REV] Reverted last commit.
...
bzr revid: tde@openerp.com-20140113165423-8nu3838d4yj3h3j4
2014-01-13 17:54:23 +01:00
Stephane Wirtel
dfe775ba1e
[IMP] orm: Use a list of tuples instead of three collections.
...
bzr revid: stw@openerp.com-20140113153124-8921v1010xeuqeb8
2014-01-13 16:31:24 +01:00
Gery Debongnie
fcf97a559a
[IMP] adds support for week/quarter groupby in readgroup method (orm.py)
...
bzr revid: ged@openerp.com-20140113133602-ytxleg91bu3fyx62
2014-01-13 14:36:02 +01:00
Thibault Delavallée
94357739bc
[IMP] tools: mail: have a strict mode for html_sanitizer (not default) with
...
options before website: without frames, with safe attributes only.
We will have to find a way to use the strict mode when parsing incoming
emails, but not when sending or storing openerp content.
Currently the not strict mode is the default one, to avoid side-effects with
the website.
bzr revid: tde@openerp.com-20140113085701-f2bzu94cq1z3tl10
2014-01-13 09:57:01 +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
Gery Debongnie
bb88a5205f
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140113081142-4wix6shl7zl3d3r9
2014-01-13 09:11:42 +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
Stephane Wirtel
ec35576af3
[IMP] Use INSERT INTO RETURNING for the creation of a record and use some tables
...
instead of a string for the generation of the SQL query.
bzr revid: stw@openerp.com-20140110162731-ma7wk61zof6h9vyr
2014-01-10 17:27:31 +01:00
Christophe Simonis
a6b947d84b
[FIX] migration: correct the verification of module version against running server
...
bzr revid: chs@openerp.com-20140110162705-6vy67xbdje507bla
2014-01-10 17:27:05 +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
Martin Trigaux
3fb75a44c8
[FIX] orm: add missing context (without the lang attribute to avoid setting translated values) in write call.
...
bzr revid: mat@openerp.com-20140109153601-13wo9gj5cz6ho3nm
2014-01-09 16:36:01 +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
Stephane Wirtel
5aef04550f
[REF] Merge a refactoring of the workflow (lp:~openerp-dev/openobject-server/trunk-refactor-workflow-stw)
...
bzr revid: stw@openerp.com-20140109095017-xakyapswp8b5eed5
2014-01-09 10:50:17 +01:00
Stephane Wirtel
552c76c8b2
[REF] Use the contextlib.closing function instead of a couple of try/catch for
...
the release of the database cursor.
bzr revid: stw@openerp.com-20140109093258-vmr1a3gaxruo0psp
2014-01-09 10:32:58 +01:00
Xavier Morel
43bc13de27
[REM] datetime pattern conversion tests
...
locales are a pain in the ass, there doesn't seem to be any locale
which all machines are guaranteed to have (except maybe C), and some
systems reject encoding-less locales while babel rejects encodings.
bzr revid: xmo@openerp.com-20140109081731-uryy2aa2odc7ud2g
2014-01-09 09:17:31 +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
Xavier Morel
23b8f160d3
[IMP] attempt (again) to fix testing of datetime pattern conversions tests
...
In order to ensure that the conversion is at least sensible, we test
the output of strftime and babel on the same pattern (after conversion
from POSIX to LDML for Babel). This requires that both use the same
locale.
Previously, the default locale was being used(-ish), but it turns out
when the locale is unset (getdefaultlocale() returns (None, None)
``strftime`` still manages to use some sort of default locale (C?),
whereas Babel will yield the locale None. It turns out the runbot
executes the server with no locale-related envvar set, and thus hits
this very issue.
Assume there are no concurrent tests being run and use setlocale to
try and ensure strftime and babel see the same locale.
Also, remove tests on %x and %X, turns out libc and babel generally
have very different ideas about what constitutes a "national
representation" of a date or time, so the patterns don't match in the
first place. And I found no way to expand %x/%X into its sub-patterns.
bzr revid: xmo@openerp.com-20140108162817-n5gd2oryaszf099k
2014-01-08 17:28:17 +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
Martin Trigaux
13063d5713
[IMP] osv: display full traceback in terminal (not client side) when a check fails instead of minimal error
...
bzr revid: mat@openerp.com-20140108140554-oey9bje52ndqe0e3
2014-01-08 15:05:54 +01:00
Xavier Morel
6aa79d8cb3
[IMP] attempt to improve yaml test message in order to make its errors somewhat less cryptic
...
and make it easier to understand why it's whining.
bzr revid: xmo@openerp.com-20140108133722-9ac9l3w7wij0pl1i
2014-01-08 14:37: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
Gery Debongnie
c2a0f93b9e
[IMP] changes the readgroup method to allow better control in the groupby field when it is a date/datetime (for example, it is now possible to group by week/quarter) (orm.py)
...
bzr revid: ged@openerp.com-20140107085800-hwyt41j3hwj1h1n8
2014-01-07 09:58:00 +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
Guewen Baconnier
780e1548c0
[CHG] set lang to False instead of en_US (already being the default language), reducing the places where this default value is set
...
bzr revid: guewen.baconnier@camptocamp.com-20131228203801-3z6g1bb0ggfio5x0
2013-12-28 21:38:01 +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
jke-openerp
b7a001866d
[IMP] Move threading.currentThread().testing from load_test to load_data. The purpose is to dont send mail when we are installing the demo data
...
bzr revid: jke@openerp.com-20131218123858-09hitdpxxqa5uh3j
2013-12-18 13:38:58 +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
Fabien Meghazi
7ddfe4c5c6
[FIX] file uploads broken by MultiDict
...
bzr revid: fme@openerp.com-20131217161725-hx0m85adlgok9uxt
2013-12-17 17:17:25 +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
Xavier ALT
4986d636b4
[FIX] translation: force clearing of cached translated term after a successfull `trans_load_data`
...
When re-loading a translation (with 'Overwrite Existing Terms') we need to
empty the translation cache to ensure overwritten terms get their new values.
bzr revid: xal@openerp.com-20131217145738-9oy2fjhbc46yzonq
2013-12-17 15:57:38 +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
fa08b82d91
[IMP] Use werkzeug's ImmutableMultiDict as parameter storage while keeping backward compatibility
...
bzr revid: fme@openerp.com-20131216162148-utfqjy9s6ji0s42n
2013-12-16 17:21:48 +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
Fabien Pinckaers
f9e986ecea
[IMP] allow frames in blogs (video, ...
...
bzr revid: fp@tinyerp.com-20131214211309-i2kk3cb60hnp1urz
2013-12-14 22:13:09 +01:00
Fabien Pinckaers
65a5ce8a92
[IMP] HMTL5 main element
...
bzr revid: fp@tinyerp.com-20131213214157-8ow63hpaii6hdvxl
2013-12-13 22:41:57 +01:00
Christophe Simonis
9a456ac078
[FIX] ir.module.module: install_from_urls is restricted to administrators and only accept urls from apps server
...
[FIX] ir.module.module: download() method is now a no-op. This method was in fact already a no-op as the "url" field is never set explicitly in the code.
lp bug: https://launchpad.net/bugs/1260747 fixed
bzr revid: chs@openerp.com-20131213155212-9m1pnbpz97upyz3i
2013-12-13 16:52:12 +01:00
Xavier Morel
3b56c80ced
[FIX] attempt to fix issues of Locale.parse(None) returning None
...
use Locale.default() instead of manually parsing the result of locale.getdefaultlocale()
bzr revid: xmo@openerp.com-20131213104030-0tejn7i13yex975v
2013-12-13 11:40:30 +01: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
385a54cb83
[MERGE] [FIX] fields: avoid traceback when rendering reference field if link is broken (name_get returns no result)
...
bzr revid: mat@openerp.com-20131211165521-dxcjq7e35q8i0xs9
2013-12-11 17:55:21 +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
Thibault Delavallée
1a16ecf8c2
[FIX] http: correctly handle the rollback when an exception is raised. Indeed dispathc serializes the exception, leading to the error being catched before we check and rollback the transaction. This commit fixes this.
...
bzr revid: tde@openerp.com-20131211112304-m2591t7endfetptc
2013-12-11 12:23:04 +01:00
Cecile Tonglet
a48c8119ca
[FIX] name_search() where _rec_name is a reference field and links are broken
...
bzr revid: cto@openerp.com-20131211103842-i1n9t8mg9kuw77v3
2013-12-11 11:38:42 +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
Xavier ALT
9a4c62861f
[FIX] orm: early return within ``_apply_ir_rules`` for superuser.
...
Save a few time by not not trying to apply ir.rule for superuser, that will
anyway be skipped within ir.rule's ``_compute_domain`` method.
bzr revid: xal@openerp.com-20131210140330-oui4oy8pez12xkxv
2013-12-10 15:03:30 +01:00
Xavier ALT
f5458a954d
[FIX] orm: cleaner batch number of records for auto_init() stored fields.function update
...
bzr revid: xal@openerp.com-20131210122312-f3f4h0z4lpiagsk3
2013-12-10 13:23:12 +01:00
Fabien Pinckaers
630e9ad64c
[FIX] Don't remove data-... attributes like data-snippet-id
...
bzr revid: fp@tinyerp.com-20131209185406-newaf16v532l146p
2013-12-09 19:54:06 +01:00
Cecile Tonglet
86776035ba
[FIX] Model.create: trigger stored field recalculation for implicit parent_id fields during create
...
The create() method implicitly creates parent records on objects of the _inherits.
Therefore, in order to make the trigger on the linked field works, we should
include all the _inherits values (fields that make the link to the parent
record) because they are created implicitly.
The write() method does not need this change, as any update of the parent
fields has to be explicit.
bzr revid: odo@openerp.com-20131209184718-wczdefzo9evc0cgc
2013-12-09 19:47:18 +01:00
Martin Trigaux
f3e7afaaca
[MERGE] [FIX] res_font: make it works in multiworker environment
...
res_font model gains family, path and mode field
Basic fonts embedded in pdf (Helvetica, Times and Courier) are data
Fix reports using font names to be valid (eg: DejaVu Sans Bold -> DejaVuSans-Bold)
default_get of res_company does not scan the filesystem anymore
family field is new name_get font for res_font (more user friendly)
Domain on displayed font to only 'normal ones' (not bold or italic)
Handle fonts in 'book' mode as normal in setTTFontMapping
Relax constraint on res_font to unique family and name ('name' was actually family before)
font_scan is called on 'reload fonts' action button and for each report rendering
font_scan is lazy when loaded from report and scanning the filesystem only if no font recorded in filesystem
'/dev/null' in font path is used to add fonts in the list but not loaded by reportlab
Scanning the filesystem triggers clear_caches
clear_cache resets the list of found fonts to empty list to make font_scan call to reload the full list (when redering a report on any worker, will always get the updated font list after a scan)
Add access rights for fonts (read everybody, create admin, call font_scan as superuser in report rendering)
Remove font hack with BaseCustomTTFonts, rely fully on the system fonts
Use glob instead of listdir (needed for path like '/usr/share/fonts/TTF/*')
Make warning message from reportlab more self-explaining.
Also make the runbot green (which is nice)
bzr revid: mat@openerp.com-20131209171338-o796pldia9da3kt2
2013-12-09 18:13:38 +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
Cecile Tonglet
3b328aaab4
[FIX] Trigger stored field recalculation for inherited records
...
The create() method implicitly creates record on objects of the _inherits.
Therefore, in order to make the trigger on linked field works, we should
include all the _inherits values (field that makes the link to the rel
record) because they are created implicitly.
bzr revid: cto@openerp.com-20131209154857-788f94w0kh6ef5pp
2013-12-09 16:48:57 +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
Cecile Tonglet
2e197cbb98
[IMP] Batch for the computation of function's stored values is now customizable
...
bzr revid: cto@openerp.com-20131209141111-tbg9x1h8l6neu0ml
2013-12-09 15:11:11 +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
87dfe75013
[IMP] font: move lazy loading to report_rml instead of report_sxw
...
bzr revid: mat@openerp.com-20131209113207-qwipb3urh8gbb04s
2013-12-09 12:32:07 +01:00
Martin Trigaux
51bd2de107
[IMP] font: reload font list only when empty
...
bzr revid: mat@openerp.com-20131209111811-2oisaal26bku7mpt
2013-12-09 12:18:11 +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
Martin Trigaux
d2ca43402e
[FIX] orm: inverting the condition seems to work (don't ask why)
...
bzr revid: mat@openerp.com-20131206142220-nfqiyeic9fdkejxy
2013-12-06 15:22:20 +01:00
Martin Trigaux
0be3333f96
[FIX] orm: ignore existing link for operation (4, x) in one2many fields
...
bzr revid: mat@openerp.com-20131206125403-r6uemlh7jagw01gh
2013-12-06 13:54:03 +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
Cecile Tonglet
cdff5c1366
[IMP] Performance: by-pass call to _apply_ir_rules for user admin
...
bzr revid: cto@openerp.com-20131205121118-0f9087y2huo7y44l
2013-12-05 13:11:18 +01:00
Martin Trigaux
9652fb0013
[IMP] orm: force checking ir.rules on read when accessing only to _classic_write fields (o2m, m2m, function)
...
More consistent behaviour. Was not able to access unauthorized data (retrieving data on x2m field would trigger security rules) but make sure it raises an exception instead of silently retrieve no data.
Move construct domain inside if clause as no needed before
bzr revid: mat@openerp.com-20131205113254-j3j4bb0p6ed23oht
2013-12-05 12:32:54 +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
Martin Trigaux
0216a53a0f
[FIX] convert: better error message when failed to load csv file (module name already in path, no need to append)
...
bzr revid: mat@openerp.com-20131204155244-sy223fbt0tmpeqw1
2013-12-04 16:52:44 +01: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
Fabien Meghazi
cc49b88487
[ADD] status_code to LazyResponse constructor
...
bzr revid: fme@openerp.com-20131204145613-721x3ij2ylpykzgw
2013-12-04 15:56:13 +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
Antony Lesuisse
5818b0b2d1
[MERGE] trunk
...
bzr revid: al@openerp.com-20131203220019-674d9hheqza1v8yb
2013-12-03 23:00:19 +01:00
Antony Lesuisse
447255e021
[FIX] http response handling inside request context
...
bzr revid: al@openerp.com-20131203215640-ev45het902u6afls
2013-12-03 22:56:40 +01: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
e012bbb2d4
[FIX] rml2pdf: use glob instead of listdir to match on '/usr/share/fonts/TTF/*/*.ttf'
...
bzr revid: mat@openerp.com-20131203161516-c118p7bmztuyrwlr
2013-12-03 17:15:16 +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
Cecile Tonglet
767aaeb8cc
[FIX] Wrong error message when data cannot be loaded at module loading
...
bzr revid: cto@openerp.com-20131203092433-uu1brp5csqvvd8yh
2013-12-03 10:24:33 +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
Fabien Pinckaers
3e26abe6ee
[FIX] fix to support groups on tempaltes
...
bzr revid: fp@tinyerp.com-20131202085952-htkxqv3l3zdtecnu
2013-12-02 09:59:52 +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
51a32f45a0
[IMP] Speed improvement
...
bzr revid: fp@tinyerp.com-20131130171849-i1cao342bik6wd89
2013-11-30 18:18:49 +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