Commit Graph
74845 Commits
Author SHA1 Message Date
Xavier Morel b50e90607f [ADD] context all the things!
bzr revid: xmo@openerp.com-20131021083120-6v6xy0bm4w686d2m
2013-10-21 10:31:20 +02:00
Xavier Morel dcc6259c7c [REF] small refactoring of rendering tests
bzr revid: xmo@openerp.com-20131021082223-5b0pv39b2ucdkpjf
2013-10-21 10:22:23 +02:00
Xavier Morel 5a257c5318 [FIX] recursive qweb render calls to pass (void) cr and uid
both are already in the qwebcontext passed as last argument

bzr revid: xmo@openerp.com-20131018144838-xvtg0f7uoxf360zr
2013-10-18 16:48:38 +02:00
Xavier Morel 55c38976c0 [ADD] cr, uid, context to qweb.render & qweb rendering context
bzr revid: xmo@openerp.com-20131018144546-p693x1iur5gm98ez
2013-10-18 16:45:46 +02:00
Xavier Morel b6c7adced6 [FIX] import/reference warning
bzr revid: xmo@openerp.com-20131018143659-e9tapiu7c5tf5t2i
2013-10-18 16:36:59 +02:00
Xavier Morel 8d6302f260 [IMP] use existing tools for the job
bzr revid: xmo@openerp.com-20131018141510-1x1w5ba5fqfzebfk
2013-10-18 16:15:10 +02:00
Christophe Matthieu aeb0125c84 [IMP] ir_qweb: better exception with message, node, template
bzr revid: chm@openerp.com-20131018113927-vnsk2mj1g8gsl5hs
2013-10-18 13:39:27 +02:00
Christophe Matthieu 4c1076420c [IMP] ir_qweb: add a class QWebException and raise a better exception message
bzr revid: chm@openerp.com-20131018095913-7ut45k9r9c1qp2wf
2013-10-18 11:59:13 +02:00
Xavier Morel 0ed91c4b29 [FIX] move loaded templates storage to context
Didn't think of the _t attribute storing loaded templates when qweb
was moved from a Python object instantiated every rendering to an
openerp never reinstantiated. This unexpectedly moved _t from the
status of a per-render cache (to avoid reloading sub-templates or
recursive templates a billion times) into a permanent cache with no
invalidation.

Move _t to QWebContext.templates, which should be per-render, for now.

bzr revid: xmo@openerp.com-20131015152858-u89wx46e0ngh58of
2013-10-15 17:28:58 +02:00
Xavier Morel 41327fda79 [MERGE] from trunk after fonts have been added
bzr revid: xmo@openerp.com-20131015114534-bmuu05j125s9mbo9
2013-10-15 13:45:34 +02:00
Antony Lesuisse c195532185 [FIX] debian deps, recommend antiword and python-gevent
bzr revid: al@openerp.com-20131015015800-68pcdv8fg573gi44
2013-10-15 03:58:00 +02:00
Antony Lesuisse ff9e439733 [FIX] fcntl not needed on windows
bzr revid: al@openerp.com-20131015013700-eo0y09ft0p3w0fwe
2013-10-15 03:37:00 +02:00
Martin Trigaux 74cbd7978f [IMP] base_setup: improve custom font selection (requires server revision 4971)
bzr revid: mat@openerp.com-20131014151928-hz364mginrmbck7n
2013-10-14 17:19:28 +02:00
Martin Trigaux 1d59e6f784 [IMP] fonts: improvement of custom font intergration in rml reports
creation of model res.font
preload font list with basic pdf fonts for performances improvements
add 'reload fonts' on view to scan the filesystem
font selection is a simple on2many

bzr revid: mat@openerp.com-20131014151906-racz1lm0arw6ahfk
2013-10-14 17:19:06 +02:00
Martin Trigaux 554093ae86 [IMP] base_setup: better view for fonts
bzr revid: mat@openerp.com-20131014150724-820j9wcduapbzrpz
2013-10-14 17:07:24 +02:00
Martin Trigaux b9c3d93416 [IMP] font: handle better the difference of fonts
bzr revid: mat@openerp.com-20131014150507-4ueuyyneo6h2f6ju
2013-10-14 17:05:07 +02:00
Fabien Meghazi 392776523b [ADD] QWeb: t-keep-query
bzr revid: fme@openerp.com-20131014150442-7gn82i8bb8p6tfi7
2013-10-14 17:04:42 +02:00
Martin Trigaux 3bc24a9f3b [FIX] font: correct action for reloading
bzr revid: mat@openerp.com-20131014145339-p1uz9iwfyf3uhyhr
2013-10-14 16:53:39 +02:00
Martin Trigaux 53e8625cea [FIX] font: cleaning and better default data
bzr revid: mat@openerp.com-20131014123815-6tnegdiv4cnaimtf
2013-10-14 14:38:15 +02:00
Xavier Morel 625f4e253f [IMP] correctly handle empty m2o field serialization
bzr revid: xmo@openerp.com-20131014105621-mwiucen7glajccea
2013-10-14 12:56:21 +02:00
Martin Trigaux 59efdc209a [FIX] base_setup: correctly handle new font value
bzr revid: mat@openerp.com-20131014103308-jynnbs2cy0nsehhn
2013-10-14 12:33:08 +02:00
Martin Trigaux 3798b1ed96 [IMP] better labels
bzr revid: mat@openerp.com-20131014101523-bwb4lda2rxbqpb8a
2013-10-14 12:15:23 +02:00
Martin Trigaux b94140f6c9 [IMP] better labels
bzr revid: mat@openerp.com-20131014101503-lfge6qnfioepu22x
2013-10-14 12:15:03 +02:00
Martin Trigaux 4328f8253a [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131014101423-bvb7sr45rt7890aa
2013-10-14 12:14:23 +02:00
Fabien Meghazi 9cf7418b18 [FIX] Temporary fix for xmlid
bzr revid: fme@openerp.com-20131014100753-3pk226p4gsa6zrec
2013-10-14 12:07:53 +02:00
Xavier Morel f54ee57a3d [MERGE] new field conversions
bzr revid: xmo@openerp.com-20131014100015-t1kwazvq20lxx3xl
2013-10-14 12:00:15 +02:00
Martin Trigaux b3a8a4493d [IMP] fonts: adapt fonts to many2one instead of list
bzr revid: mat@openerp.com-20131014094122-6ndc5scni2xyzksy
2013-10-14 11:41:22 +02:00
Martin Trigaux 81e03814e8 [IMP] base_setup: adapt fonts to many2one instead of list
bzr revid: mat@openerp.com-20131014094025-05989gbpdghu2rwt
2013-10-14 11:40:25 +02:00
Xavier Morel a720eec77c [FIX] monetary field rounding, QWebContext in tests
bzr revid: xmo@openerp.com-20131014093657-wl00zhbgk5b1zs0o
2013-10-14 11:36:57 +02:00
Xavier Morel 64ea89e3be [MERGE] from parent
bzr revid: xmo@openerp.com-20131014085215-qoqytud1mkpdqbz0
2013-10-14 10:52:15 +02:00
Antony Lesuisse 8d7caa9817 [MERGE] trunk
bzr revid: al@openerp.com-20131013022304-ebndbid3j4x0ouyg
2013-10-13 04:23:04 +02:00
Antony Lesuisse d2eb959710 [FIX] ensure the use the registry signaling for registries loaded with -d
bzr revid: al@openerp.com-20131013021322-5ej7ovpcrf7ilnn5
2013-10-13 04:13:22 +02:00
Antony Lesuisse dbd1b3e7dd restore qwebcontext, comment out sandboxed eval till a proper (fast)
implementation is ready

bzr revid: al@openerp.com-20131013000711-dwqgj803nfdjcz3d
2013-10-13 02:07:11 +02:00
Xavier Morel 29d10fd8ea [REM] conversion in monetary widget, turns out to be a misunderstood need
bzr revid: xmo@openerp.com-20131011142512-3j5vuik1o4k6q6jj
2013-10-11 16:25:12 +02:00
niv-openerp fb230b98e7 [IMP] added timeout handling in jsonprpc2 and added more javascript tests about jsonrpc connections and sessions handling
bzr revid: nicolas.vanhoren@openerp.com-20131011141156-po7fh1sc7gp64k9x
2013-10-11 16:11:56 +02:00
niv-openerp 6475f3225d Removed jsonprpc2 test because it fails in phantomjs
bzr revid: nicolas.vanhoren@openerp.com-20131011133208-gjz0iprk63447qub
2013-10-11 15:32:08 +02:00
niv-openerp 083d3fc91e Added tests about timeouts and implemented it in jsonprpc2
bzr revid: nicolas.vanhoren@openerp.com-20131011133054-0dx3wxqcqbdocnlf
2013-10-11 15:30:54 +02:00
Martin Trigaux 9c14eb963d [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131011124320-3fz6d7evzuh7is51
2013-10-11 14:43:20 +02:00
Christophe Lilo Matthieu 8a54670c57 [FIX] qweb safe_eval: added safe attributes for evaluation. Currently _name is considered as safe; used in publish or edit management (object._name)
bzr revid: tde@openerp.com-20131011123517-0xd0m7wfvq39s0y0
2013-10-11 14:35:17 +02:00
niv-openerp e059b1c5c0 Added test with openerp sessions
bzr revid: nicolas.vanhoren@openerp.com-20131011123416-wsfr0g1pusa0wftp
2013-10-11 14:34:16 +02:00
Xavier Morel df0fc4afc2 [IMP] test conversions correctly applied, remove unnecessary fields
bzr revid: xmo@openerp.com-20131011114703-rgg9nsyrm6k92uak
2013-10-11 13:47:03 +02:00
Xavier Morel 20f89a8d85 [IMP] change monetary t-field options, make them more sensible and flexible
bzr revid: xmo@openerp.com-20131011111620-sitjaxoykgjp2175
2013-10-11 13:16:20 +02:00
Xavier Morel 9cbc632fa1 [IMP] smartenify res_currency code
bzr revid: xmo@openerp.com-20131011105120-1d5fg06j6zsuxty2
2013-10-11 12:51:20 +02:00
niv-openerp cfcafee87c [IMP] Added some documentation in the framwork.
bzr revid: nicolas.vanhoren@openerp.com-20131011095424-midppkv5czebt1f2
2013-10-11 11:54:24 +02:00
Thibault Delavallée b0d16d0fcc [MERGE] Sync with trunk until revision 4967
bzr revid: tde@openerp.com-20131011091605-79yhy54spnenf21u
2013-10-11 11:16:05 +02:00
Xavier Morel dd066f3c29 [REM] slugify dependency by request of fp
bzr revid: xmo@openerp.com-20131011074858-13sjso9le07ppiyj
2013-10-11 09:48:58 +02:00
Launchpad Translations on behalf of openerp 5050231a9c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131010044138-9giz2wpfhyq0u3h1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011044929-d9u1r6i67x2ru3jp
2013-10-11 04:49:29 +00:00
Launchpad Translations on behalf of openerp 8c3f19d913 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011044915-qxutw9o1lhyymj8l
2013-10-11 04:49:15 +00:00
Antony Lesuisse a3fffe3b15 [REM] chorus on multiprocessing cron, it doesnt really helps
bzr revid: al@openerp.com-20131010231628-b81uhmhg14aj85tq
2013-10-11 01:16:28 +02:00
Christophe Matthieu e455e70b62 [IMP] qweb: add xmlid in value for xml render
bzr revid: chm@openerp.com-20131010113407-8rwtqhgi437n33r2
2013-10-10 13:34:07 +02:00